← Blog

How Much Does an LLM Cost? A Buyer's Guide

2026-09-18 · 5 min read · SubToAPI Team

Most teams asking "how much does an LLM cost" expect a single number and don't get one — because the answer depends entirely on which model you use, how much text you send and receive, and whether you're paying per token, per seat, or a flat subscription. For a rough anchor: a typical mid-tier model costs somewhere between $0.50 and $15 per million tokens, and a real production app usually lands between $20 and $2,000 per month depending on traffic and model choice.

The short version: LLMs are priced per token, not per request. A token is roughly ¾ of a word, so a 1,000-word prompt is about 1,300 tokens. Providers charge separately for input tokens (what you send) and output tokens (what the model generates), with output usually costing 3–5x more than input. Below is a practical breakdown of what actually drives your bill.

The core cost drivers

1. Model tier. Cheaper "small" models (fast, lower reasoning) can cost under $1 per million tokens combined. Flagship models with the strongest reasoning capabilities often run $3–$15 per million input tokens and $15–$75 per million output tokens. Choosing the right tier for the task is the single biggest lever you have.

2. Input vs. output ratio. If your app does long-document summarization, input dominates. If it's a chatbot writing long answers, output dominates and costs more. Know your ratio before estimating spend.

3. Context length. Sending 50 pages of context on every request multiplies your input token cost even if the actual question is one sentence. Caching or trimming context matters more than model choice for many apps.

4. Volume and concurrency. Cost scales linearly with tokens processed, but at high volume you also start paying for infrastructure to handle concurrency, retries, and rate limits — which is where a lot of teams get surprised.

5. Tooling and orchestration. If you're building a product on top of an LLM, you'll also pay for whatever wraps the raw model: API gateways, key management, observability, and billing infrastructure. This is often a flat monthly cost rather than a per-token one.

A worked example

Say your app sends an average of 800 input tokens and generates 400 output tokens per request, using a mid-tier model priced at $3 per million input tokens and $12 per million output tokens.

Input cost:  800 tokens  × $3  / 1,000,000  = $0.0024
Output cost: 400 tokens  × $12 / 1,000,000  = $0.0048
Total per request: $0.0072

At 10,000 requests per month, that's $72/month in raw model cost. At 500,000 requests per month, it's $3,600/month. This is why "how much does an LLM cost" only becomes a real number once you know your request volume and token shape — not before.

Per-token pricing vs. flat access

There are two common billing models worth separating:

If your team already has Claude access through a subscription and wants to build on top of it with a proper HTTPS API — streaming, tool use, usage metadata, application-scoped API keys — that's exactly the gap SubToAPI fills. Instead of paying twice (subscription + separate API billing), you turn your existing access into sub_live_... keys your app can call directly.

curl https://api.subtoapi.app/v1/messages \
  -H "Authorization: Bearer $SUBTOAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-3-5-sonnet",
    "max_tokens": 500,
    "messages": [{"role": "user", "content": "Summarize this contract."}]
  }'

Plans are seat-based rather than token-metered: Solo at €9, Team at €19/seat, and Scale at €49/seat for larger teams needing more throughput and controls, with a free trial at signup. See /pricing for the full breakdown and /docs/quickstart to get a key working in minutes.

Hidden costs people forget

How to actually estimate your cost

  1. Pick the model tier that matches the task difficulty — don't default to the most expensive model for simple classification or extraction work.
  2. Measure average input and output tokens per request using real prompts, not guesses.
  3. Multiply by expected monthly request volume.
  4. Add 15–20% buffer for retries, longer-than-average responses, and growth.
  5. Re-check the number monthly — usage patterns shift as features change.

questions

Is $0.01 per request typical for an LLM call? It varies widely by model and prompt length, but many production chat-style requests land between $0.001 and $0.02 each. Long-context or high-output tasks can cost significantly more.

Do all LLM providers charge the same way? No. Most charge per token with separate input/output rates, but rates and rounding differ by provider and model, sometimes by an order of magnitude for equivalent tasks.

Can I reduce LLM cost without switching models? Yes — trimming system prompts, caching repeated context, limiting max output tokens, and avoiding unnecessary retries typically cut spend by 20–40% before you touch model choice at all.

Turn your Claude access into an HTTPS API

SubToAPI gives you application API keys, streaming, tool use and usage insights on top of your existing Claude access — set up in minutes.

Start free  Read the quickstart →