AI Token Cost: 7 Things the Price per Token Doesn’t Tell You

Alex Chiang

Chief Revenue Officer, NXIO

Published

Updated

A founder at a desk with two monitors of code throws up their hands. Two printers marked A and B print AI token bills for the same task: one short, one very long.

You want to buy AI tokens, so you open two websites that sell them.

Both companies sell access to the same LLMs, the AI models you need, through one single API. You look at the pricing and see that one charges less per million tokens.

Would you pick the cheaper one? I believe most people would.

Here comes the tricky part…

To be safe, you run a test. When the bill comes, you find out that the cheaper one can cost you more overall.

How does that happen? They did the same job, so why did the cheaper price per token end up secretly costing more?

That is exactly what I want to show you.

Here is the short answer: the price per token is only the sticker. Your real bill depends on what the sticker doesn't show, like whether you actually get the discount for repeated text, or how many times you have to pay for a "redo" before getting a good answer.

To get you real answers, we ran several tests of our own. We also compared the prices of 17 LLMs from seven different model makers, and wrote down what we found. If you're curious, read on!

17

models compared

7

model makers

$0.10 to $50

for 1 million tokens, cheapest input to dearest output

28×

Same request, sent twice. The first one cost about 28 times as much.

Hi there, thank you for reading. We are NXIO, the publisher of this blog, and we sell API access to open LLMs.

To keep our comparison fair, we didn't use our own prices anywhere. Every price below comes straight from each model maker's own pricing page, like OpenAI, Anthropic and DeepSeek, checked in November 2026.

So here's one test we did.

We took one long text, as long as the conversation you have with an AI agent going back and forth, about 13,000 words long, and we sent that same text to NXIO 100 times.

Between some of the chats, we took breaks. First we waited for one minute, then six minutes, then twelve…

We took the breaks because of something called prompt caching. When you send the same text again, the provider can reuse the work it already did on it, so it charges you much less for that part.

Depending on the model maker, that repeated text costs only 2% to 20% of the normal price. If you want the full story, we wrote a whole post on prompt caching.

We test it, so you don’t have to
We keep running tests like this one on AI models and the companies that sell them. Leave your email and we’ll send you what we find, including what actually showed up on the bill.
Unsubscribe any time.

I expected the caching discount to be gone after a 12-minute break, but it was still there. All 100 requests got the lower cached price. Not a single one paid full price.

But the very first time you send a text to an LLM, there is nothing to reuse yet, so you pay the full price.

We had run the same test once before on a fresh start, and there, the first request cost about 28 times as much as the same request with the discount.

And that is actually one answer to our question from the start. The cheaper website can still cost you more if it doesn't give you this discount, or if the discount doesn't kick in.

For example, if too much time passes between your requests, the provider no longer remembers your text, and you pay the full price again.

By the end of this blog, you'll know what to ask before you purchase LLM tokens, and how to compare bills from different providers. Here are the seven things the sticker price doesn't tell you:

  1. Will you get the cached discount?

  2. Is it the full model, or a compressed copy that can answer differently?

  3. Does your whole prompt go through, or does the answer get cut off?

  4. How long does the model make you wait?

  5. What happens when your provider is busy?

  6. If you buy at a discount, can your job be stopped halfway?

  7. How much does a finished task cost?

You don't need all seven. Jump to the one that worries you.

How much do AI tokens cost?

In November 2026, input tokens, the text you send to a model, cost US$0.10 to US$10.00 per million. Output tokens, the text the model writes back, cost US$0.50 to US$50.00 per million.

A token is a small piece of text, about a word or part of a word. I explain it properly further down.

On every row of the two tables below, output tokens cost 3 to 6 times as much as input tokens. So how much your model writes matters, even before we get into anything complicated.

The tables also have a column called cached input. That is the repeated text from our test at the top, the part the provider (the company selling you access to the model) can reuse. Cached input has its own price, so it gets its own column.

AI token prices by model maker, November 2026

Every price is in US dollars, for one million tokens, and a model maker is simply the company that builds the model.

For Google, I used the paid plan. For Claude Haiku 5.5, the price is for prompts of up to 100,000 tokens. Longer prompts cost more, and I come back to that in check 3.

Model maker

Model

Input

Cached input

Output

Source

OpenAI

gpt-6-astra

10.00

1.00

50.00

OpenAI prices

