Guides
August 2, 2026
By Andrew Day

LLM Model Pricing in August 2026: Every Major API and Open Model

A research-grounded August 2026 map of LLM pricing after a month of cuts: OpenAI's repriced GPT-5.6 tiers, Claude Opus 5 and the Sonnet 5 increase landing September 1, Google, xAI, Meta — plus what open-model hosts actually charge per token.

Share this post

Send it to someone managing cloud or AI spend.

LinkedInX

The AI Stack Cost Report · August 2026 · Part 2: The Pricing Map. The meter moved again this month. This is StackSpend's monthly read on what the modern AI engineering stack actually costs. Also in this issue: the frontier briefing, the coding stack, and the image stack.

Use this when you want one current, apples-to-apples view of what large language models cost in August 2026 — across the closed-API frontier, the open-weight models that now match it, and the hosting providers that serve those open models.

The fast answer: July repriced the middle and bottom of the market. GPT-5.6 Luna fell 80% to $0.20/$1.20 and Terra 20% to $2/$12 on July 30; Claude Opus 5 arrived at $5/$25, doing Fable-5-class work at half Fable 5's price. The floor is now around $0.04–$0.30 per 1M input on open-weight models, the volume tier sits at $0.20–$1.50, and the closed frontier holds at $5–$10 input / $25–$50 output. One date to diarise: Claude Sonnet 5's introductory $2/$10 ends August 31, 2026, moving to $3/$15 on September 1.

Pricing pages have never been harder to compare, and July made it worse: two vendors changed rates mid-month, a third scheduled an increase, and the newest models bill differently depending on an effort setting you choose per request. This guide puts the closed frontier, open-weight models, and the hosts that serve them in one place, in the same units, for August 2026.

For rates between issues, the LLM API Pricing Index re-syncs published per-1M-token prices daily, and the model changelog logs releases and deprecations month by month. For what these choices mean after deployment — the actual bill, not the rate card — see AI cost monitoring.

Quick answer

For an August 2026 snapshot:

  • Closed frontier APIs run $5–$10 per 1M input and $25–$50 per 1M output: Claude Fable 5 and Mythos 5 at $10/$50, Claude Opus 5 and GPT-5.6 Sol at $5/$25–$30.
  • The volume tier got dramatically cheaper. GPT-5.6 Luna is now $0.20/$1.20 after an 80% cut, and Terra $2/$12 after a 20% cut. Gemini 3.5 Flash-Lite is $0.30/$2.50.
  • Open-weight models hosted on specialist providers are still 5–50x cheaper per token than the closed frontier — but the newest frontier-scale open models (Kimi K3 at $3/$15) are priced like mid-tier closed models, not like commodity inference.
  • The same open model costs different amounts on different hosts. DeepSeek V4 Pro is roughly $1.30/$2.60 on DeepInfra, $1.74/$3.48 on Fireworks, and ~$2.10 input on Together AI — a 60%+ spread on identical weights.
  • A scheduled increase is coming. Claude Sonnet 5 moves from $2/$10 to $3/$15 on September 1, 2026.

How to read LLM pricing in 2026

Almost all text LLMs are still priced per million tokens, split into input (the prompt you send) and output (the response generated). A token is roughly 0.75 English words, so ~1,300 tokens per 1,000 words. Four rules now carry most of the cost math:

  1. Output is priced higher than input — usually 3–6x. Output-heavy workloads (long generations, agents) are dominated by the output rate; retrieval-heavy RAG is dominated by the input rate.
  2. Context size can change the rate, not just the volume. Gemini 3.1 Pro moves from $2/$12 to $4/$18 above 200K input tokens. Anthropic's Claude 4.6-and-later models, by contrast, now include the full 1M context at standard pricing. See long-context pricing above 200K tokens.
  3. Caching and batch are real discounts. Batch APIs cut 50% at OpenAI, Anthropic, and Google; cache hits cost 10% of base input at Anthropic and up to 90% less at Google. On some hosts these stack.
  4. New in 2026: the effort dial and the tokenizer. Claude Opus 5 exposes five effort levels, so the same prompt can cost several times more or less depending on a request parameter. And Claude 4.7-and-later models use a tokenizer that produces roughly 30% more tokens for the same text (Anthropic pricing docs) — so a per-token comparison against an older model understates the real per-request cost.

