Vibe Engines
YouTube

Vibe Engines is free, interactive AI engineering & system design — runs in your browser. Pick a learning path

Model Comparison Table

Claude, GPT, Gemini, DeepSeek, Kimi and gpt-oss side by side: context windows, list prices, open-vs-closed, and a blended per-token cost computed at your real input:output ratio — because a RAG app and a story generator should not read the same pricing table.

Cheapest at this ratio: Claude Haiku 5.5 ($0.200/1M blended) — the most expensive row costs 100× more per token.
ModelContext$/1M in$/1M outBlendedRelative costNotes
Claude Haiku 5.51M$0.100$0.500$0.200fast + cheap; 5× on prompts over 100K
gpt-oss-120Bopen128K$0.150$0.600$0.262OpenAI open weights
DeepSeek V4.1 Flashopen1M$0.300$1.20$0.525open MoE, MIT weights
Gemini 3.5 Flash-Lite1M$0.300$2.50$0.850cheap long-context
gpt-6.1-terra1.05M$1.00$5.00$2.00mid-tier workhorse
Claude Sonnet 5.51M$2.00$10.00$4.00the balanced default
gpt-6.1-sol1.05M$2.00$10.00$4.00OpenAI flagship
Gemini 3.1 Pro Preview1M$2.00$12.00$4.50preview; 2× input over 200K
Kimi K3open1.05M$3.00$15.00$6.00open frontier-class MoE
Claude Opus 5.51M$4.00$20.00$8.00agentic coding & knowledge work
Claude Fable 5.11M$10.00$50.00$20.00demanding reasoning, long-horizon agents
List prices per 1M tokens as of 2026-10-28; open models at Together AI’s serverless rates. Claude Haiku 5.5 is shown at its rate for prompts up to 100K tokens. Blended = (ratio × input + output) ÷ (ratio + 1). Prices move — treat as relative geometry, not gospel.

A model's price is two numbers, and which one matters depends on the shape of your traffic. This table lists eleven models at their list prices as of 28 October 2026, with their context windows, and folds input and output prices into one blended cost per million tokens at the input-to-output ratio you set. Rows re-sort as you move the slider.

What it computes

blended $/1M = (ratio × input price + output price) ÷ (ratio + 1)
spread       = highest blended ÷ lowest blended      (rows shown)
bar width    = blended ÷ highest blended in the full table
  • Ratio: input tokens per output token, from 1:1 to 20:1. The tool's guide is chat about 3:1, RAG with big prompts and short answers about 10:1, and long-form generation about 1:1.
  • Input and output price: dollars per million tokens. Across this table output costs between 4 and 8.3 times input.
  • Open weights only: filters to DeepSeek V4.1 Flash, Kimi K3 and gpt-oss-120B, priced at Together AI's serverless rates.
  • Claude Haiku 5.5 is shown at its rate for prompts up to 100,000 tokens. Longer prompts pay five times as much, $0.50 in and $2.50 out.

Blended cost is the price of one average token in your mix, so multiplying it by all the tokens you process, input plus output, gives spend.

A worked example

At the default 3:1 ratio, Claude Sonnet 5.5 ($2 in, $10 out) blends to (3 × 2 + 10) ÷ 4 = $4.00, and Claude Haiku 5.5 ($0.10, $0.50) to (0.30 + 0.50) ÷ 4 = 0.2, shown as $0.200. The full sort:

ModelContextInOutBlended
Claude Haiku 5.51M$0.100$0.500$0.200
gpt-oss-120B128K$0.150$0.600$0.262
DeepSeek V4.1 Flash1M$0.300$1.20$0.525
Gemini 3.5 Flash-Lite1M$0.300$2.50$0.850
gpt-6.1-terra1.05M$1.00$5.00$2.00
Claude Sonnet 5.51M$2.00$10.00$4.00
gpt-6.1-sol1.05M$2.00$10.00$4.00
Gemini 3.1 Pro Preview1M$2.00$12.00$4.50
Kimi K31.05M$3.00$15.00$6.00
Claude Opus 5.51M$4.00$20.00$8.00
Claude Fable 5.11M$10.00$50.00$20.00

The summary names Claude Haiku 5.5 as cheapest at $0.200 per 1M blended and says the most expensive row costs 100× more per token: $20.00 ÷ $0.200 = 100. Claude Sonnet 5.5 and gpt-6.1-sol tie because their list prices are identical.

Now move the slider. The order does not change: sorted by input price, no row has a cheaper output price than the row above it, so no ratio can lift one past another. What moves is the gaps. DeepSeek V4.1 Flash and Gemini 3.5 Flash-Lite both charge $0.30 for input, and Flash-Lite’s extra output price weighs less as input grows: it costs 1.87 times DeepSeek at 1:1 ($1.40 against $0.750) but 1.18 times at 20:1 ($0.405 against $0.343). The spread stays at 100× at every ratio, because the cheapest and dearest rows, Haiku 5.5 and Fable 5.1, both price output at exactly 5 times input.

