# OpenCode

> Open-source coding agent for the terminal with 75+ providers including local ones.

Canonical: https://thelocalbench.com/tools/opencode · Data as of 2026-10-12 · The Local Bench (thelocalbench.com), data as of 2026-10-12, CC BY 4.0

Flags: [verified] checked against primary source · [sourced] cited · [estimate] formula · [sample] placeholder

- Category: Coding agents / Terminal agent
- Website: https://opencode.ai
- Repository: https://github.com/anomalyco/opencode
- Open source: yes, MIT [verified] https://github.com/anomalyco/opencode/blob/HEAD/LICENSE
- Pricing: freemium, starting $0, Pay as you go (Zen, $20 top-up) [sourced] https://opencode.ai/zen
- Platforms: macOS, Windows, Linux [sourced] https://github.com/anomalyco/opencode#readme
- Added 2026-10-13, last verified 2026-10-13
- Sponsored: no

## Works with local models

| Integration | Status | Flag | Source |
|---|---|---|---|
| Ollama | yes | [verified] | https://opencode.ai/docs/providers/ |
| llama.cpp | yes | [verified] | https://opencode.ai/docs/providers/ |
| LM Studio | yes | [verified] | https://opencode.ai/docs/providers/ |
| OpenAI-compatible | not yet confirmed | [not_measured] |  |
| MCP | yes | [verified] | https://opencode.ai/docs/mcp-servers/ |

JSON: https://thelocalbench.com/api/v1/tools/opencode.json

Logo: trademark of its owner, shown to identify the tool (source: apple-touch-icon, https://opencode.ai/apple-touch-icon-v3.png).
