Skip to content
AI Tools

LLM API Pricing Explained: What You’ll Actually Pay (October 2026)

LLM API pricing explained — how per-token billing works, what input vs output costs, subscription vs pay-as-you-go, free tiers, and how to estimate and cut your bill. With real 2026 prices.

LLM API Pricing Explained: What You’ll Actually Pay (October 2026)

Prices checked October 23, 2026, from each provider’s official pricing page (see Sources). Prices change often; confirm them before you commit to a budget.

LLM API pricing confuses almost everyone at first — per-token billing, separate input and output rates, subscriptions versus pay-as-you-go, and prices that range from cents to dollars for seemingly similar models. This guide demystifies all of it, shows you real 2026 prices, and gives you a simple way to estimate and slash your bill before it surprises you.

How per-token billing works

Nearly every LLM API charges by the token, not by the request or the hour. Get this one concept and the rest follows. A token is a piece of text — roughly ¾ of a word — and you’re billed for every token in your prompt and every token the model generates back. Providers quote prices per million tokens, which sounds large but adds up fast in a busy app.

Pricing, step by step

Understand per-token billing

LLM APIs bill by the token — a chunk of text roughly three-quarters of a word (so ~1,000 tokens ≈ 750 words). Every request charges for the tokens going in and coming out. Prices are quoted per million tokens. This is the foundation of every LLM bill: usage × price-per-token.

Know input vs output pricing

The catch most newcomers miss: input and output are priced separately, and output almost always costs more — often 3–5× the input rate. Claude Opus 5.5, for example, charges $4 per million input tokens but $20 per million output (October 2026). So long, verbose responses cost disproportionately more than long prompts. Designing for concise outputs is a real lever on cost.

Compare subscription vs pay-as-you-go

Two different things get called “pricing.” A consumer subscription (~$20/month) gives one person capped access in a chat app — predictable, but not for building. API pricing is usage-based per token for developers — no fixed cap, scales with your app’s traffic. Some providers also sell prepaid credits. Match the model to whether a human or an application is doing the consuming.

Use free tiers and trials

Most major providers offer a free tier or trial credits to start — enough to prototype and validate before you pay. Use them to benchmark models on your real task and estimate volume before committing to one. Just note free tiers often have rate limits and may use your data differently, so check the terms.

Estimate your monthly bill

The formula: (input tokens × input price) + (output tokens × output price), summed across your monthly requests. Estimate tokens per request (prompt + expected reply), multiply by requests per month, and apply each rate. Always model your busy month, not your average — usage-based costs scale with traffic spikes.

Cut your costs

Several levers, often compounding: use the cheapest model that meets quality; shorten prompts and cap output length; cache repeated context (many providers discount cached input heavily); batch non-urgent requests (batch APIs are cheaper); and route simple tasks to budget models, reserving flagships for hard work. Together these routinely cut a bill by more than half.

Real prices, October 2026 (per million tokens)

A snapshot of the range across the three biggest providers plus a budget option. Note how far apart the tiers are, and how output costs several times more than input:

Model tier Example Input Output
Small / fast GPT-6 Luna (OpenAI) $0.10 $0.50
Small / fast Claude Haiku 5.5 (Anthropic, prompts up to 100K tokens) $0.10 $0.50
Budget DeepSeek V4.1 Flash (peak hours; half price off-peak) $0.30 $1.20
Mid GPT-6.1 Sol (OpenAI) $2 $10
Mid Claude Sonnet 5.5 (Anthropic) $2 $10
Frontier Gemini 4 Argon (Google) $2, rising to $4 on Dec 1, 2026 $10, rising to $20
Frontier Claude Opus 5.5 (Anthropic) $4 $20
Top tier GPT-6 Astra (OpenAI) / Claude Fable 5.1 (Anthropic) $10 $50

The headline: the most capable models can cost about 100× more per output token than the smallest ones ($50 vs $0.50 per million). That’s why model choice is the single biggest driver of your bill, and why paying top-tier prices for simple tasks is the most common way teams overspend. To see what your own workload would cost on 46 models, use our free AI API cost calculator.