Assumptions and limits

  • A dated snapshot. Prices are list prices as of 28 October 2026, and vendors change them. Trust the ratios between rows, which drift slowly, more than the cents.
  • List prices only. Prompt caching and batch discounts, long-prompt surcharges (Claude Haiku 5.5 above 100K tokens, Gemini 3.1 Pro Preview above 200K, gpt-6.1 above 272K) and reasoning tokens billed as output are not modeled.
  • Hosted open models. Open-weight rows use Together AI’s serverless prices; other hosts charge differently. Self-hosting turns per-token pricing into GPU time and utilization.
  • Price, not quality. The table ranks cost per token and says nothing about accuracy, latency or how many tokens a model needs to finish a task.

How to use the result

  • Measure your ratio first. Divide logged input tokens by output tokens over a week of real traffic; RAG and long-form generation weigh the two prices very differently.
  • Shortlist, then evaluate. Take the cheapest few rows that plausibly meet your quality bar, run your own evaluation set on them and pick the cheapest that passes.
  • Turn blended cost into a budget. Monthly tokens × blended rate ÷ 1,000,000 is the bill: 500 million tokens a month at 3:1 is $2,000 on Claude Sonnet 5.5 and $100 on Claude Haiku 5.5.
  • Route rather than marry. With a 100× gap between rows, sending easy requests to a cheap model and escalating hard ones can be the largest cost lever available.
  • Check the context column. Every row lists 1M tokens or more except gpt-oss-120B at 128K. A cheap model that cannot hold your prompt is not an option.

When to use it, and when not

Use it to shortlist models by price at your traffic shape, to see how the gaps between rows shift as prompts grow or answers lengthen, and to size the gap a router could exploit. It answers one question well: which rows are cheapest per token for this mix.

Do not use it as a budget or a verdict. A budget needs request counts, caching and batch discounts, which a pricing calculator models. A verdict needs your own evaluation set, because per-token price says nothing about quality. And before you commit money, confirm every price on the vendor’s own page.

Trade-offs and limits

IgnoredEffect on the ranking
Tokens per taskA model that writes longer answers, or spends hidden reasoning tokens, bills more output for the same job, so a cheaper rate can lose per task
Reasoning tokensThey bill as output, which lowers your real ratio: Claude Sonnet 5.5 blends to $4.00 at 3:1 but $6.00 at 1:1
Caching and batch discountsMostly cut input cost, so they favour input-heavy workloads and the rows whose vendors offer them
Long-prompt tiersClaude Haiku 5.5’s listed rate applies to prompts up to 100,000 tokens and Gemini 3.1 Pro Preview’s up to 200,000; longer prompts bill at a higher rate, five times as much on Haiku
TokenizersThe same text becomes a different number of tokens on different models, so per-token prices are not perfectly like for like

The ranking is exact for what it measures. Every row in it uses the same formula, so a 2× gap at your ratio is a real 2× gap in list price per token. Whether it is a 2× gap in cost per task depends on the rows above.

Common mistakes

  • Comparing input prices only. Gemini 3.5 Flash-Lite and DeepSeek V4.1 Flash both charge $0.30 for input, yet at 1:1 Flash-Lite blends to $1.40, 1.87 times DeepSeek’s $0.750.
  • Guessing the ratio from message lengths. Input counts everything sent, including the system prompt and the history re-sent each turn. The context cost planner’s default 8-turn chat bills 57,400 input tokens for 3,200 output, about 18:1, not 3:1.
  • Quoting one blended price per model. Blended cost belongs to a ratio. Claude Sonnet 5.5 is $6.00 at 1:1, $4.00 at 3:1 and $2.73 at 10:1.
  • Assuming open weights means cheapest. Hosted, Kimi K3 blends to $6.00 at 3:1, 30 times Claude Haiku 5.5’s $0.200 and more than Claude Sonnet 5.5’s $4.00.
  • Applying the blended rate to one side. It is the price of an average token of either kind, so multiply it by input plus output tokens, never by output alone.

Check yourself

Can any ratio make Gemini 3.5 Flash-Lite cheaper than DeepSeek V4.1 Flash?

No. Two rows cross where r = (out₁ − out₂) / (in₂ − in₁), and here the input prices are equal, $0.30 each, so the denominator is zero and there is no crossing. Flash-Lite’s dearer output, $2.50 against $1.20, keeps it behind at every ratio; the gap only narrows, from 1.87× at 1:1 to 1.18× at 20:1.

Does Gemini 3.1 Pro Preview ever cost less than gpt-6.1-sol here?