OpenAI

gpt-6.1-sol

2.00

0.10

10.00



OpenAI

gpt-6.1-terra

1.00

0.05

5.00



OpenAI

gpt-6-luna

0.10

0.01

0.50



Anthropic

Claude Fable 5.2

8.00

0.20

40.00

Anthropic prices

Anthropic

Claude Opus 5.5

4.00

0.20

20.00



Anthropic

Claude Sonnet 5.5

2.00

0.10

10.00



Anthropic

Claude Haiku 5.5

0.10

0.01

0.50



Google

gemini-4-carbon

2.00

0.10

10.00

Google, Gemini API pricing page

Google

gemini-3.8-flash

0.75

0.075

3.75



The second table works the same way. Where DeepSeek shows two numbers, the first is the peak-hours price and the second is off-peak.

For Alibaba Cloud, I used its International deployment and requests of up to 1M input tokens. Its cached input is shown as a percentage of the input price.

Model maker

Model

Input

Cached input

Output

Source

DeepSeek

deepseek-flash (DeepSeek-V4.1-Flash-1017)

0.30 / 0.15

0.006 / 0.003

1.20 / 0.60

DeepSeek prices

DeepSeek

deepseek-v4-pro (DeepSeek-V4-Pro-0813)

1.32 / 0.66

0.044 / 0.022

3.96 / 1.98



Moonshot AI

kimi-k3.1-pro

2.00

0.20

10.00

Moonshot AI, model pricing page

Z.ai

GLM-5.3

1.40

0.26

4.40

Z.ai, pricing page

Z.ai

GLM-5.3-Flash

0.15

0.03

0.50



Alibaba Cloud

qwen3.8-max

2.00

not published

6.00

Alibaba Cloud, model inference pricing page

Alibaba Cloud

qwen3.8-27b

0.50

10% (explicit cache) to 20% (implicit cache)

3.00



I checked these prices on 11 November 2026, and they are the prices the model makers publish themselves. But AI token pricing also needs a clock and a calendar beside it.

The clock is for DeepSeek. Its peak hours are 01:00 to 04:00 and 06:00 to 10:00 UTC, Monday to Friday, excluding Chinese public holidays, and all other hours cost half as much.

The calendar is for Google. Its gemini-4-carbon prices double on 1 December 2026, and gemini-3.8-flash prices double on 1 January 2027, so a saved price without a date can mislead you.

Alibaba Cloud has two ways to cache, which means to keep your text for reuse. In one, you ask for the cache yourself (explicit). In the other, it happens automatically (implicit).

For qwen3.8-27b, cached input costs 10% of the input price the first way and 20% the second. Creating an explicit cache costs 125% of the input price, and it lasts 5 minutes from the last use. The rate for qwen3.8-max is not published.

What this means for you

Output is the expensive side: 3 to 6 times the input price on every row. Check how much your model writes before you compare input prices.

Is a subscription cheaper than paying per token?

For one person doing their own work, it can be, because a subscription goes a very long way. It is a different story once you build something for your customers.

Maybe you already pay US$20 or US$200 a month for Claude, ChatGPT or Gemini, and you wonder why anyone would pay per token at all.

I think of a subscription as a buffet. You pay once and you eat as much as you like, up to a limit, and the limit comes back on a schedule. Anthropic, for example, counts your use in five-hour sessions and in weeks.

The API, which is how an app sends requests straight to a model, is more like a restaurant that charges you for every dish. Nobody stops you, but everything you order is on the bill.

Claude Code can show you what a session would have cost at API prices, and the first time I looked at that number, it was more than I pay for the whole month.

So the API is there for a different job. A subscription is made for you, one person. The moment you build an app, or an agent that does tasks for your customers, you need the API, and then every token is on your bill. That is when the seven checks in this article start to matter.

One more thing if you are on a bigger plan. In November 2026, some of them came with API credits included, money you can spend on the API.

Anthropic's US$200 plan included US$200 of API credits a month, and so did OpenAI's US$200 plan. You have to claim them yourself though, and what you do not use is gone at the end of the month.

This is also why NXIO exists.

We sell API access to open models, the models whose makers publish them for anyone to run. For a lot of everyday jobs they are now good enough, and they cost far less than the biggest models.

So the people who build with AI rarely use one model for everything. They mix and match: one model for the hard thinking, and a cheaper one for the simple work that repeats all day.

