TokenHot
HomeModelsConsoleDocumentationBlog
✓ English简体中文繁體中文日本語FrançaisРусскийTiếng Việt
TokenHot

One API. A model catalog. Usage-based billing.

Product

  • Models
  • Pricing
  • How It Works
  • Integration guides
  • About

Popular Models

  • gemini-4-hydrogen
  • claude-fable-5-2
  • gpt-6.1-terra
  • Kimi K3.1 Pro
  • DeepSeek V4.1 Flash
  • qwen3.8-flash
  • doubao-seedream-5-5
  • wan3.0-video-prime

Model Providers

  • OpenAI
  • Anthropic
  • Google
  • DeepSeek
  • Qwen
  • ByteDance
  • Doubao
  • MiniMax
  • Z.ai (GLM)
  • xAI
  • Moonshot AI
  • Xiaomi MiMo
  • Kling

Resources

  • Docs
  • Blog
  • hi@tokenhot.ai
  • LLMs.txt

Trust & Support

  • Trust Center
  • Security & Data
  • Support
  • Privacy
  • Terms
  • Refund Policy
Product HuntToolifyThere's An AI For That
© 2026 NEXORA AI PTE. LTD. · Tokenhot
TokenHot
HomeBlogLLM API Pricing Comparison 2026: Prices per Million Tokens
Pricing

LLM API Pricing Comparison 2026: Prices per Million Tokens

Compare input, cached input, and output prices per million tokens across five LLM API providers. See cache-write fees, batch rates, and a worked cost estimate.

Tokenhot Team
August 14, 20268 min readUpdated November 13, 2026
LLM API Pricing Comparison 2026: Prices per Million Tokens

Use the price table to compare standard input, cached input, and output across OpenAI, Anthropic, Google, DeepSeek, and Mistral. Then use the cost formula below to include cache writes, storage, tools, and retries in a monthly estimate.

LLM API prices per million tokens

Checked November 13, 2026. Rates are in USD per million tokens for each provider's direct standard API, before taxes, discounts, or regional premiums. The cached-input column shows the rate for a cache hit. Cache writes and storage are listed separately where applicable.

Provider and model Standard input Cached input or cache hit Output Conditions that change the bill
OpenAI gpt-6-astra $10.00 $1.00 $50.00 Cache writes are $12.50. Above 272K input tokens, the full request is billed at 2x input/cache rates and 1.5x output. Batch and Flex are 50% of Standard; Fast is 2x.
OpenAI gpt-6-luna $0.10 $0.01 $0.50 The 30-minute cache write rate is $0.125. Above 272K input tokens, the full request costs 2x input/cache rates and 1.5x output. Batch and Flex are half of Standard.
Anthropic Claude Sonnet 5 $2.00 $0.20 $10.00 A 5-minute cache write is $2.50 and a 1-hour write is $4.00. Batch is $1.00 input and $5.00 output.
Anthropic Claude Haiku 4.5 $1.00 $0.10 $5.00 A 5-minute cache write is $1.25 and a 1-hour write is $2.00. Batch is $0.50 input and $2.50 output.
Google gemini-3.8-flash $0.75 $0.075 $3.75 Through December 31, 2026, storage costs $0.50 per million tokens per hour and Batch input/output is $0.375/$1.875. The listed Standard, Batch, and storage rates double on January 1, 2027.
DeepSeek deepseek-flash $0.15-$0.30 $0.003-$0.006 $0.60-$1.20 Higher rates apply 01:00-04:00 and 06:00-10:00 UTC, Monday-Friday, excluding Chinese public holidays. All other hours, including weekends and those holidays, use the lower rates.
DeepSeek deepseek-v4-pro $0.66-$1.32 $0.022-$0.044 $1.98-$3.96 The same peak/off-peak hours and Chinese public-holiday exception apply.
Mistral Mistral Large 4 $0.70 $0.07 $2.10 Standard global rates. The pricing table lists Batch, Priority, and regional inference separately.