Estimate your bill with one figure

The quickest way to estimate a bill is to multiply your expected monthly requests by the average input and output tokens per request, then by the model’s per-million rates. Our cost calculator does this for you, including caching and batch discounts. For agent-style workloads, see how much it costs to run an AI agent.

Choosing which model to pay for?Compare 46 models on your own workload, free.

Open the cost calculator →

Hidden costs and pricing gotchas

The per-token rate is only the headline. Several real costs hide behind it, and missing them is how a “cheap” model ends up expensive:

  • Reasoning tokens. Some advanced models generate hidden “thinking” tokens before their answer — and you pay for those too. A model that reasons more can cost more per request than its rate suggests.
  • Context re-sending. In multi-turn conversations or agents, the entire history is usually re-sent on every call, so input costs grow with conversation length. This is why long agent runs get expensive fast.
  • Retries and failures. Failed or retried calls still consume tokens. Build in error handling so a loop doesn’t quietly run up a bill.
  • Tiered and committed pricing. Some providers offer volume discounts or cheaper committed-use rates — worth it at scale, but they lock you in, so model your real volume first.
  • Fine-tuning surcharges. A fine-tuned model often costs more per token to run than the base model, on top of the one-time training cost.

Subscription or API? A worked example

People often ask whether to just pay for a $20/month subscription or use the API. The answer depends entirely on who’s consuming. If you personally are chatting with the model a few dozen times a day, the flat subscription is almost always cheaper and simpler — you’d struggle to burn $20 of API tokens at human typing speed. But if you’re building an app that makes thousands of calls on behalf of many users, there’s no subscription that covers it; you need the API, and your cost scales with usage. A useful rule: subscriptions price a person, APIs price a workload. Many builders use both — a personal subscription for their own work and the API for what they ship. Once you know which side of that line you’re on, the pricing model practically chooses itself, and you can focus on the levers that actually move your bill: model choice and token discipline.

How to cut costs (a checklist)

  • Right-size the model. Don’t pay frontier prices for classification or simple generation — a budget model handles it.
  • Trim tokens. Shorter prompts and capped output lengths directly lower the bill; output is the expensive side.
  • Cache repeated context. Many providers discount cached input heavily — huge for apps that resend the same system prompt.
  • Batch non-urgent work. Anthropic, OpenAI and Google all offer batch processing at about half the standard price.
  • Route by complexity. Cheap models for the bulk, flagships only for the hard 10%. (See Claude vs ChatGPT vs Gemini.)
  • Consider self-hosting open-weight models at very high volume.

Frequently asked questions

How does LLM API pricing work?
Most APIs charge per token, with separate rates for input (your prompt) and output (the reply); output usually costs more. You pay as you go by usage, though some providers offer subscriptions or prepaid credits.
How much does an LLM API cost?
It varies enormously — small models such as GPT-6 Luna cost $0.10 input / $0.50 output per million tokens; mid-tier models about $2 / $10; and the top models (GPT-6 Astra, Claude Fable 5.1) $10 / $50, as of October 2026. Output typically costs several times more than input.
What’s the difference between subscription and API pricing?
A consumer subscription (~$20/month) gives one person capped chat access. API pricing is usage-based per token for developers building apps — it scales with volume and has no fixed cap.
How can I reduce my LLM API costs?
Use the cheapest capable model, shorten prompts and outputs, cache repeated context, batch requests, and route simple tasks to budget models. These often cut bills by more than half.
The OneAppleFall Team

OneAppleFall publishes desk research: we work from official documentation and other public sources, rather than from first-hand product use. Paid placements and affiliate links are labelled where they appear. Read our research methodology →

Sources

  1. Anthropic: API pricing
  2. OpenAI: API pricing
  3. Google AI for Developers: Gemini API pricing
  4. DeepSeek: API pricing

Writes about AI agents, LLMs and the tools built on them — researched guides, verified pricing, and plain-language explanations.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.