OpenCode logo

OpenCode API pricing

Model AggregatorCoding Tool

OpenCode sells access to the same models two ways. Zen is a pay-per-token API gateway for the OpenCode coding agent, carrying GPT, Claude, Gemini and Grok alongside open models (Qwen, DeepSeek, MiniMax, GLM, Kimi) — several of them free for a limited time. OpenCode Go is a $10/month subscription over the open models only, with its allowance published in dollars of usage.

Compare the published API prices listed for OpenCode. Open a model for its available pricing tiers, source and conditions, or use the cost planner to estimate your own workload.

Models
113
Prompt Caching
✓
Batch Discount
—
Tool Calling
✓
Model113
Beam FreeFreeFree
Big PickleFreeFree
Cat Jam FreeFreeFree
Claude Fable 5Claude$10$50
Claude Fable 5.1Claude$10$50
Claude Haiku 4.5Claude$1$5
Claude Haiku 5.5Claude
≤100K$0.1
>100K$0.5
$0.5
$2.5
Claude Opus 4.5Claude$5$25
Claude Opus 4.6Claude$5$25
Claude Opus 4.7Claude$5$25
Claude Opus 4.8Claude$5$25
Claude Opus 5Claude$5$25
Claude Opus 5.5Claude$4$20
Claude Sonnet 4.5Claude
≤200K$3
>200K$6
$15
$22.5
Claude Sonnet 4.6Claude$3$15
Claude Sonnet 5Claude$2$10
Claude Sonnet 5.5Claude$2$10
DeepSeek V4 FlashDeepSeek$0.14$0.28
DeepSeek V4 Flash (Off-Peak)DeepSeek$0.22$0.66
DeepSeek V4 Flash (Peak)DeepSeek$0.44$1.32
DeepSeek V4 Flash FreeDeepSeekFreeFree
DeepSeek V4 Flash Vision ExpDeepSeek$0.14$0.28
DeepSeek V4 ProDeepSeek$1.74$3.48
DeepSeek V4 Pro (Off-Peak)DeepSeek$0.66$1.98
DeepSeek V4 Pro (Peak)DeepSeek$1.32$3.96
DeepSeek V4.1 FlashDeepSeek$0.3$1.2
DeepSeek V4.1 Flash FreeDeepSeekFreeFree
Exo FreeFreeFree
Fledge Alpha FreeFreeFree
Flint 40B FreeFreeFree
Gemini 3 FlashGemini$0.5$3
Gemini 3.1 ProGemini
≤200K$2
>200K$4
$12
$18
Gemini 3.5 FlashGemini$1.5$9
Gemini 3.5 Flash LiteGemini$0.3$2.5
Gemini 3.6 FlashGemini$1.5$7.5
Gemini 3.7 FlashGemini$1.5$7.5
Gemini 3.8 FlashGemini$1.5$7.5
Gemini 4 Argon (50% off)Gemini$4$20
GLM 5GLM$1$3.2
GLM 5.1GLM$1.4$4.4
GLM 5.2GLM$1.4$4.4
GLM 5.3GLM$1.4$4.4
GLM 5.3 FlashGLM$0.15$0.5
GLM-5.3-Flash FreeGLMFreeFree
GPT 5GPT$1.07$8.5
GPT 5 CodexGPT$1.07$8.5
GPT 5 NanoGPT$0.05$0.4
GPT 5.1GPT$1.07$8.5
GPT 5.1 CodexGPT$1.07$8.5
GPT 5.1 Codex MaxGPT$1.25$10
Showing 1–50 of 113

OpenCode API cost examples

1,000 requests, each using 1,000 input tokens and 200 billed text output tokens: 1M input and 200K output tokens in total.

Standard text token prices and estimated workload cost in USD
ModelInput / 1M tokensOutput / 1M tokensEstimated costPricing conditions
Beam FreeOpenCodeFreeFreeFreeRegion not specifiedView official pricing
Big PickleOpenCodeFreeFreeFreeRegion not specifiedView official pricing
Cat Jam FreeOpenCodeFreeFreeFreeRegion not specifiedView official pricing
DeepSeek V4.1 Flash FreeOpenCodeFreeFreeFreeRegion not specifiedView official pricing
Exo FreeOpenCodeFreeFreeFreeRegion not specifiedView official pricing
Flint 40B FreeOpenCodeFreeFreeFreeRegion not specifiedView official pricing

Estimates in USD use standard processing, uncached input and the displayed base input tier. Regional rates, longer prompts, thinking tokens and other billable usage can change the final cost. Models can differ in capabilities.

Calculate costs for your workload →

What this vendor sells as a flat monthly plan, and what each tier grants. Equivalent API value prices the allowance at this vendor's own API rates.

OpenCode$10–$402 plans
Value multiple8.00×
$80
Priced on DeepSeek V4.1 Flash
usd_pool/month 80 USD of model usage per month (this model only)
usd_pool/month 60 USD of model usage per month (this model only)
GPT 5.6 LunaGrok 4.7Grok 4.6+27
API use authorized
Value multiple6.00×
$240
Priced on Kimi K2.6
usd_pool/month 240 USD of model usage per month (this model only)
usd_pool/month 180 USD of model usage per month (this model only)
GPT 5.6 LunaGrok 4.7Grok 4.6+27
API use authorized