If you want to try that, join the NXIO launch. Our first 100 customers get bonus credits on their first top-up.

How does your token bill work?

Your bill counts tokens in separate groups, each with its own price: ordinary input, cached input, stored text and output. Then it adds any fees that are not tokens at all, so your AI token cost is really a few small bills added together.

Here is what each line on your bill means.

Line on your bill

What it is

How it is priced

Ordinary input

New text you send to the model.

The input price in the price tables above.

Cached input

Repeated text the provider can reuse from an earlier request.

Its own lower price, 2% to 20% of the normal price depending on the model maker.

Stored text

Text the provider keeps so it can reuse it later.

Some model makers charge extra to store it. Check 1 has the numbers.

Output

The text the model writes back, including its hidden thinking.

The output price, 3 to 6 times the input price on every row of the price tables.

Fees that are not tokens

Extras such as web search calls.

Their own price, outside the rates per million tokens.

What is a token?

A token is a small piece of text, perhaps a word, part of a word, a number or a punctuation mark.

Moonshot AI says normal English uses roughly 3 to 4 characters per token, but that is only a guide, because the size changes from model to model.

Anthropic says Claude 4.7 and later models cut the same text into approximately 30% more tokens than earlier models, with the increase depending on the content.

Here is a made-up calculation. Say your page counts as 1,000 tokens on one model and 1,300 on another. At equal rates, the second costs you 30% more for that page, because models count the same text differently.

Input vs output tokens: what else is on the bill?

Input vs output tokens is only the first split on your bill. Look at the fees too.

In November 2026, OpenAI charged US$10.00 per 1,000 web search calls and Anthropic US$10.00 per 1,000 searches, plus search-result tokens. Those fees sit outside the rates per million tokens.

Google's output billing also includes thinking tokens, the model's hidden working before it answers, on top of the answer you see.

How do the groups add up?

Here are three calculations. They use DeepSeek's public deepseek-flash prices from November 2026, per million tokens, and each covers 1,000 requests with 2,000 input and 500 output tokens each. They are worked examples from the price list.

Calculation

Ordinary input charge

Cached input charge

Output charge

Total bill

Peak, no cached input

US$0.60

US$0

US$0.60

US$1.20

Peak, 1,500 cached input tokens per request

US$0.15

US$0.009

US$0.60

US$0.759

Off-peak, no cached input

US$0.30

US$0

US$0.30

US$0.60

Where do you see this in your own account?

You can inspect usage in API responses (the replies your app gets back) and on the provider's usage page. Anthropic names its Claude Console, while OpenAI provides a Prompt Caching Dashboard for cache hit rates, meaning how often your text was reused.

Check what detail you actually get, though. If you see no cached-token line, nothing proves that any tokens received a cached price, and a count still needs its matching charge.

A table from NXIO's usage page. Nine requests, each with 17,046 input tokens, of which about 16,900 are marked as cached.

NXIO’s usage page after our test. Each row is one request: the tokens that went in, the tokens that came out, and how many of them were cached.

What this means for you

Your bill is a few small bills added together. Find the cached tokens line on yours. Then find the charge that goes with it.

For developers: what the usage record looks like

If you do not write code, skip to check 1. You only need one thing from this part: two providers can give a number the same name and still count it differently.

Your API response carries a small receipt called the usage record. Here is a real example for a second request, taken from OpenAI's "Prompt caching" guide:

{
  "usage": {
    "input_tokens": 15000,
    "input_tokens_details": {
      "cached_tokens": 12000,
      "cache_write_tokens": 3000
    }
  }
}

And this one is from Anthropic's pricing page, for a request that also used web search:

{
  "usage": {
    "input_tokens": 105,
    "output_tokens": 6039,
    "cache_read_input_tokens": 7123,
    "cache_creation_input_tokens": 7345,
    "server_tool_use": {
      "web_search_requests": 1
    }
  }
}

OpenAI includes the 12,000 cached and 3,000 stored tokens inside its 15,000 input tokens, so its ordinary input is 15,000 minus 12,000 minus 3,000, which leaves zero.

Anthropic counts its 7,123 cached tokens beside the 105 input tokens. The field name is the same, but the counting rules are different.

DeepSeek's "Context Caching" guide instead names prompt_cache_hit_tokens and prompt_cache_miss_tokens, which separate input that received the cached price from input that did not.

