Vibe Engines
YouTube

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

LLM Pricing Comparator

Set input and output tokens per call and your monthly request volume, and instantly compare cost per call and cost per month across Claude, GPT, Gemini and open models — sorted cheapest-first with the spread shown. See why output tokens dominate and how a 10× price gap between models turns into real dollars.

$40.00Cheapest / monthClaude Haiku 5.5
100×Priciest ÷ cheapestClaude Fable 5.1 vs Claude Haiku 5.5
Claude Haiku 5.5 cheapest$40.00
gpt-oss-120B $52.50
Gemini 3.5 Flash-Lite $170.00
gpt-6.1-terra $400.00
Claude Sonnet 5.5 $800.00
gpt-6.1-sol $800.00
Gemini 3.1 Pro Preview $900.00
Claude Opus 5.5 $1,600
Claude Fable 5.1 $4,000
ModelInput $/1MOutput $/1MCost / callCost / monthvs cheapest
Claude Haiku 5.5$0.1$0.5$0.000400$40.001.0×
gpt-oss-120B$0.15$0.6$0.000525$52.501.3×
Gemini 3.5 Flash-Lite$0.3$2.5$0.001700$170.004.3×
gpt-6.1-terra$1$5$0.004000$400.0010.0×
Claude Sonnet 5.5$2$10$0.008000$800.0020.0×
gpt-6.1-sol$2$10$0.008000$800.0020.0×
Gemini 3.1 Pro Preview$2$12$0.009000$900.0022.5×
Claude Opus 5.5$4$20$0.0160$1,60040.0×
Claude Fable 5.1$10$50$0.0400$4,000100.0×

Published list prices, USD per 1M tokens, as of 2026-10-28 (gpt-oss-120B at Together AI’s serverless rate); always confirm against each vendor’s current pricing. Claude Haiku 5.5 bills the whole call at 5× once input passes 100,000 tokens. Cost / call = input tokens ÷ 1M × input price + output tokens ÷ 1M × output price.

Every LLM API quotes two prices, one per million input tokens and one per million output tokens, and the mix of the two decides which model is cheap for you. This comparator applies both prices to a typical call of yours, multiplies by your monthly volume and sorts nine models from cheapest to most expensive.

What it computes

cost per call = input tokens / 1,000,000 × input price
              + output tokens / 1,000,000 × output price
monthly       = cost per call × requests per month
vs cheapest   = monthly / cheapest model’s monthly
spread        = most expensive monthly / cheapest monthly
  • Input tokens are everything sent with the call: system prompt, tool definitions, history and retrieved context.
  • Output tokens are what the model writes back.
  • Prices are the vendors’ published list prices in US dollars per million tokens, as of 28 October 2026; gpt-oss-120B is priced at Together AI’s serverless rate.
  • Long-prompt tier. Once input passes 100,000 tokens, Claude Haiku 5.5 bills the whole call at $0.50 in and $2.50 out, five times its base rate.

A worked example

The defaults are 1,500 input tokens and 500 output tokens per call, at 100,000 requests a month. For Claude Haiku 5.5, at $0.10 in and $0.50 out: 0.0015 × 0.10 + 0.0005 × 0.50 = $0.0004 per call, or $40 a month. For Claude Fable 5.1, at $10 and $50: 0.0015 × 10 + 0.0005 × 50 = $0.04 per call, or $4,000 a month.

ModelIn / out per 1MPer callPer monthvs cheapest
Claude Haiku 5.5$0.1 / $0.5$0.000400$40.001.0×
gpt-oss-120B$0.15 / $0.6$0.000525$52.501.3×
Gemini 3.5 Flash-Lite$0.3 / $2.5$0.001700$170.004.3×
gpt-6.1-terra$1 / $5$0.004000$400.0010.0×
Claude Sonnet 5.5$2 / $10$0.008000$800.0020.0×
gpt-6.1-sol$2 / $10$0.008000$800.0020.0×
Gemini 3.1 Pro Preview$2 / $12$0.009000$900.0022.5×
Claude Opus 5.5$4 / $20$0.0160$1,60040.0×
Claude Fable 5.1$10 / $50$0.0400$4,000100.0×

The spread is 100×. Claude Sonnet 5.5 and gpt-6.1-sol tie because their list prices are identical. Output is only a quarter of the tokens here but most of the cost on every model: on Fable, $0.025 of the $0.04. The ranking also depends on prompt length. Raise input to 120,000 tokens and Claude Haiku 5.5 crosses its 100,000-token tier: it falls from first to third at $0.0612 a call, behind gpt-oss-120B at $0.0183 and Gemini 3.5 Flash-Lite at $0.0372.

