OpenCode supports multiple providers, so you can match the model to the task. Claude Sonnet 4.6 is the quality default with strong LSP-assisted edits; for value, DeepSeek V4 Pro, GLM 5.2, Kimi K2.7 Code, and Qwen3.7 Max deliver near-frontier coding at open-weight prices.
The quality default — pairs well with OpenCode's LSP intelligence for accurate edits.
The value champion — near-frontier quality at a fraction of the cost, open weights included.
A capable open-weight flagship with a 1M context for harder sessions.
Coding-tuned with great tool use — a strong cheap default for OpenCode.
Frontier-class quality with a 1M context at a friendlier price.
A well-priced GPT option for those who prefer the OpenAI family.
The model picks the moves; the agent runs the loop, the tools, and the guardrails. Once you've chosen a model, see which agent gets the most out of it.