LLM / Text · 18 tools tracked · last full pass August 2, 2026

LLM / Text API Pricing

LLM APIs bill per token — roughly 0.75 words — split into separate input and output rates, with output almost always priced higher. The flagship models from the major labs cluster in a similar price band, but budget/mini variants of the same model family are routinely 5-15x cheaper and are the highest-leverage cost optimization for any production workload.

18 tools in this category Last verified pass: August 2, 2026
  • Output tokens cost more than input tokens for every major provider, often 5-6x — long generations cost more than long prompts.
  • Prompt caching can cut repeated-context costs by 75-90% and is the single biggest lever for agents or chatbots that resend the same system prompt.
  • Budget/mini model variants from the same provider are often good enough for routing, classification, and simple tasks at a fraction of flagship cost.
  • Context windows above roughly 200K tokens often bill at a higher tiered rate on the same model — check for a long-context price jump before assuming a flat rate.
Tool Price Free tier Status
Claude Sonnet 4.6Anthropic See docs.claude.com Free tier available in Claude apps; API is pay-as-you-go verified 35 days ago
GPT-5.5OpenAI $5.00 in / $30.00 out Limited access via free ChatGPT tier; API has no free quota verified today
GPT-5.4 MiniOpenAI $0.75 in / $4.50 out None confirmed for API verified today
Gemini 3.1 ProGoogle $2.00 in / $12.00 out Removed for Pro models as of April 1, 2026 — paid-only verified 35 days ago
Gemini 3.1 Flash-LiteGoogle $0.25 in / $1.50 out 1,500 requests/day, no credit card required verified 35 days ago
Mistral LargeMistral $2.00 in / $6.00 out None verified today
Mistral Medium 3.5Mistral $1.50 in / $7.50 out None verified today
Mistral Small 4Mistral $0.10 in / $0.30 out None verified today
DeepSeek V4 FlashDeepSeek $0.14 in / $0.28 out None confirmed verified today
DeepSeek V4 ProDeepSeek $0.435 in / $0.87 out None confirmed verified today
DeepSeek R1DeepSeek $0.55 in / $2.19 out None confirmed verified today
Grok 4.5xAI $2.00 in / $6.00 out None verified today
Grok 4.3xAI $1.25 in / $2.50 out None verified today
Grok 4.1 FastxAI $0.20 in / $0.50 out None verified today
Command R+Cohere $2.50 in / $10.00 out Free tier with rate limits for prototyping verified today
Command RCohere $0.15 in / $0.60 out Free tier with rate limits for prototyping verified today
Llama 4 ScoutMeta (via Groq/Together) $0.11 in / $0.34 out Varies by hosting provider verified today
Qwen3 32BAlibaba $0.29 in / $0.59 out Varies by hosting provider verified today

How LLM token pricing actually works

A token is not a word, a sentence, or a character — it's a variable-length fragment of text that roughly maps to 0.75 words in English. Every LLM API bills you for two separate token counts: the tokens you send (your prompt, system instructions, conversation history, any documents you include) and the tokens the model generates back (the completion). Output tokens are almost always priced higher than input, often 5–6x higher, because text generation is computationally more expensive than text encoding. A concrete example: at $5 input / $30 output per million tokens, a 500-token prompt that generates a 1,000-token response costs $0.0025 in + $0.03 out = $0.0325 per call. At 10,000 calls a day, that's $325/day. The output multiplier is where most production LLM bills come from.

Prompt caching: the highest-leverage cost optimization

If your application sends the same content in every API call — a system prompt, a knowledge base document, a list of instructions — prompt caching can reduce that repeated context from full input price to a fractional cache hit price. OpenAI's cached input pricing drops input costs by roughly 90% on cache hits; Google's context caching on Gemini 3.1 drops input to $0.20/M (from $2.00/M — also a 90% reduction) for content that's been stored in the cache. Anthropic offers a similar mechanism on Claude. This single optimization typically has a larger impact on production LLM costs than switching model providers entirely. If you're running a chatbot, agent, or any application that prepends a large fixed prompt on every call, prompt caching should be the first thing you implement — not switching to a cheaper model.

When to use mini/budget model variants

Every major provider now offers at least one "mini" or budget variant of their flagship model family: GPT-5.4 Mini, Gemini 3.1 Flash-Lite, Claude Haiku. These are typically 5–15x cheaper per token and cover a surprisingly large fraction of real production use cases: classification, routing, summarization, FAQ answering, form extraction, and simple Q&A. The mistake most teams make is defaulting to the flagship model for all tasks and only switching to the cheaper variant for a few known-simple use cases. A better default is to use the mini model first and escalate to the flagship only when you hit a capability ceiling. This inversion in default behavior usually cuts LLM costs 60–80% for production workloads without measurably degrading output quality for the majority of requests.

Long-context pricing tiers and the context window trap

Several models bill at a higher rate once your input exceeds a threshold — Gemini 3.1 Pro, for instance, doubles its input price for requests over 200K tokens ($2.00 to $4.00/M input, $12 to $18/M output). If your application passes large documents or long conversation histories, check whether the model you're using has a long-context pricing tier, and at what threshold it kicks in. A naive assumption of flat per-token pricing on a 500K-token context window can produce a real bill that's double the estimate. The practical fix is to summarize or truncate context where possible rather than passing raw history, and to use context caching for repeated fixed content rather than re-sending it on every call.

Prices are pulled directly from each vendor's published pricing page or developer docs. The freshness badge next to each row shows how long ago we last checked it against the source. Always confirm current pricing on the vendor's own site before budgeting a production workload.