The formula that turns any rate card into a monthly estimate:

Monthly cost = ((input_tokens/1,000,000 × input_rate)
             +  (output_tokens/1,000,000 × output_rate))
             ×  requests_per_month

Closed frontier APIs (August 2026)

These are the managed, proprietary-weight APIs. Rates are list prices checked on 2 August 2026.

Provider Model Input ($/1M) Output ($/1M) Notes
AnthropicClaude Mythos 5$10.00$50.00Limited availability (Project Glasswing)
AnthropicClaude Fable 5$10.00$50.00Cache hits $1.00; batch $5/$25; 1M context
AnthropicClaude Opus 5$5.00$25.00New July 24. Cache hits $0.50; batch $2.50/$12.50; fast mode $10/$50
AnthropicClaude Sonnet 5$2.00$10.00Introductory through Aug 31; $3/$15 from Sep 1
AnthropicClaude Haiku 4.5$1.00$5.00Cache hits $0.10; batch $0.50/$2.50
OpenAIGPT-5.6 Sol$5.00$30.00GA July 9; flagship; unchanged in the July 30 cut
OpenAIGPT-5.6 Terra$2.00$12.00Cut 20% July 30 (was $2.50/$15)
OpenAIGPT-5.6 Luna$0.20$1.20Cut 80% July 30 (was $1/$6)
OpenAIGPT-5.5$5.00$30.00Prior flagship; cached input $0.50; 1M context
OpenAIGPT-5.5 Pro$30.00$180.00Highest-effort reasoning tier
GoogleGemini 3.1 Pro$2.00$12.00$4/$18 above 200K input
GoogleGemini 3.6 Flash$1.50$7.50New July 21; ~17% fewer output tokens than 3.5 Flash
GoogleGemini 3.5 Flash-Lite$0.30$2.50Low-cost Gemini tier
xAIGrok 4.5$2.00$6.00New July 8; cached input $0.50; 500K context
MetaMuse Spark 1.1$1.25$4.25New July 9; Meta's first paid developer API; 1M context
MistralMistral Large 3*~$2.00~$6.00Dynamic pricing page; also available open-weight (Apache 2.0)
AmazonNova (Bedrock)varies by tiervaries by tierMicro/Lite/Pro/Premier; region + service tier change price

Mistral rates are market-quoted ranges; validate the exact SKU and deployment path at checkout. Batch pricing is 50% off input and output at OpenAI, Anthropic, and Google.

How to think about the closed tier in August. The flagship band ($5 input) is now crowded — GPT-5.6 Sol, GPT-5.5, and Claude Opus 5 all sit there, with Opus 5 the cheapest on output at $25. Above them, the $10/$50 Fable/Mythos tier is a genuinely separate purchase, and after Opus 5's release it is harder to justify for anything but the longest-horizon autonomous work. Below them, the volume tier collapsed: Luna at $0.20/$1.20 is now cheaper than several open-weight models served on managed hosts. For the head-to-head, see OpenAI vs Anthropic pricing.

Open-weight models (August 2026)

Open-weight models remain the default for high-volume work, but July split the category in two. Commodity open models still sit at pennies per million tokens; the new frontier-scale open models are priced like mid-tier closed APIs, because someone still has to serve 2.8 trillion parameters.