No. Both charge $2 for input and Pro charges more for output, $12 against $10, so Pro is dearer at every ratio, and the gap narrows as input grows: $7.00 against $6.00 at 1:1, $2.48 against $2.38 at 20:1.

500 million tokens a month of RAG traffic at 10:1: what do Claude Sonnet 5.5 and Claude Haiku 5.5 cost?

Sonnet blends to (10 × 2 + 10) / 11 = $2.73, so about $1,364 a month; Haiku to $0.136, about $68, if its prompts stay under 100,000 tokens. At 3:1 the same volume was $2,000 and $100: input-heavy traffic is cheaper on every row.

A task sends 3,000 input tokens and gets 500 back. gpt-6.1-terra or Gemini 3.5 Flash-Lite, if Flash-Lite also spends 3,000 reasoning tokens?

gpt-6.1-terra: 3,000 × $1 + 500 × $5 per million, $0.0055. Flash-Lite without reasoning: $0.00215, cheaper as the table says. With 3,000 reasoning tokens billed as output it is $0.00965, 1.75 times gpt-6.1-terra. The token counts here are illustrative; measure your own per task.

$/1M blended1:110:120:1input : output ratioFlash-Lite 1.40Flash-Lite 0.405DeepSeek 0.343gpt-oss 0.171No crossingr = Δout ÷ Δinneeds cheaper inand dearer out;only gaps move
Why the gaps change as you move the slider, but the order does not. Every row prices output above input, so all three blends fall as the ratio rises; Flash-Lite, with the dearest output relative to input, falls fastest and closes on DeepSeek, which has the same input price, without ever passing it.

How it works

  • Blended $/1M = (ratio × input + output) ÷ (ratio + 1), sorted ascending.
  • Chat ≈ 3:1, RAG ≈ 10:1, long-form generation ≈ 1:1.
  • Open-weights rows are downloadable and self-hostable, priced at Together AI’s serverless rates.
  • List prices as of 2026-10-28, kept consistent with the pricing comparator.

Frequently asked questions

What is blended token cost and how is it calculated?

Blended cost is the average price of one token in your traffic mix: ratio times the input price, plus the output price, divided by ratio plus 1, where ratio is input tokens per output token. At 3:1, Claude Sonnet 5.5 at $2 in and $10 out blends to (6 + 10) divided by 4, which is $4.00 per million. It turns two prices into one number you can sort by, and multiplying it by your total tokens gives spend.

Why does the input to output ratio change which model is cheapest?

It can only reorder two models when one has the cheaper input price and the dearer output price. In this table output costs from 4 times input (gpt-oss-120B and DeepSeek V4.1 Flash) to 8.3 times (Gemini 3.5 Flash-Lite), but sorted by input price no row has a lower output price than the row before it, so the order holds at every ratio and only the gaps move. DeepSeek V4.1 Flash and Gemini 3.5 Flash-Lite share a $0.30 input price: at 1:1 Flash-Lite costs 1.87 times as much, $1.40 against $0.750, and at 20:1 only 1.18 times, $0.405 against $0.343.

Which models in the table are open weights?

DeepSeek V4.1 Flash, Kimi K3 and gpt-oss-120B. Their weights can be downloaded, fine-tuned and self-hosted, and the prices shown are Together AI's serverless rates rather than a single vendor's list. With the open-only toggle on at the default 3:1 ratio, gpt-oss-120B is cheapest at $0.262 blended and Kimi K3 costs about 22.9 times as much at $6.00, more than Claude Sonnet 5.5. Self-hosting replaces per-token prices with hardware cost, so the comparison then depends on utilization.

How current are the prices?

They are list prices checked against each vendor's pricing page on 28 October 2026, kept consistent with the site's pricing comparator. Vendors change prices and release new models often, so check the provider's pricing page before committing a budget. The relative geometry, such as the 100 times gap between the cheapest and most expensive rows, changes far more slowly than individual prices and is the durable signal.

Should I just pick the cheapest model?

Pick the cheapest model that clears your quality bar for each task. Use the table to shortlist a few rows, run your own evaluation set on them, and compare cost per completed task rather than per token, since a model that needs fewer tokens or fewer retries can win despite a higher rate. Many production systems route between rows, sending easy requests to a cheap model and escalating hard ones, which puts the spread in this table to work.

How do I turn blended cost into a monthly bill?

Multiply your monthly tokens, input and output together, by the blended rate and divide by a million. At the default 3:1 ratio, 500 million tokens a month costs 500 times $4.00, or $2,000, on Claude Sonnet 5.5 and $100 on Claude Haiku 5.5, as long as Haiku’s prompts stay under 100,000 tokens. For an estimate built from request counts and separate token sizes, use a pricing calculator; this table is for ranking models at your traffic shape.