Assumptions and limits

  • List prices only. Prompt caching, batch discounts, committed-use contracts and free tiers can cut real bills substantially and are not applied.
  • Prompt-length tiers only where the slider reaches them. Claude Haiku 5.5’s 100,000-token tier is applied; Gemini 3.1 Pro Preview’s step above 200,000 tokens and OpenAI’s above 272,000 sit at or past the slider’s maximum. Reasoning models bill their hidden thinking tokens as output, which is not added.
  • Context windows are not checked. gpt-oss-120B holds 128K tokens, so the top of the input slider is beyond what it can accept.
  • Token counts differ by model. Each family has its own tokenizer, so the same text can be a different number of tokens for each.
  • Price is not quality. The cheapest model may fail your task; the tool does not measure accuracy, latency or rate limits.
  • Prices age. Models are retired and repriced often, so treat the table as a dated snapshot.

How to use the result

  • Measure a typical call from real logs, including the system prompt and context, rather than guessing.
  • Shortlist by quality, then price. Run your evaluation set on two or three candidates and pick the cheapest that passes.
  • Route. Sending easy requests to a small model and only hard ones to a frontier model often captures most of the savings with little quality loss.
  • Cap output. Shorter answers and a sensible output limit cut the most expensive half of the bill.

When to use it, and when not

Use it early: to shortlist models before an evaluation, to see whether a feature costs tens or thousands of dollars a month, and to make the case for routing. The ranking is exact for the token mix you enter, so it shows which price drives your workload, input or output, before you open a single vendor page.

Do not use it as the budget. Before committing, re-price with current vendor pages and with the discounts you will actually get: prompt caching, asynchronous batch processing (commonly half price at OpenAI and Anthropic) and contracts. For reasoning models, take output counts from real responses, because hidden thinking tokens are billed as output and can dwarf the visible answer.

Trade-offs and limits

The diagram shows the main effect: price ratios reweight the token mix. The default call is 75% input by tokens, but output costs 4 to 8.3 times as much as input on every model here, so output is most of the cost: 57% on gpt-oss-120B, 62.5% on every Claude and GPT-6.1 model (all priced output at 5× input), 67% on Gemini 3.1 Pro Preview and 73.5% on Gemini 3.5 Flash-Lite. No model here keeps the 75/25 token split. Three things the per-call model leaves out can each move a bill by multiples:

Left outExample
Hidden reasoning2,000 extra thinking tokens on the default Claude Sonnet 5.5 call: $0.008 becomes $0.028, 3.5×
Conversation growthA 10-turn chat with a 1,000-token system prompt and 300 tokens of history added per turn sends 23,500 input tokens, not 10 × 1,000
Skewed trafficOn Sonnet 5.5, if 5% of calls carry 100,000 input tokens, the average call costs $0.0179, 2.2× the default, and that 5% is 57% of the bill

Common mistakes

  • Comparing input prices. Gemini 3.1 Pro Preview and gpt-6.1-sol both charge $2 per million input tokens, but Pro charges $12 for output against $10, so at the default mix Pro costs 12.5% more: $900 against $800 a month.
  • Trimming the cheap half. On Claude Fable 5.1, halving input from 1,500 to 750 tokens cuts the month from $4,000 to $3,250, 19%. Halving output from 500 to 250 cuts it to $2,750, 31%. Shorter answers usually beat shorter prompts.
  • Pricing per call instead of per finished task. A cheap model that fails and escalates still costs its own call. Send everything to Claude Haiku 5.5 and retry 30% on Sonnet 5.5: $0.0004 + 0.3 × $0.008 = $0.0028 a task, still about a third of Sonnet alone, but seven times Haiku’s sticker price.
  • Taking the hosted open-model price as the cost of running it. The gpt-oss-120B row is Together AI’s per-token serverless rate. Running it yourself is paid in GPU-hours whether or not requests arrive, which beats per-token pricing only when the GPUs stay busy.

Check yourself

Claude Haiku 5.5 is cheaper than gpt-oss-120B on both input and output, so it wins at every mix. Until when?

Until the prompt passes 100,000 tokens. With 500 output tokens, Haiku costs 0.1 × $0.10 + 0.0005 × $0.50 = $0.0103 at exactly 100,000 input tokens. One slider step later, at 100,100, the whole call bills at $0.50 and $2.50: 0.1001 × $0.50 + 0.0005 × $2.50 = $0.0513, five times as much for 100 more tokens, and now 3.3 times gpt-oss-120B’s $0.0153. A tier is a cliff, not a slope, so keep long prompts below it or price them on another model.