Model Family / license Input ($/1M) Output ($/1M) Notes
Kimi K3Moonshot / custom open-weight~$3.00~$15.00New July 16; weights July 27. 2.8T total / 104B active; 1M context; cached input ~$0.30
InklingThinking Machines / Apache-2.0host-dependenthost-dependentNew July 15; 975B total / 41B active; 1M context; fully permissive licence
Inkling-SmallThinking Machines / Apache-2.0~$0.30~$1.20New July 30; 276B total / 12B active MoE
LongCat-2.0Meituan / open-weight~$0.038~$0.0381.6T MoE; free cache hits; trained on Chinese ASICs
DeepSeek V4 ProDeepSeek / MIT~$1.30–$2.10~$2.60–$4.40Host-dependent (see below); 1.6T total / 49B active; 1M context
DeepSeek V4 FlashDeepSeek / MIT~$0.10~$0.20284B total / 13B active; the practical cost floor for frontier-ish quality
GLM-5.1Zhipu / open-weight~$1.05~$3.50Leads open-weight intelligence indexes; strong long-horizon coding
Qwen3-235B-A22BAlibaba / Apache-2.0 variants~$0.09~$0.10Compact MoE; strong tool-calling + vision
Llama 3.3 70BMeta / community licence~$0.35~$0.40Broadly hosted; Meta now also sells a first-party API
GPT-OSS 120BOpenAI / open-weight~$0.04–$0.35~$0.19–$0.75Rate depends heavily on host (see below)
Llama 3.1 8BMeta / community licence~$0.02~$0.05Cheapest widely-hosted tier

Rates are representative served-API prices from public host pricing pages; open-weight is not always OSI open-source, so check the licence before you ship. See closed vs open AI models in 2026 for the portfolio framing.

The thing that changed in July: an open licence no longer implies a low price. Kimi K3 at ~$3/$15 is more expensive than GPT-5.6 Terra ($2/$12) and 15x more expensive than GPT-5.6 Luna. The value of frontier open weights is control, auditability, and the option to self-host — not, at that scale, cheapness.

Open-model hosting providers (August 2026)

This is the part most pricing guides skip. The same open weights cost different amounts depending on who serves them — because you are renting that provider's hardware, throughput, and margin.

Host Pricing model Example rate (open model) Best for
DeepInfra Owns its inference stack; per-token price is the price (no aggregator margin) DeepSeek V4 Pro $1.30/$2.60; V4 Flash $0.10/$0.20; Llama 3.1 8B $0.02/$0.05; Qwen3-235B $0.09/$0.10 Cheapest direct per-token for most open models
Fireworks AI Serverless per-token with Fast/Priority tiers; batch −50%, cached input −50% DeepSeek V4 Pro $1.74/$3.48; Kimi K2.6 $0.95/$4.00 Production serving with managed fine-tuning, HIPAA, and higher request ceilings
Together AI Flat per-token, no cached-input discount; also GPU rental + fine-tuning DeepSeek V4 Pro ~$2.10 input; catalog spans ~$0.05–$9/1M Broadest open catalog + LoRA fine-tuning
Groq Per-token on custom LPU hardware; batch and caching each −50% (stackable) Most models under $1/1M; Llama 3.3 70B $0.59/$0.79; GPT-OSS-120B $0.15/$0.60 Latency-critical and high-throughput work at aggressive token economics
Hugging Face Inference Providers routing at pass-through provider rates (no HF markup); PRO $9/mo bundles credits. Inference Endpoints bill hourly GPU/CPU Routed = underlying provider rate; Endpoints from ~$0.033/hr CPU, GPU tiers upward One key across many hosts + open catalog; dedicated endpoints when you need them
OpenRouter Aggregator; no markup on inference, ~5.5% fee on credit purchase; routes across hosts Underlying host rate + credit fee; auto-routes to cheapest/available provider One API across many hosts + failover, without committing to one backend
Cerebras Per-token on wafer-scale hardware; very high throughput GPT-OSS-120B ~$0.35/$0.75; ~$0.50–$1.50/1M depending on model Fastest single-stream generation (OpenAI serves GPT-5.6 Sol here at 700+ tok/s)
SambaNova Per-token on RDU hardware; persistent free tier + starter credits Competitive per-token on Llama 3.x and Qwen tiers Fast inference with a genuine free tier for evaluation
Baseten Per-token serverless + dedicated deployments ~$0.50/1M on popular open models; dedicated GPU pricing for reserved capacity Teams wanting managed dedicated deployments with autoscaling
Replicate Compute-time billing (per-second GPU) rather than pure per-token Priced by GPU-seconds of the run; part of Cloudflare Custom/GPU-heavy models and image/video where per-token doesn't fit

