LLM / Text · 11 tools tracked · most recent source review September 26, 2026

LLM / Text API Pricing

A useful text-model comparison needs both sides of the token bill. For 100,000 input tokens plus 25,000 output tokens, the tracked standard rates estimate $0.0225 on GPT-6 Luna, $0.03 on Mistral Small 4, and $0.16875 on Gemini 3.8 Flash at its introductory price through December 31, 2026. This is a cost calculation, not a quality ranking: context size, reasoning tokens, caching, region, tools, and task performance all change the real choice.

11 tools in this category Most recent source review: September 26, 2026
  • The example workload (100K input + 25K output tokens) costs about $0.0225 on GPT-6 Luna, $0.03 on Mistral Small 4, and $0.45 on GPT-6 Sol at standard short-context rates.
  • Input and output are billed separately. In this sample, output is one quarter of input volume, but it can still be a large share of cost because its unit price is higher.
  • Gemini 3.8 Flash's $0.75/$3.75 introductory rates are listed through December 31, 2026; Google's page says standard pricing begins January 1, 2027.
  • DeepSeek V4.1 Flash pricing varies by time of day and cache status. The displayed estimate uses peak, uncached rates so it does not silently assume the discount.
Tool Price Free tier Status
GPT-6 AstraOpenAI $10 input / $50 output per 1M tokens (standard) · cached input $1 No recurring API allowance confirmed in this comparison. checked today
GPT-6 SolOpenAI $2 input / $10 output per 1M tokens (standard) · cached input $0.20 No recurring API allowance confirmed in this comparison. checked today
GPT-6 LunaOpenAI $0.10 input / $0.50 output per 1M tokens (standard) · cached input $0.01 No recurring API allowance confirmed in this comparison. checked today
Gemini 3.8 FlashGoogle $0.75 input / $3.75 output per 1M tokens through Dec 31, 2026 Free tier listed; model access, region, and limits apply. checked today
Gemini 3.1 Flash-LiteGoogle $0.25 input / $1.50 output per 1M tokens (standard) Free tier listed; model access, region, and limits apply. checked today
Claude Sonnet 4.6Anthropic $3 input / $15 output per 1M tokens No recurring API allowance confirmed in this comparison. checked today
Mistral Large 3Mistral $0.50 input / $1.50 output per 1M tokens Mistral Studio free mode may be available; quota and account terms apply. checked today
Mistral Medium 3.5Mistral $1.50 input / $7.50 output per 1M tokens Mistral Studio free mode may be available; quota and account terms apply. checked today
Mistral Small 4Mistral $0.15 input / $0.60 output per 1M tokens Mistral Studio free mode may be available; quota and account terms apply. checked today
DeepSeek V4.1 FlashDeepSeek $0.30 input / $1.20 output per 1M tokens (peak, uncached) No recurring API allowance confirmed in this comparison. checked today
Grok 4.7xAI $2 input / $6 output per 1M tokens under 200K prompt tokens No recurring API allowance confirmed in this comparison. checked 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 checked against linked provider documentation. Each date marks the model and listed rate reviewed, not every regional tier, discount, tool, or account limit. Confirm current terms with the provider before budgeting a production workload.