Route 80% of the default 100,000 monthly calls to Claude Haiku 5.5 and 20% to Claude Sonnet 5.5. What is the bill?

80,000 × $0.0004 = $32 plus 20,000 × $0.008 = $160, so $192 against $800 for Sonnet alone, 76% less. The hard 20% are 83% of the routed bill, so the next saving comes from how often the router escalates, not from the cheap model’s price.

A summarizer sends 20,000 input tokens and gets 300 back. How do gpt-6.1-sol and Gemini 3.1 Pro Preview compare now?

gpt-6.1-sol: 0.02 × 2 + 0.0003 × 10 = $0.043. Gemini 3.1 Pro Preview: 0.02 × 2 + 0.0003 × 12 = $0.0436. Pro is now 1.4% dearer instead of 12.5%: with input the same price on both and nearly all tokens input, the output price that separates them barely registers.

A code generator sends 200 input tokens and gets 4,000 back. Which two models are cheapest, and how far apart?

Claude Haiku 5.5: 0.0002 × 0.10 + 0.004 × 0.50 = $0.00202. gpt-oss-120B: 0.0002 × 0.15 + 0.004 × 0.60 = $0.00243, 20% more, almost all of it the $0.10 gap in output price, because output is 95% of the tokens. Claude Fable 5.1 costs $0.202 for the same call, 100 times Haiku.

inputoutput tokens 1,500 · 75%500 · 25% gpt-oss-120B $0.000225$0.0003 · 57.1% Claude Fable 5.1 $0.015$0.025 · 62.5% Gemini 3.1 Pro $0.003$0.006 · 66.7% Gemini 3.5 F-Lite $0.00045$0.00125 · 73.5%
One default call, 1,500 input and 500 output tokens, split into its input and output cost. The tokens are 75% input, but output is priced at 4 to 8.3 times input on every model here, so output takes most of the cost.

How it works

  • Cost/call = input tokens ÷ 1M × input price + output tokens ÷ 1M × output price.
  • Output tokens usually cost several times more than input; verbosity is expensive.
  • Small models can be 10–100× cheaper than frontier ones for the same call.
  • Sorted cheapest-first for your exact token mix; list prices as of 2026-10-28.

Frequently asked questions

How is LLM API cost calculated?

Cost per call is the input tokens divided by one million times the input price, plus the output tokens divided by one million times the output price, because providers quote prices per million tokens. Multiply by your monthly request count for the monthly bill. Input includes everything you send, such as the prompt, system message, tool definitions and retrieved context, and output is only what the model generates in reply.

Why are output tokens more expensive than input tokens?

Generation is sequential: each output token needs its own pass through the model, while all the input tokens are processed together in one parallel prefill step that uses the hardware far more efficiently. Providers price that difference in. In this tool’s table, output costs between 4 and 8.3 times the input price on every model, so a verbose answer can dominate the bill.

Which LLM is the cheapest?

It depends on your input and output mix, so the tool sorts every model by your actual usage rather than by a headline price. With the default 1,500 input and 500 output tokens per call, Claude Haiku 5.5 is cheapest at $0.0004 a call, and Claude Fable 5.1 costs 100 times as much. Small models are commonly one to two orders of magnitude cheaper than frontier models, which is why routing easy requests to them pays off.

How much does 100,000 LLM API calls cost?

At the default 1,500 input and 500 output tokens per call and the tool’s list prices, 100,000 calls a month range from $40 on Claude Haiku 5.5 and $52.50 on hosted gpt-oss-120B, through $400 on gpt-6.1-terra and $800 on Claude Sonnet 5.5 or gpt-6.1-sol, to $4,000 on Claude Fable 5.1. Change the token counts and the order can shift, because each model weighs input and output differently, and Haiku 5.5 charges five times as much once a prompt passes 100,000 tokens. Confirm current prices before budgeting.

Are these prices exact?

They are published list prices per million tokens, checked against each vendor’s pricing page on 28 October 2026, but vendors change prices and release new models often; the open model is shown at Together AI’s serverless rate. The tool applies the long-prompt tiers that the slider can reach, Claude Haiku 5.5’s five-times rate above 100,000 input tokens, but ignores discounts such as prompt caching and batch processing. Use the comparison to understand the shape of the trade-off, then confirm the numbers against each vendor’s pricing page before committing.