Here is a real usage record from one of our NXIO test requests, with the request IDs removed.

{
  "usage": {
    "prompt_tokens": 2871,
    "completion_tokens": 41,
    "total_tokens": 2912,
    "prompt_tokens_details": {
      "cached_tokens": 2688
    },
    "completion_tokens_details": {
      "reasoning_tokens": 38
    }
  }
}

The cached_tokens line under prompt_tokens_details is the reused input: 2,688 of this request's 2,871 input tokens.

Notice that this usage record has no cost field. To find the charge, we had to match it to NXIO's stored record for the same request.

1. Will you get the cached input discount?

You get it only when your text qualifies and your provider passes the lower price on to you. A model maker's cached price tells you nothing about what another provider will charge for the same model.

Cached input is the proper name for that repeated text. When your next request starts with exactly the same text, the provider reuses its earlier work and bills that part at a much lower price.

Most apps send the same opening text again and again: your instructions to the model, the description of your tools, or a long document your user keeps asking about. It is like handing a cook the same recipe card every time you ask about dinner.

A founder hands a recipe card to a robot chef who already has a tall stack of the same recipe. A sign reads: same again.

I said at the top that cached input costs 2% to 20% of the normal price. The 2% is DeepSeek, which in November 2026 charged US$0.006 per million tokens for cached input on deepseek-flash at peak hours, against US$0.30 for new input.

So if your app sends the same instructions 1,000 times, this one line can matter more than a small difference in the headline price.

The catch is that you only get that price if three things go your way.

First, your text has to qualify. The repeated part must sit at the very start of the request and match exactly. OpenAI also sets a minimum on GPT-5.6 and later models, where the repeated part must be at least 1,024 tokens long. And DeepSeek says plainly that reuse is best effort, so it may not happen on every request.

Second, the provider only remembers for a while. Moonshot AI remembers for 5 minutes by default, Anthropic lets you choose 5 minutes or 1 hour, and OpenAI offers 30 minutes or 12 hours. If your requests arrive further apart than that, the memory may be gone, and you pay the full price again.

Third, remembering can cost money. Anthropic charges 1.25 times the input price to store your text for 5 minutes, and 2 times to store it for 1 hour. OpenAI charges 1.25 times for 30 minutes and 2.5 times for 12 hours. DeepSeek's price page lists no storing charge.

That is seven model makers and almost as many sets of rules. I know, it is a lot.

Two requests. The second starts with the same text as the first; that matching part is marked as cached input and the rest as new input.

Only the part that matches the earlier request exactly gets the cached price.

Now back to our test from November 2026, the 100 requests to NXIO. I left a few details out at the top. The text was about 17,000 tokens (the 13,000 words from the top), roughly what an AI agent sends when it carries its instructions and a long conversation along with every request.

We sent the requests one at a time, in four groups of 25, and the breaks came between the groups, because we wanted to know how long the provider remembers.

All 100 got the cached price, like I said. And in each one, about 99% of the input was billed as cached input.

The full-price requests came from the earlier run on a completely fresh start. The 100-request run did not start fresh. The provider already had our text stored, so even its first request got the discount. Remember this part: the first time is always full price, and if your requests arrive too far apart, every time can be the first time.

100 of 100

requests billed at the cached price

99%

of each request’s input billed as cached

17,000

tokens in each request, about

We also sent the same 100 requests straight to DeepSeek, the company that makes the model, and saw the same pattern. The first request paid the full price and the other 99 got the cached price.

So before you count any saving, ask your provider whether it passes the cached price on, how long it remembers your text, and whether storing costs extra. Then look for the cached tokens line on your own bill.

2. Is it a quantized model, a compressed copy that can answer differently?

You cannot tell from the model's name, so you need a written description of the model that is actually being served. A quantized model is a compressed copy that stores its numbers with fewer digits, and that can change its answers.

You do not need the math for this. Think of a model as a very large table of numbers.

Keeping fewer digits for each number takes less room, so the model needs less storage. That is the basic idea behind LLM quantization. I am only describing the idea here, and I make no claim about any model or provider.

Hugging Face's documentation describes this as storing the model's weights, the proper word for those numbers, with lower precision. It reduces memory needs and can reduce accuracy.

So the practical question for you is what actually answers your request. A familiar name in your app is not enough to settle that.