The DeepSeek rows replace the older deepseek-chat and deepseek-reasoner prices that still appear in stale comparisons. For model-specific context and migration considerations, see our DeepSeek V4 Pro pricing guide and guide to using the DeepSeek API outside China.

First-party prices are not Tokenhot prices

The table above is a vendor list-price baseline. It is not a Tokenhot quote. We list gateway routes and rates in our model catalog, and those rates can differ from first-party pricing by model, channel, or promotion. Confirm the exact route and displayed billing unit before purchase. The examples below use only the first-party rates in the table.

This separation also matters when comparing gateways. A provider can bundle routing, payment, fallback, or model access into a different price. Our OpenRouter alternatives guide covers the operational questions to compare alongside unit cost.

The LLM API cost formula

Start from metered usage, not word counts. Let each token quantity represent the total across successful calls and any billed failed or retried calls:

token_cost = (
    standard_input_tokens * standard_input_rate
  + cache_write_tokens     * cache_write_rate
  + cached_input_tokens    * cached_input_rate
  + billed_output_tokens   * output_rate
) / 1,000,000

total_cost = token_cost
           + cache_storage_cost
           + tool_call_cost
           + media_or_other_unit_cost

Use the provider's usage object or invoice to populate the buckets. The three input buckets must not overlap: standard_input_tokens means ordinary input only, excluding cache writes and reads. If a provider reports total input including those categories, subtract them before applying the standard rate; if its ordinary-input field already excludes them, do not subtract them again. Check the provider's field definitions, such as the OpenAI prompt-caching guide.

Do not estimate tokens from characters across vendors: tokenizers differ. Do not add reasoning tokens twice. If the API reports reasoning or thinking tokens inside billed output, billed_output_tokens already includes them. Google explicitly prices output including thinking tokens; OpenAI usage records expose reasoning tokens as a breakdown of output tokens.

Worked example: caching plus retry overhead

Assume a monthly gpt-6-luna workload, with every request below the long-context pricing threshold and using 30-minute cache writes, records:

  • 10 million ordinary input tokens
  • 4 million cache-write tokens
  • 80 million cached-input tokens
  • 10 million billed output tokens, including any reasoning tokens

At the standard rates in the table, the token bill is:

(10 * $0.10) + (4 * $0.125) + (80 * $0.01) + (10 * $0.50)
= $1.00 + $0.50 + $0.80 + $5.00
= $7.30

If the same 94 million input tokens were all billed as ordinary input, the bill would be $9.40 + $5.00 = $14.40. Under these assumptions, caching saves $7.10 before any extra tool charges.

Now add a budgeting scenario in which retries replay the same mix of tokens and raise token usage by 5%. The estimate becomes $7.30 x 1.05 = $7.665, or $7.67 after rounding at the end. In production, calculate retry cost from actual duplicate usage because a timeout before output, a cache hit, and a full replay do not cost the same.

Six billing details that change the answer

1. Output and reasoning can dominate cost

Output often costs several times more than ordinary input. Agent loops can also generate reasoning tokens that are not visible in the final answer. Set output and reasoning limits where the API supports them, and log the complete usage record. A request that returns 300 visible tokens can still have a materially larger billed output count.

2. Caching has writes, reads, and sometimes storage

A cache hit is cheaper only after content has been written and reused. OpenAI and Anthropic charge a premium for cache writes in the examples above. Google lists both a cached-token rate and token-hour storage. Forecast stable prompt prefixes separately from changing user content, then measure the hit rate rather than assuming every eligible prompt is cached.

For a Bedrock-specific worked example, see our prompt-caching cost guide, which separates cache reads, writes, and TTL-related rewrites.

3. Batch discounts exchange speed for price

