The IB Gateway provides a low-resource alternative to TWS for connecting to the IB trading system via the API.
The gateway uses approximately 40% fewer system resources than TWS. However, the gateway is GUI-less, which means that you cannot view the API activity as you can when running TWS.