DeepSeek gives a concrete example. It still accepts the old names deepseek-v4-flash and deepseek-v4-flash-vision-exp, although those models are retired; requests using them are served by DeepSeek-V4.1-Flash-1017.

To be clear, that is a documented version change. It tells you nothing about whether a model is quantized.

And if two answers differ, that alone does not prove anything about the stored numbers. You still need the version, settings and written format disclosure before drawing that conclusion.

If you do not know, write "unknown" and leave it. Then judge the answers against your own fixed requirements. Ask for the exact version and format in writing, and keep that answer beside the quote.

In our test run, 5 of 5 made-up JSON extraction tasks passed on the first try. (JSON is a strict format that software can read.)

That tells you the answers were usable for this task. It does not tell you the model's numerical format.

3. Does your whole prompt fit the context window, or does the answer get cut off?

Your prompt goes through only if it fits in the context window with room left for the answer. The context window is that total room, what you send plus what comes back, and an answer that hits a limit before it finishes simply stops.

Picture a suitcase. Filling it with your documents leaves less space for anything else, and the number on the label does not tell you every rule about what can go inside.

DeepSeek lists a context length of 1M tokens and a maximum output of 384K tokens for both listed models. Moonshot AI lists a context window of 1,048,576 tokens for its K3 series.

Those are different limits to keep track of, and a large window does not promise an answer of any length.

The size of your request can change the bill as well. In November 2026, Claude Haiku 5.5 charged US$0.10 input and US$0.50 output per million tokens for prompts up to 100,000 tokens.

Above that boundary, the rates were US$0.50 input and US$2.50 output per million tokens, which is 5 times as much. Anthropic says the higher prices apply even when part of the prompt is a cache hit (text reused from an earlier request).

So adding one more document can change more than whether your request fits.

Alibaba Cloud also says some models use request-size tiers: the total input decides the tier, and all tokens in that request use that tier's price.

In our long-input test, we sent 5,760 input tokens with markers at the start and end, and both markers came back.

Now the cut-off part. Think of work you pay for but never see on the page. Reasoning tokens are the model's hidden thinking, counted and billed as output.

In our cut-off test, we set max_tokens, the cap on how much the model may write, to 16. All 16 output tokens were reasoning tokens, and the answer stopped with finish reason "length", which means it hit that cap.

At the limit, the AI does not finish the job. It stops.

So the model spent its whole limit on hidden thinking, and we got no answer at all.

16

tokens allowed by our max_tokens cap

16

tokens spent on hidden reasoning

0

visible words in the answer

Across all 10 requests in that run, most output tokens in every request were reasoning tokens. So the answer you can see does not show you all the output you paid for.

My advice is to take your longest useful task to the provider and find out both its room limits and its price boundary before you send a whole collection of documents.

Be one of NXIO's first 100 launch customers
You will get bonus credits on your first top-up and a direct line to the team, in return for your feedback.

4. How long does the model make you wait (time to first token)?

You cannot get that answer from the price pages. We found no speed number on any of the seven, so you have to measure the wait yourself, under conditions that matter to you.

There are two waits. The first is the pause before the answer starts appearing, called time to first token, or TTFT as developers shorten it.

The second is how quickly the rest arrives, counted in output tokens per second. An answer starting is not the same as an answer finishing.

I bring up waiting because the makers sell speed separately. In November 2026, OpenAI priced its Fast lane at 2 times standard and Ultrafast at 6 times standard.

Anthropic's fast mode was 2 times standard, and Moonshot AI's kimi-k3.1-pro-highspeed was 2 times the ordinary version. So you need to know which lane the quote buys.

Write down the time of day next to your results too. DeepSeek's off-peak prices are half its peak prices, but that pricing rule is not a promise that either period is faster.

Say you need the whole answer before you can move on. Then a fast first word does not help you much.

I would record both waits and keep the request size, cached input and number of simultaneous requests alongside them. Otherwise, you may be comparing different jobs without realizing it.

Have each candidate complete the same work, then compare the wait you actually care about with the rate for that exact service.

In our test run, we sent 10 streaming requests, one at a time, from Taiwan. Streaming means the answer arrives piece by piece while the model writes it.

The median time to the first token, the middle value of the ten, was about 2.4 seconds (2,432 milliseconds), and the median speed after it was about 199 output tokens per second.

10

streaming requests, one at a time

