AI coding agents
OpenCode
Open-source coding agent that runs in the terminal. It connects to model providers through a /connect command or a config file, and supports local runtimes such as Ollama, LM Studio and vLLM.
- Pricing model
- Free tier and paid plans
- Free tier
- Yes
- Self-hostable
- Yes
- Open source
- Yes (MIT)
OpenCode pricing
See OpenCode's pricing → (opens in a new tab)OpenCode works with 12 of the LLM providers we track
Each is documented in OpenCode's own docs, shown with its lowest current rate from the prices we track, per 1M input tokens. OpenCode may support providers we don't track; its documentation (opens in a new tab) has the full list.