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
#7381 of 8,511
Cheapest rank
Provider
OpenCode (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 5 providers — cheapest-effective first. This one (OpenCode) is the cheapest.

ProviderInputOutputBlendedContext
OpenCode (this)$3$15$6.001M
Vertex$3$15$6.00200k
Vertex (Anthropic)$3$15$6.00200k
Abacus$3$15$6.00200k
Databricks$3$15$6.00200k

Call it

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

Most providers are OpenAI-compatible — point base_url at OpenCode 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 models · model index · JSON