Open-source coding agent for the terminal, desktop and IDE with 200+ model providers
OpenCode is an open-source coding agent that runs in a terminal TUI, a desktop app and editor integrations, and connects to more than 200 model providers as well as local models through Ollama, LM Studio or vLLM. The vendor sells an optional hosted gateway, but the agent works with your own keys or local weights, which is how it stays free.
Compared with similar tools: Free coding agents
MIT-licensed agent you run with your own keys or local models; the hosted free models exist but no daily cap is published, so the reliable free path is your own compute or API key.
Last verified: 2026-11-18
Sources: https://opencode.ai/ · https://opencode.ai/docs/models · https://github.com/anomalyco/opencode
GratisAI Index lists only tools with a genuinely free way to use them.