The one number that matters most: the price of the same model varies wildly by host. DeepSeek V4 Pro is roughly $1.30/$2.60 on DeepInfra, $1.74/$3.48 on Fireworks, and ~$2.10 input on Together AI — identical weights, a 60%+ spread. That is not a quality difference; it is hardware, throughput, and margin. And the cheapest per-token host is not automatically the best value: Groq and Cerebras charge more but deliver far higher throughput, which can lower total cost for latency-bound or agentic workloads that would otherwise stall.

How to choose a hosting provider

  • Optimizing pure per-token cost at scale? DeepInfra (owns its stack, no aggregator margin) is the usual price leader; Together AI has the broadest catalog.
  • Latency- or throughput-bound (chat, agents, tool loops)? Groq and Cerebras win on speed, which often beats a lower per-token rate on total cost.
  • Want one API across many hosts with failover? OpenRouter or Hugging Face Inference Providers — a small fee for portability.
  • Need fine-tuning, compliance, or dedicated capacity? Fireworks (tuning, HIPAA, speed tiers), Together AI (LoRA), or Baseten (dedicated deployments).
  • GPU-heavy or non-text models? Replicate's compute-time model fits better than per-token.
  • Enterprise governance already on a hyperscaler? Route open models through Bedrock or Vertex Model Garden — see Hugging Face vs direct provider APIs.

What this costs in practice

Illustrative example. A content-moderation classifier: 400-token input, 50-token output, 2M requests/month. Rates are the August 2026 list prices above; your real bill will differ with retries, caching, and prompt drift.

Model / host Input ($/1M) Output ($/1M) Monthly cost
Claude Haiku 4.5 (Anthropic API)$1.00$5.00(0.4×$1.00 + 0.05×$5.00) × 2,000 = $1,300
Gemini 3.5 Flash-Lite$0.30$2.50(0.4×$0.30 + 0.05×$2.50) × 2,000 = $490
GPT-5.6 Luna (post-cut)$0.20$1.20(0.4×$0.20 + 0.05×$1.20) × 2,000 = $280
GPT-OSS-120B on Groq$0.15$0.60(0.4×$0.15 + 0.05×$0.60) × 2,000 = $180
DeepSeek V4 Flash on DeepInfra$0.10$0.20(0.4×$0.10 + 0.05×$0.20) × 2,000 = $100

Two things to notice. First, the same task spans 13x across reasonable choices. Second — and this is new this month — GPT-5.6 Luna at $280 now beats a managed open-model host on several of last month's comparisons. Before the July 30 cut, the same Luna row would have been $1,400. A price change you did not action is a saving you did not take.

The pricing traps to watch

  • Silent repricing. Two of the tiers in this guide changed price on July 30 with no action required from you. If nobody compares spend-per-model month over month, a cut looks identical to no change.
  • Scheduled increases. Claude Sonnet 5 goes from $2/$10 to $3/$15 on September 1, 2026. Batch goes from $1/$5 to $1.50/$7.50 the same day.
  • Effort settings. Claude Opus 5's five-level effort dial changes token consumption per request by multiples. The rate card is the same; the bill is not.
  • Tokenizer drift. Claude 4.7-and-later models emit roughly 30% more tokens for the same text than earlier Claude models — a per-token comparison across generations is not like-for-like.
  • Long-context cliffs. Gemini 3.1 Pro doubles input pricing above 200K tokens. RAG pipelines that grow their retrieved context drift over the cliff without anyone changing a model.
  • Same-model host drift. Routing a model through a different host (or letting an aggregator re-route) can change your effective rate 60%+ with no code change.
  • Idle GPU on dedicated endpoints. Hugging Face Endpoints, Baseten dedicated, and self-hosting bill for capacity, not tokens — an always-on GPU costs the same at 5% utilization as at 95%.

Every one of these is invisible on a pricing page and obvious on the invoice.

FAQ

What is the cheapest way to run an LLM in August 2026?

For most high-volume text workloads the floor is around $0.02–$0.20 per 1M input: open-weight models (Llama 3.1 8B, DeepSeek V4 Flash, Qwen3-235B, GPT-OSS) on a direct-stack host like DeepInfra. What changed in July is that the cheapest closed option is now competitive with them — GPT-5.6 Luna at $0.20/$1.20 after its 80% cut, against Gemini 3.5 Flash-Lite at $0.30/$2.50. See cheapest AI API for chat, RAG, and coding.

