Claude Sonnet 5.5 is the best model for OpenCode on quality per dollar: it scores 61.8% on Terminal-Bench 4.0 and costs about $5.84 per 100 OpenCode requests on our measured traffic. The most-used model on OpenCode's public usage board is DeepSeek V4.1 Flash, which costs about $0.73 per 100 requests at peak rates and suits high-volume work, though DeepSeek reports 42.3% on Terminal-Bench 4.0 for its October 17 update, up from 31.2%. Claude Opus 5.5 (64.9%) is the step up for the hardest sessions.
Sources: OpenCode models docs · OpenCode usage board · Terminal-Bench 4.0 leaderboard · Anthropic on Haiku 5.5 · DeepSeek V4.1 Flash release · Cost per request methodology
Run any of these models in your agent
Or let the router send each step to the cheapest model that can do it, on providers we vet for price, uptime and speed. Plans from $19 a month.
Best overall. 61.8% on Terminal-Bench 4.0 and 95.8 on Scale's SWE-Bench Pro V2, with no long-prompt surcharge, which matters in OpenCode, where more than half of the requests we measured sent over 100K input tokens.
Best for long agent runs. #1 on Terminal-Bench 4.0 at 64.9%, for hard refactors and long autonomous sessions. Every rate is double Sonnet 5.5's.
Best value. Anthropic reports 39.2% on Terminal-Bench 4.0 at $0.10/$0.50 per million tokens. OpenCode sessions grow past 100K tokens often, where Haiku's price steps up five times, so it fits short tasks best.
Budget pick. The most-used model on OpenCode's usage board in the week to October 13, 2026, with open weights under the MIT license. Half price outside DeepSeek's peak hours.
OpenAI pick. 58.2% on Terminal-Bench 4.0 at the same $2/$10 list price as Sonnet 5.5; prompts over 272K tokens bill at $4/$15.
Open-weight pick. The top open-weight model on Terminal-Bench 4.0 (41.8%) and 95.6 on Scale's SWE-Bench Pro V2, with a 1M-token context.
A typical request sends 114,859 input tokens, 87% of them read from cache, and a median session runs 16 requests. Measured on OpenCode requests through our gateway (64,668 requests from 68 users), Sep 13 to Oct 12, 2026, priced at each vendor's list rates.
| Model | 100 requests | Median session | Month of regular use |
|---|---|---|---|
| Claude Sonnet 5.5 | $5.84 | $0.73 | $79.06 |
| Claude Opus 5.5 | $11.69 | $1.47 | $158 |
| Claude Haiku 5.5 | $1.49 | $0.10 | $17.91 |
| DeepSeek V4.1 Flash | $0.73 | $0.089 | $9.58 |
| GPT-6.1 Sol | $7.58 | $0.74 | $91.20 |
| GLM 5.3 | $6.28 | $0.71 | $97.00 |
Month of regular use = the median user active on 5 or more days (1,622 requests in 30 days). Methodology · All models ranked by cost per request
The highest-rated model whose list-price cost for a month of regular use (1,622 requests) stays under each budget. Heavier months cost proportionally more.
| Monthly budget | Best model that fits | Est. month |
|---|---|---|
| Under $19 | Claude Haiku 5.5 | $17.91 |
| Under $49 | Claude Haiku 5.5 | $17.91 |
| Under $99 | Claude Sonnet 5.5 | $79.06 |
"Highest-rated" uses our editorial quality and agentic scores; candidates are current models with a checked vendor price.
The agent matters as much as the model. Compare AI agents →
Every model on this page runs on Standard Compute