jishie

Claude Sonnet 4

opencode/claude-sonnet-4 · family claude-sonnet · in: text, image, pdf → out: text · price provider-declared (via models.dev). Capabilities: tools reasoning text image pdf.

$6.00
Blended $/1M (3:1)
$3
Input $/1M
$15
Output $/1M
$18.00
1M in + 1M out
$0.3 −90%
Cache read $/1M
#6702 of 7,708
Cheapest rank
Provider
OpenCode Zen (opencode)
Kind
text (outputs text)
Context
1,000,000 tokens
Max output
64,000 tokens
Capabilities
tools reasoning text image pdf

Same model, other providers

“Claude Sonnet 4” is offered by 10 providers — cheapest-effective first. This one (OpenCode Zen) is the cheapest.

ProviderInputOutputBlendedContext
OpenCode Zen (this)$3$15$6.001M
Abacus$3$15$6.00200k
OpenRouter$3$15$6.00200k
ZenMux$3$15$6.001M
Vercel AI Gateway$3$15$6.001M
FastRouter$3$15$6.00200k
Vertex (Anthropic)$3$15$6.00200k
Merge Gateway$3$15$6.00200k
Vertex$3$15$6.00200k
DigitalOcean$3$15$6.001M

Call it

jishie indexes & prices models; it does not proxy inference.

Most providers are OpenAI-compatible — point base_url at OpenCode Zen and pass this model id:

curl $BASE_URL/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" \
  -d '{"model":"claude-sonnet-4","messages":[{"role":"user","content":"hello"}]}'

Route programmatically with MCP find_model / get_model, or fetch this record free (no wallet):

← all OpenCode Zen models · model index · JSON