2.4 seconds

median wait for the first token, about

199

output tokens per second after that, about

That was one small run from one place, so please treat it as a first look.

5. What happens when your provider is busy and you get a 429 error?

Your request could wait, be refused, be tried again or be sent somewhere else. Only the provider's written policy can tell you which of those it promises when too many requests arrive.

Imagine people reaching a counter at the same moment. Knowing how many the counter can serve does not tell you what happens to the people still waiting.

DeepSeek lists concurrency limits, meaning requests running at the same time, of 2,500 for deepseek-flash and 500 for deepseek-v4-pro.

Its written guidance says requests above its limits can be refused with a 429 error, the code a server sends back for "too many requests". High traffic can also produce a 503 error. A waiting connection gets small messages to keep it open, but closes after 10 minutes if work has not started.

What DeepSeek's pages do not say is whether refused requests are charged.

So you have to ask, because a limit is not a plan for handling the limit.

If your request is refused, does your app try again? And if it does, can you connect the second attempt to the first and see any charge? A low rate cannot answer those questions. The policy and your own records can.

I would also ask whether any change in where the request is sent appears in the record, because you want to know what completed the work you are paying for.

A small trial can help you prepare those questions. It cannot show how a service behaves when it is truly busy, and this article has no such test result.

So save the written policy with its date, and leave any unanswered behavior visible before you make plans around it.

6. Can discounted capacity be interrupted, so your job is stopped halfway?

The discount itself does not tell you. Capacity is the computing power your job runs on, and whether a provider can take it back while your work is running has to come from its written terms.

A lower price almost always has a condition attached, so start by finding the condition you are agreeing to.

Sometimes the condition is that you do not need an answer immediately. That is what batch means: you submit work that can be processed without a real-time answer.

In November 2026, the batch offers looked like this.

Model maker

Batch offer, November 2026

OpenAI

Half-price batch work.

Anthropic

A 50% input and output discount.

Moonshot AI

Supported kimi-k3.1-pro and kimi-k3 batch work billed at 60% of standard.

Alibaba Cloud

50% of real-time rates where a model supports batch calls.

Alibaba Cloud also says the batch discount and cache discount cannot both apply.

So you cannot simply add every advertised saving together. Anthropic also says fast mode is unavailable with its Batch API.

Other conditions are about when you buy. DeepSeek charges half its peak rate outside its specified peak hours, and Google's two listed prices double on 1 December 2026 and 1 January 2027.

Those dates tell you when the rate changes. They say nothing about whether unfinished work can be interrupted.

So keep your deadline and the discount apart. If work stops, who restarts it, when must it finish, and what gets charged?

Get those answers from the completion, cancellation and recovery terms before you choose discounted work for a deadline you cannot move.

7. How much does a finished task cost (cost per finished task)?

Cost per finished task means everything you were billed for all attempts, divided by the number of tasks that passed a test you fixed in advance. Failed and repeated attempts count too.

If I had to make the buying decision on one number, this is the one I would use, because what you are paying for is usable work.

What this means for you

Count every paid attempt, including the ones that failed. Then divide by the number of tasks that passed your test.

Here is a made-up example. Your app asks for names and dates from a document, and your rule says every required field must be correct.

An answer arrives, but one date is wrong. You try again, and this time the answer passes.

You now have one finished task, and both paid attempts belong in its cost.

That sounds obvious when you look at a single task. It is easier to miss when you have a page of token totals and no record of which answers you accepted.

So set the pass rule before you compare providers. If you loosen it for one candidate, you are no longer asking them to finish the same work.

Keep your maximum attempts fixed too. Otherwise, a service can appear to finish more tasks simply because you let it keep trying.

This part is boring, I admit, but it is where the money is. Include paid failures, partial work and separate fees, and state any costs you left out.

If no task passes, there is no cost per finished task to report. Start with a task list and a clear acceptance rule, then connect every billed attempt to that list.

In our own small NXIO run of 10 requests, the 5 made-up JSON extraction tasks all passed on the first try.

One warning about our own bill, though. That run also held requests that were only there to test the cache and the limits, so its total says little about the cost of one finished task.

Which provider costs less for the same finished work?

Provider B wins this made-up example, even though A has the lowest token rates. The cost of AI tokens becomes useful when you connect it to accepted work.