How much does Claude Opus 5 cost?

Claude Opus 5 is $5 per 1M input tokens and $25 per 1M output — the same as Opus 4.8. Cache hits are $0.50/1M, 5-minute cache writes $6.25/1M, and Batch API pricing is $2.50/$12.50. Fast mode (research preview) is billed at $10/$50. The full 1M-token context is included at standard pricing.

When does Claude Sonnet 5's introductory pricing end?

August 31, 2026. From September 1, 2026, Claude Sonnet 5 bills at $3 input / $15 output per 1M tokens instead of the introductory $2/$10 — a 50% increase. Batch pricing moves from $1/$5 to $1.50/$7.50, and cache hits from $0.20 to $0.30 per 1M.

Why does the same open model cost different amounts on different hosts?

Because you are paying for the provider's hardware, throughput, and margin — not the weights, which are free to download. In August 2026, DeepSeek V4 Pro is roughly $1.30/$2.60 on DeepInfra, $1.74/$3.48 on Fireworks, and ~$2.10 input on Together AI. The pricier hosts often deliver higher tokens-per-second or added capability (fine-tuning, compliance), which can reduce total cost on latency-bound workloads even at a higher per-token rate.

Are open models still cheaper than closed APIs?

At the commodity end, yes — 5–50x cheaper per token, with no infrastructure to run. At the frontier end the gap has closed: Kimi K3, a 2.8T open-weight model, is quoted around $3/$15, which is more than GPT-5.6 Terra at $2/$12. Frontier open weights now buy control, auditability, and self-hosting optionality rather than a lower price. If you self-host, add GPU, autoscaling, observability, and on-call — that only pays off at steady high volume.

How do I compare LLM providers on price fairly?

Put every option in the same units ($/1M input and $/1M output), estimate your average input and output tokens per request, multiply by monthly volume, and apply any batch/cache discount you can actually use. Then validate against real spend — list prices ignore retries, tool calls, effort settings, tokenizer differences, long-context cliffs, and idle capacity. StackSpend does this continuously across providers: AI cost monitoring.

Track LLM spend across every provider

The hard part of LLM pricing in 2026 isn't any single rate card — it's that a modern stack spans a closed API, one or two open-model hosts, and sometimes an aggregator on top, each invoicing separately in different units on different cycles. The combined picture doesn't exist unless you build it. July proved the second half of the problem: rates moved twice in one month, in opposite directions, and nothing in your codebase changed.

Connect your providers to StackSpend for one view of total LLM spend with model-level breakdown, daily model recommendations that flag when a cheaper model would do the same job, and anomaly detection that catches a runaway agent the day it moves. Start with LLM cost monitoring or provider setup guides for OpenAI, Anthropic, Fireworks, and Hugging Face.

About The AI Stack Cost Report

The AI Stack Cost Report is StackSpend's monthly briefing on what the modern AI engineering stack costs — frontier and open-weight LLMs, AI coding tools, image generation, and the hosting and infrastructure they run on. Each issue is compiled from primary pricing pages and release reporting, with source-check dates listed at the top of every article. The August 2026 issue has four parts: the frontier briefing, the pricing map, the coding stack, and the image stack.

Between issues, the LLM API Pricing Index re-syncs published per-1M-token rates daily and the model changelog logs every release and deprecation by month.

A monthly snapshot tells you what the market charges; it can't tell you what your stack spent yesterday. StackSpend does — per-provider AI spend, anomaly alerts the day a spike happens, and a daily report in Slack. Setup is read-only, takes about five minutes, and starts with a free 14-day trial. Why we publish it: the meter came back.

Related reading

References

Share this post

Send it to someone managing cloud or AI spend.

LinkedInX

Know where your cloud and AI spend stands — every day.

Connect providers in minutes. Get 90 days of visibility and start receiving daily cost updates before the invoice lands.

14-day free trial. No credit card required. Plans from $29/month.
LLM Model Pricing (August 2026) — StackSpend Blog