LLM API Pricing Comparison 2026 - Featherless.ai

Choosing the model with the lowest price per token won’t always give you the lowest monthly bill. Your bill depends on how many tokens you use, not only on the rate you pay for each one. And once your team uses enough tokens, a dedicated node at a flat monthly price can cost less than any per token rate.

This LLM API pricing comparison puts every major closed and open model’s price in one table. You’ll also find a calculator that shows when a dedicated node costs less than paying per token.

LLM API pricing table

All prices are in USD per million tokens, at standard rates for prompts under each model’s long-context limit.

ProviderModelInputOutputCached inputSource
OpenAIGPT-6 Astra$10.00$50.00$1.00OpenAI pricing
OpenAIGPT-6.1 Sol$2.00$10.00$0.10OpenAI pricing
OpenAIGPT-6.1 Terra$1.00$5.00$0.05OpenAI pricing
OpenAIGPT-6 Luna$0.10$0.50$0.01OpenAI pricing
AnthropicClaude Fable 5.2$8.00$40.00$0.20Anthropic pricing
AnthropicClaude Opus 5.5$4.00$20.00$0.20Anthropic pricing
AnthropicClaude Sonnet 5.5$2.00$10.00$0.10Anthropic pricing
AnthropicClaude Haiku 5.5$0.10$0.50$0.01Anthropic pricing
GoogleGemini 4 Argon*$2.00$10.00$0.10Gemini API pricing
GoogleGemini 3.1 Pro$2.00$12.00$0.20Gemini API pricing
GoogleGemini 3.8 Flash**$0.75$3.75$0.075Gemini API pricing
GoogleGemini 3.5 Flash-Lite$0.30$2.50$0.03Gemini API pricing
Moonshot AIKimi K3.1 Pro (open)$2.00$10.00$0.20Kimi API pricing
AlibabaQwen3.8-Max (open)$2.00$6.00$0.25Alibaba Cloud Model Studio
Z.aiGLM 5.3 (open)$1.40$4.40$0.26Z.ai pricing
DeepSeekDeepSeek V4.1 Flash (open)***$0.30$1.20$0.006DeepSeek pricing
MiniMaxMiniMax M3.1 Flash (open)$0.15$0.60$0.015MiniMax pricing

* Google’s introductory price for Gemini 4 Argon ends on 30 November 2026. From 1 December, it’s $4.00 input, $20.00 output, and $0.20 cached input.

** Gemini 3.8 Flash moves to $1.50 input and $7.50 output on 1 January 2027.

*** DeepSeek charges these rates during weekday peak hours (01:00 to 04:00 and 06:00 to 10:00 UTC). It charges half at all other times.

Open models are listed at their makers’ own API prices. You can also run them, and 50,000+ other open models, on Featherless.

Now that you’ve seen what the pricing looks like for many LLM APIs, here’s a look at how token pricing works.

How token pricing works

You pay one rate for the tokens you send to the model and another rate for the tokens in its response. Your bill is split across three types of tokens:

  • Input tokens: Everything you send, including the system prompt, chat history, documents, and tool results.
  • Output tokens: Everything the model writes, including reasoning on thinking models. Output costs 5x input on every Claude and OpenAI model in the table, and Google notes that its output prices include thinking tokens.
  • Cached input tokens: Input the provider has seen recently, such as a system prompt you reuse across calls. Anthropic charges $0.10 per million cached tokens on Claude Sonnet 5.5, against $2.00 for fresh input.

Here's one request to GPT-6.1 Sol with 3,000 input tokens and 500 output tokens:

  • Input: 3,000 × $2.00 per million = $0.0060
  • Output: 500 × $10.00 per million = $0.0050
  • Total: $0.0110

Now say 2,000 of those 3,000 input tokens are a system prompt you send with every request. After the first request, the provider caches that prompt. On every request after that, those 2,000 tokens are billed at GPT-6.1 Sol’s cached rate of $0.10 per million instead of $2.00:

  • Fresh input: 1,000 × $2.00 per million = $0.0020
  • Cached input: 2,000 × $0.10 per million = $0.0002
  • Output: 500 × $10.00 per million = $0.0050
  • Total: $0.0072