The providers in this table are invented, and so are the numbers. I made them up to show the arithmetic. Each attempt uses 2,000 input tokens and 500 output tokens, and each provider completes 1,000 accepted tasks.

There is no cached input, separate reasoning charge, other fee, tax or human labor in this made-up example. Extra attempts are attempts beyond the initial 1,000.

Made-up provider

Input, US$ per million tokens

Output, US$ per million tokens

Initial attempts

Extra attempts

Total input tokens

Total output tokens

Accepted tasks

Calculated bill

Calculated cost per finished task

A

0.20

0.80

1,000

1,000

4,000,000

1,000,000

1,000

US$1.60

US$0.00160

B

0.30

1.20

1,000

100

2,200,000

550,000

1,000

US$1.32

US$0.00132

C

0.50

2.00

1,000

0

2,000,000

500,000

1,000

US$2.00

US$0.00200

A's lower rate loses its advantage because it takes more paid attempts. C finishes without extra attempts, but it still costs more than B in this calculation.

Bar chart of a made-up example. Provider A US$1.60, provider B US$1.32, provider C US$2.00 for 1,000 accepted tasks each.

Made-up example: provider B costs least for the same finished work.

To work out your own AI cost per token, put your rates per million tokens, average counts, cached share and extra attempts into the formula below. The formula assumes every original task eventually passes and every attempt uses the same counts, so add storing charges and other fees separately when they apply.

Calculation:
cost per finished task = (1+r) × [I × ((1-h) × Pi + h × Pc) + O × Po] / 1,000,000
I, O = average input tokens and output tokens per attempt
h = cached input tokens divided by input tokens
r = extra attempts divided by original tasks
Pi, Pc, Po = input excluding cached input, cached input, output rates
Rates use US dollars per million tokens.
Estimated total bill = cost per finished task × finished task count

What can you check in 10 minutes before you buy?

You can make a useful first comparison in 10 minutes, if your account, usage access and five prepared tasks are ready. Setup time and a bill that arrives later need their own time.

The checklist stays on this page. Keep your unanswered questions on it too, because those are part of the result.

Time

Action

What to keep

0 to 2 minutes

Save the quote, model version, format statement, limits and capacity terms.

Write down the date and anything still unknown.

2 to 6 minutes

Run five prepared tasks with a spending cap; repeat identical opening text if time allows.

Keep request IDs, answers, usage counts, timings and the reason each answer stopped.

6 to 8 minutes

Mark which tasks passed and match the usage categories to their rates.

Note cached input, extra attempts and any charge you cannot explain.

8 to 10 minutes

Calculate cost per finished task and write down missing evidence.

Plan a longer trial and a timing check at another hour.

Please do not rush to declare a winner if the matching charge has not arrived yet. A short comparison helps you decide what to look into next. It cannot settle busy-hour behavior or interruption rights.

What does NXIO do about this?

NXIO sells API access to open models through one OpenAI-compatible endpoint, and it keeps an itemized record of every request. The endpoint is the connection your app uses to send requests and receive answers, and OpenAI-compatible means it takes requests in OpenAI's format.

But access is only part of what you need. You also need to see where the money went.

So NXIO's stored record itemizes every request as uncached input, cached input, cache writes (text being stored for reuse) and output, with its charge in US dollars. You can look up a request later by its ID, and the dashboard shows each request's cost and lets you export it.

That means when you check a bill, you have individual records to work from.

Each API key, the secret code your app signs in with, can also have its own US dollar spending limit. And requests that fail at the model's end are not charged.

Those are the things I would want you to use: the records, the spending limit and your own pass rules. Put your work through NXIO, check the answers, and see what that work costs you.

Join the launch

We would love you to be one of NXIO's first 100 launch customers. You will get bonus credits on your first top-up and a direct line to the team, in return for your feedback.

Bring the work you actually need to finish, and tell us what needs to be clearer. That feedback is what we are asking for.

Leave your name and email in the form below, and we will send you the launch offer.

Go back to those two websites

So, back to where we started. You still have the same buying decision in front of you: two providers, two prices, and work you need to finish.

But now you have a better question to ask: what will usable work cost you?

I would make the decision around cost per finished task. A low token rate is worth considering, of course, but your real AI token cost only shows up with the counts, the conditions and the accepted answers beside it.

You do not have to resolve everything today. Start with the 10-minute checklist, save the evidence you can get, and write down what is still missing.