OpenAI GPT-6 Astra and GPT-6 Luna, the two Claude models in the table, and Gemini 3.8 Flash list Batch input and output rates at half the standard price. Batch jobs are asynchronous and subject to each provider's supported endpoints and completion window. Keep interactive traffic at standard rates and move only delay-tolerant work such as offline classification, evaluation, or backfills.

4. Long context may trigger a whole-request multiplier

For GPT-6 Astra and GPT-6 Luna, requests above 272K input tokens use 2x input and cache rates and 1.5x output across the full request. Anthropic lists standard pricing across the one-million-token context for Claude 4.6 and later except Claude Haiku 5.5, which has a higher price tier for prompts over 100,000 tokens. Record prompt size for each request and check the model's threshold before applying a multiplier.

5. Tools and retries sit outside the headline table

Server-side search, code execution, grounding, storage, and other tools may add per-call or usage-based fees. Retries can duplicate token and tool charges even when the application shows one logical user action. Use capped exponential backoff, retry only errors documented as transient, and attach an application request ID so duplicated work can be traced.

6. Image and video prices use different units

Text-model token rates cannot price every multimodal workload. Image APIs may charge per generated image, per call, or by image tokens and quality. Video APIs commonly use seconds, resolution, or generation tiers. Keep separate formulas and subtotal the results.

Seedream is for image generation; Seedance is the ByteDance video family. Keep their prices and billing units separate. If you are changing video providers, use a video-specific comparison and the task-lifecycle checks in our Sora API migration guide.

How to choose on real workload cost

Export at least one representative week of usage by model and endpoint. Separate standard input, cache writes, cache hits, billed output, retries, long-context requests, batch traffic, and tools. Replay a fixed evaluation set against candidate models, then compare task success, latency distribution, rate limits, and total billed units. The cheapest row is useful only if the model meets your quality and operating requirements.

Recalculate after any model alias, prompt, reasoning setting, output cap, routing rule, or tokenizer change. Keep the pricing page URL and the date of every rate snapshot in your spreadsheet or cost service so later invoice differences can be explained.

Frequently asked questions

What is the cheapest LLM API in 2026?

Among these rows, DeepSeek Flash has the lowest off-peak cache-hit rate, and GPT-6 Luna has the lowest standard uncached input and output rates. Your cheapest valid option depends on output volume, cache reuse, time bands, tools, retries, quality, and whether batch processing is acceptable.

Are reasoning tokens billed?

Often, yes. Google states that its output price includes thinking tokens, and OpenAI reports reasoning tokens within output-token details. Use the provider's billed output total and documentation for the exact model; do not infer cost from visible answer length.

Does prompt caching always reduce cost?

No. A workload must reuse an eligible stable prefix enough times to recover cache-write and any storage charges. Track cache-write and cache-read fields, then calculate the break-even point using that model's rates.

Should I use input price alone to compare models?

No. Use the complete workload formula. Output-heavy generation, agent reasoning, tools, and retries can outweigh input price, while batch and cache hits can reduce it.

Are the prices in this article Tokenhot prices?

The comparison table and worked example use direct provider list prices checked on November 13, 2026. Check the Tokenhot model catalog for gateway routes, prices, and billing units.

Summary

Compare first-party input, cache, and output prices in USD per million tokens. Use the November 13, 2026 rates to estimate monthly usage, including retries.

Back to Blog
TokenHot

Chat, Image & Video Models with One API Key

  • Chat
  • Image
  • Video

Get discounted API rates on select AI models.

Get Your API Key

Pay-as-you-goOpenAI-compatible

Related Articles

Best OpenRouter Alternatives in 2026: A Practical Comparison

Best OpenRouter Alternatives in 2026: A Practical Comparison

August 14, 2026
Amazon Bedrock Prompt Caching: When Does It Pay Off?

Amazon Bedrock Prompt Caching: When Does It Pay Off?

September 18, 2026
Seedream 5.0 Pro API: Generate and Edit Images

Seedream 5.0 Pro API: Generate and Edit Images

September 23, 2026