The same request now costs 34.5% less.

What drives inference cost

Your inference cost depends on the following four factors:

  • Model size: Bigger models charge more per token. GPT-6 Astra costs $10.00 per million input tokens, and GPT-6 Luna costs $0.10.
  • Prompt length: You pay for every token in your prompt, every time you send it. Some models also charge a higher rate once a prompt passes a set length. Claude Haiku 5.5 charges $0.10 per million input tokens for prompts up to 100K tokens and $0.50 above that. Gemini 3.1 Pro goes from $2.00 to $4.00 above 200K tokens.
  • Answer length: Output tokens cost more than input tokens, so long answers raise your bill. Providers also bill a thinking model’s reasoning as output, even though you don’t see it in the reply.
  • Context sent again: An agent sends the whole conversation again at every step. Say your agent takes 40 steps and sends 5,000 tokens each time. That’s 200,000 input tokens for one task.

Cheapest LLM API by use case

GPT-6 Luna is the cheapest LLM API in our comparison, across all four use cases we priced. If you want an open model, MiniMax M3.1 Flash is the cheapest in every use case.

Here’s how we got there. We picked four common use cases and estimated how many tokens each one uses per task. Then we worked out what 1,000 tasks would cost on each model.

Cost per 1,000 tasks by model (USD, tokens per task in brackets)

ModelCoding agentSupport chatLong documentBatch processing
Tokens per task(40 requests × 5K in / 10K out)(3K in / 400 out)(150K in / 2K out)(2K in / 200 out)
GPT-6 Luna$25.00$0.50$16.00$0.15
Claude Haiku 5.5$25.00$0.50$80.00$0.15
MiniMax M3.1 Flash$36.00$0.69$23.70$0.42
DeepSeek V4.1 Flash$72.00$1.38$47.40$0.84
Gemini 3.5 Flash-Lite$85.00$1.90$50.00$0.55
GLM 5.3$324.00$5.96$218.80$3.68
Claude Sonnet 5.5$500.00$10.00$320.00$3.00
Kimi K3.1 Pro$500.00$10.00$320.00$6.00

Keep three things in mind when you read these numbers:

  • Cheapest doesn’t mean best: A cheap model may not handle your task as well as a more expensive one. Try the cheapest options on your own prompts before you switch.
  • The token counts are estimates: We used typical numbers for each use case. Your real usage may be higher or lower, so check your own logs.
  • Caching isn’t included: If you use caching, your costs will be lower, especially for coding agents. Only the batch processing column includes discounts.

How to reduce LLM API costs

Once you know what drives your bill, you can start cutting it. These five changes reduce LLM API costs:

  • Cache repeated context: If you send the same system prompt or documents with every request, the provider can cache them and bill them at a lower rate. Cached input costs 95% less than fresh input on Claude Sonnet 5.5 and GPT-6.1 Sol. To get this discount, put the parts of your prompt that don’t change at the start.
  • Shorten your prompts: You pay for every prompt token on every request, so a shorter prompt means a smaller bill. Trimming a system prompt from 3,000 to 1,500 tokens saves $3,000 for every million requests on Claude Sonnet 5.5.
  • Use smaller models for easy tasks: Tasks like sorting support tickets or pulling fields from a form may not need a large model. Claude Haiku 5.5 costs 20x less than Claude Sonnet 5.5 for both input and output.
  • Use batch APIs: If a task doesn’t need an answer right away, send it through a batch API. Anthropic, OpenAI, and Google charge 50% less for batch requests, and DeepSeek charges half outside its weekday peak hours.
  • Switch to open models: Open models on Featherless cost less per token than closed models in the same range. GLM 5.3 costs $1.40 per million input tokens and $4.40 per million output tokens on Featherless. That's 30% less on input and 56% less on output than Claude Sonnet 5.5. Against Claude Opus 5.5, it's 65% less on input and 78% less on output. Test it on your own tasks before you move production traffic.

Per token vs Dedicated node: Which one should you choose

Choosing between per token and dedicated node depends on how many tokens your team uses each month. To understand the math better, we’ll compare per token cost and dedicated node cost with Featherless.