Then go back to those two websites with your own task results. You will have something more useful to compare than two attractive numbers.

Limits of this article

Prices are a snapshot from November 2026 and can change; two Google prices have set end dates.

Our tests were three NXIO runs in November 2026: one of 10 requests, one of 100, and an earlier run of the 100-request test on a fresh start, which we stopped early. The small one covers five JSON tasks, a 5,760-token input with start and end markers, an answer cut off by max_tokens 16, time to first token and the speed after it. The big one and the earlier one cover cached input only. The 28 times figure comes from the earlier one. We repeated the cached input test once with DeepSeek, and we compared nothing else with other providers.

We measured nothing about busy times, interruption or numerical format.

The worked examples are calculations. Nobody was billed for them. The price tables cannot tell you about speed, busy behavior, interruption rights or numerical format. Those answers still need written evidence and, where appropriate, a test.

References

Three price pages are linked in the price tables: OpenAI, Anthropic and DeepSeek. The other pages are named here without links.

  • OpenAI, Pricing, read 11 November 2026.

  • Anthropic, Pricing, read 11 November 2026.

  • Google, Gemini API pricing, read 11 November 2026.

  • DeepSeek, Models & Pricing, read 11 November 2026.

  • Moonshot AI, Model pricing, read 11 November 2026.

  • Z.ai, Pricing, read 11 November 2026.

  • Alibaba Cloud, Model inference pricing, read 11 November 2026.

  • Anthropic, help pages on the Ultra plan, usage limits, monthly API credits and Claude Code costs, read 13 November 2026.

  • OpenAI, help page on the API credits benefit for eligible ChatGPT subscriptions, read 13 November 2026.

  • OpenAI, “Prompt caching” guide, read 11 November 2026.

  • DeepSeek, “Context Caching” guide, read 11 November 2026.

  • Alibaba Cloud, Context cache documentation, read 11 November 2026.

  • Hugging Face, Transformers quantization documentation, read 11 November 2026.

  • DeepSeek, busy-time guidance, read 11 November 2026.

  • NXIO, Usage & billing, Authentication and Chat completions docs, and Terms of Service, read 11 November 2026.

Frequently asked questions

How much does one million tokens cost?

It depends on which tokens you mean. In November 2026, Moonshot AI listed kimi-k3.1-pro at US$2.00 per million tokens for input and US$10.00 for output. AI token prices always need a category beside them, so separate what you send from what comes back before you calculate your bill.

How much do 1,000 tokens cost?

Divide the relevant rate per million tokens by 1,000. In November 2026, DeepSeek's deepseek-flash peak input rate was US$0.30 per million tokens, which gives a calculated US$0.00030 for 1,000 ordinary input tokens. Output, cached input and separate fees still need their own counts and rates.

Why can a short AI answer produce a larger bill?

Because the answer you see is only part of what you pay for. Google says output billing includes thinking tokens, so a short answer does not reveal all billed output. You may also have sent a long input or paid for another attempt. Read the usage record before you judge the bill by the length of the answer.

Which open model is cheapest for your app?

You cannot settle that from a label or a price table. Give each candidate the same work, the same acceptance rules and the same limit on attempts, then divide all billed spend by accepted tasks. The lowest result wins under those conditions. It does not name a winner for every app.

Are open models free to use through an API?

A licensing label does not promise free API access. Alibaba Cloud lists qwen3.8-27b under “Qwen (open source).” In November 2026, its International deployment cost US$0.50 input and US$3.00 output per million tokens for requests up to 1M input tokens. So you still need to budget for that usage.

How do you estimate your monthly API bill?

Start with the measured bill for tasks that look like your real work, then multiply by the monthly volume you expect. Keep extra attempts, cached input and separate fees in the estimate. Then calculate a second version with less reuse or more attempts, so your plan does not depend on every request going exactly as hoped.

Written by

Alex Chiang

Chief Revenue Officer, NXIO

Alex has been an entrepreneur for 18 years, and AI is the part of his work that excites him most. He helps companies bring new technology into the way they really work. He also loves helping people learn the newest AI tools, in plain and practical steps.

Headshot of *Designer Name*

Need more info?
Contact us for more details.

Need more info?
Contact us for more details.

Learn more about how NXIO can help with your next steps in your AI journey.

Learn more about how NXIO can help with your next steps in your AI journey.