This page tracks AI model API pricing for coding in 2026: input, cached input and output prices per million tokens for 15 closed frontier models and the leading open-weight models. Every row links to the source we checked. Free to cite with a link back.

AI Model API Prices per Million Tokens

ModelInputCached inputOutputContextNotes
GPT-6 Astra
OpenAI
$10 $1 $50 1.05M >272K-token prompts billed 2x input / 1.5x output; Fast tier $20 / $100, Ultrafast $60 / $300 · source
Claude Opus 5.5
Anthropic
$4 $0.2 $20 — Fast mode $8 / $40 (up to 2.5x output speed; out of research preview, no waitlist, Oct 15, 2026) · source
Muse Wonder
Meta
$4 $0.2 $20 1M API id muse-wonder-1.0; Muse Wonder Full only in Muse Code $50/$200 plans (no API) · source
Kimi K3
Moonshot AI (via Together AI)
$2.7 $0.27 $13.5 — Open weights; Together AI serverless price · source
Claude Sonnet 5.5
Anthropic
$2 $0.1 $10 1M 128K max output; cache reads cut from $0.20 to $0.10 on Oct 7, 2026 · source
GPT-6.1 Sol
OpenAI
$2 $0.1 $10 1.05M Default model in Codex CLI; Ultrafast tier $12 / $60 · source
GPT-6 Sol
OpenAI
$2 $0.2 $10 — Superseded by GPT-6.1 Sol · source
Gemini 4 Carbon
Google · limited access
$2 $0.1 $10 1M Fairwind Program (vetted cyber defenders) only; not in public Gemini API as of Oct 29, 2026. Intro price per Google; then $4 / $20. Context per Artificial Analysis · source
Gemini 4 Argon
Google
$2 $0.1 $10 2M Intro price until Nov 30, 2026; then $4 / $20. Generally available since Oct 13, 2026 · source
Kimi K3.1 Pro
Moonshot AI
$2 $0.2 $10 1M Kimi API price; 2.8T total / 104B active MoE; Highspeed variant $4 / $0.20 / $20 (2-3x faster); open weights promised by Nov 4, 2026, license not announced · source
GPT-6.1 Terra
OpenAI
$1 $0.05 $5 1.05M Replaces GPT-5.6 Terra ($2 / $0.20 / $12); >272K-token prompts billed 2x input / 1.5x output; Batch/Flex 50% off; Fast 2x; 128K max output · source
GLM 5.3
Zhipu AI (via Together AI)
$1.4 $0.26 $4.4 — Open weights; Together AI serverless price · source
Muse Spark Open
Meta (via Together AI)
$1.25 $0.15 $4.25 1M Open weights (Muse Model License); 816B total / 42B active MoE; Together AI serverless price · source
Mistral Large 4
Mistral AI · limited access
$1.36 — $4.18 ~520K 1T total / 49B active MoE; weights due end of Oct 2026 · source
DeepSeek V4 Pro
DeepSeek (via Together AI)
$1.32 $0.13 $3.96 — Open weights; Together AI serverless price (V4 Pro 0813) · source
Gemini 3.8 Flash
Google
$0.75 $0.075 $3.75 — Price through Dec 31, 2026; from Jan 1, 2027 $1.50 / $7.50 (cache $0.15). Gemini 3.6 Flash same price; gemini-3.5-flash requests route to 3.6 Flash · source
DeepSeek V4.1 Flash
DeepSeek
$0.3 $0.006 $1.2 1M MIT open weights; official API deepseek-flash now serves V4.1-Flash-1017 (Oct 17, 2026), peak price (off-peak half); Search/Fetch APIs $0.75 per 1K requests · source
Mercury 3
Inception
$0.2 $0.02 $0.7 1M Diffusion LLM; launch pricing 50% off ($0.10 / $0.35), end date not announced; 1,068 t/s vendor-reported · source
MiniMax M3.1 Flash
MiniMax
$0.15 $0.015 $0.6 — Weights to be released later; 200+ t/s vendor-reported · source
Claude Haiku 5.5
Anthropic
$0.1 $0.01 $0.5 1M Prompts over 100K tokens: $0.50 / $2.50 (cache read $0.05); 128K max output · source
GPT-6 Luna
OpenAI
$0.1 — $0.5 — Up to 90% off cached input · source
GLM 5.3 Flash
Zhipu AI (via Together AI)
$0.15 $0.03 $0.5 — Open weights; Together AI serverless price · source

(Prices in USD per 1 million tokens, standard API tier. Open-weight models are priced on Together AI's serverless API. Last verified October 30, 2026.)

Cost of One Agentic Coding Session by Model

Per-token prices hide what you actually pay, because coding agents re-send the same context every turn. This chart prices one illustrative agent session: 10 million input tokens, 90% served from cache, and 300,000 output tokens. It ignores cache-write fees and differences in how many tokens each model uses, so treat it as a comparison, not a quote.

Estimated cost per agentic coding session (USD)
  • GPT-6 Astra $34.00
  • Claude Opus 5.5 $11.80
  • Muse Wonder $11.80
  • Kimi K3 $9.18
  • GPT-6 Sol $6.80
  • Kimi K3.1 Pro $6.80
  • Claude Sonnet 5.5 $5.90
  • GPT-6.1 Sol $5.90
  • Gemini 4 Carbon (limited) $5.90
  • Gemini 4 Argon $5.90
  • GLM 5.3 $5.06
  • Muse Spark Open $3.87
  • Mistral Large 4 (limited) $3.84
  • DeepSeek V4 Pro $3.68
  • GPT-6.1 Terra $2.95
  • Gemini 3.8 Flash $2.55
  • DeepSeek V4.1 Flash $0.71
  • Mercury 3 $0.59
  • GLM 5.3 Flash $0.57
  • MiniMax M3.1 Flash $0.47
  • Claude Haiku 5.5 $0.34
  • GPT-6 Luna $0.34

Source: The Vibelog calculation from the prices above

The headline input price is a poor guide on its own. Cache-read pricing decides most of the bill for agent work, which is why GPT-6.1 Sol and Claude Sonnet 5.5 land close together despite different cache prices. For the quality side of the trade-off, see our Claude Opus 5.5 vs GPT-6 coding comparison and the Gemini 4 Argon breakdown.

How We Verify AI Model Prices

Every price comes from the vendor's launch post or pricing page, or from at least two independent outlets reporting the same number. We update this table when a model launches or a price changes, and the date at the top shows the last check. If you spot a stale price, the source link on each row is the fastest way to confirm it.