At Featherless, you can pay per token on our serverless API, or rent dedicated GPUs that run only your workload at a flat monthly price.

Here’s how the two compare for a team paying for Claude Opus 5.5 today versus running GLM 5.3 on a Featherless half node:

Claude Opus 5.5 per token vs GLM 5.3 on a dedicated node

VolumeTokens per dayOpus 5.5 per monthHalf node per monthCheaper option
Low5 million$840$7,500Per token
Medium50 million$8,400$7,500Node
High200 million$33,600$7,500Node

We kept the math simple here: 90% input, 10% output, and no caching. That puts Claude Opus 5.5 at a blended $5.60 per million tokens (90% × $4.00 + 10% × $20.00). If you cache a lot, your Opus bill will be lower, and your break-even will move up.

At $5.60 per million tokens, $7,500 buys you 1.34 billion Opus tokens a month, or about 45 million a day. That’s your break-even point.

If your team uses fewer than about 45 million tokens a day, per token pricing is cheaper. At 5 million tokens a day, for example, your Opus bill comes to $840 a month, so paying per token makes more sense.

Once you go past about 45 million tokens a day, the node becomes the cheaper option. That’s because your Opus bill keeps growing with every token you use, while the node price stays at $7,500. At 50 million tokens a day, your Opus bill comes to $8,400, so the node already saves you $900 a month. At 200 million tokens a day, your Opus bill would be $33,600, so the node saves you $26,100 a month.

These examples use one model and one token split. To see the numbers for your own team, use the calculator we built at Featherless.

Claude Opus 5.5 vs GLM 5.3 on Featherless: per-token cost with caching

GLM 5.3 on Featherless costs less per request than Claude Opus 5.5, even after the Opus caching discount. To compare them, we used the same request from the token pricing section. It has 3,000 input tokens, of which 2,000 are a cached system prompt, and 500 output tokens.

Cost of one request: Claude Opus 5.5 vs GLM 5.3 on Featherless

Token typeClaude Opus 5.5 (with caching)GLM 5.3 on Featherless
Fresh input (1,000 tokens)$0.0040$0.0014
Cached input (2,000 tokens)$0.0004$0.0028
Output (500 tokens)$0.0100$0.0022
Total per request$0.0144$0.0064
Per 1 million requests$14,400$6,400

We billed every GLM 5.3 input token at the full $1.40 rate, with no cache discount. Even so, GLM 5.3 costs 56% less per request. Output makes up the biggest part of the gap. Opus charges $20.00 per million output tokens, while GLM 5.3 charges $4.40.

The gap gets smaller as more of your input comes from cache, because Opus charges $0.20 per million cached tokens. If your agents reuse long contexts, compare the two on your own token mix. GLM 5.3 also isn't the same model as Opus, so test it on your own tasks first.

At high volume, a dedicated node can bring the GLM 5.3 cost down further.

Featherless dedicated capacity calculator: pick the model you pay for today, number of developers, agents per developer, when agents run and dedicated instances

If your usage is close to the break-even point or already above it, talk to an engineer. We’ll tell you which node your model needs and send you a price for your traffic.

FAQs

What is the cheapest LLM API?

GPT-6 Luna is the cheapest LLM API in our comparison, at $0.10 per million input tokens and $0.50 per million output tokens. Among open models, MiniMax M3.1 Flash is the cheapest.

How are tokens priced?

Providers charge per million tokens, with separate rates for input, output and cached input. Output costs more than input, and cached input costs the least.

Is open source cheaper than closed models?

Not always. MiniMax M3.1 Flash costs $0.15 per million input tokens, but Kimi K3.1 Pro costs $2.00, the same as Claude Sonnet 5.5.

When is a dedicated GPU cheaper than an API?

When your monthly per token bill is higher than the node’s flat price. For a team on Claude Opus 5.5, a $7,500 Featherless half node becomes cheaper above about 45 million tokens a day.

How can I reduce LLM API costs?

Cache repeated context, shorten your prompts and use smaller models for easy tasks. You can also use batch APIs for work that can wait, or switch to open models.

Start building under 3 minutes