EN ▾
Get your key

Cheap Claude Tokens: Per-Million Math for Real Tasks

Cheap claude tokens are only cheap if the price per million fits the way you use them. Here is the arithmetic for six common tasks at $0.15 per 1M input and $0.50 per 1M output tokens, and a formula you can run with any other provider's rates.

Last updated

Key takeaways

  • Cost per request = input tokens x input rate / 1,000,000 + output tokens x output rate / 1,000,000.
  • A chat turn of 3,000 tokens in and 300 out costs $0.0006 on this API; a 20,000-token document summary costs $0.00325.
  • Resending chat history makes cost grow faster than message count.
  • A low price per token does not help if the answer needs several attempts, so measure cost per usable result.
Conveyor belt of glowing blocks entering a precision scale, illustrating per-million token cost arithmetic

The formula

Every provider that bills per token uses the same shape: one rate for input, one for output, both quoted per million tokens. Here those rates are $0.15 and $0.50. To compare any other service, copy the two numbers from its current pricing page into the function below and keep the rest.

import os
from openai import OpenAI

def cost(tokens_in, tokens_out, rate_in=0.15, rate_out=0.50):
    # dollars for one request; rates are dollars per 1M tokens
    return tokens_in * rate_in / 1_000_000 + tokens_out * rate_out / 1_000_000

client = OpenAI(
    base_url="https://api.apiclaudecheap.com/v1",
    api_key=os.environ["UNCENSORED_API_KEY"],
)
resp = client.chat.completions.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Explain tokens in two sentences."}],
)
u = resp.usage
print(u.prompt_tokens, "in,", u.completion_tokens, "out, cost", round(cost(u.prompt_tokens, u.completion_tokens), 6))

The token counts come from the usage field of the response, so your numbers come from real calls and not guesses.

Six tasks, priced

These are typical sizes, not measurements of any specific product. Replace the token counts with your own.

TaskTokens inTokens outCost per runPer 1,000 runs
Chat turn3,000300$0.0006$0.60
Summarise a long document20,000500$0.00325$3.25
Classify one short item40010$0.000065$0.065
Review one source file8,0001,000$0.0017$1.70
Question over a very long text90,0001,000$0.014$14.00
Ten-step agent loop80,000 total4,000 total$0.014$14.00

Check the first row by hand: 3,000 x $0.15 / 1,000,000 = $0.00045, and 300 x $0.50 / 1,000,000 = $0.00015. Together that is $0.0006. The long-text row is dominated by input: 90,000 tokens cost $0.0135, while the 1,000-token answer adds $0.0005.

A few notes on reading the table. The per-1,000-runs column is the one to use for budgeting, since single runs cost fractions of a cent. The agent loop row counts totals across all ten steps: each step resends the growing context, which is why the input looks large next to the output. And the classification row is per item, so a batch of 100,000 items is 100 times the per-1,000 figure.

Input-heavy and output-heavy jobs

Output tokens cost about 3.3 times as much as input tokens here, so the shape of the job matters. Summaries, classification and question answering over documents are input-heavy: you pay mostly for reading. Story writing, rewriting and code generation are output-heavy.

Compare a generation job with 500 tokens in and 4,000 tokens out. Input costs 500 x $0.15 / 1,000,000 = $0.000075 and output costs 4,000 x $0.50 / 1,000,000 = $0.002, so $0.002075 in total, with output making up about 96% of the bill. For jobs like this, a cap on length is the strongest cost control you have, so set max_tokens deliberately.

Why chat cost grows faster than you expect

The API keeps no memory between calls, so a chat app resends the whole history each turn. Say each turn adds 500 tokens and the model answers with 300. On turn 1 you send 500 tokens, on turn 2 you send 1,000, and by turn 10 you send 5,000. Across ten turns that is 500 x (1 + 2 + ... + 10) = 27,500 input tokens, not 5,000.

  • Input: 27,500 x $0.15 / 1,000,000 = $0.004125
  • Output: 3,000 x $0.50 / 1,000,000 = $0.0015
  • Total for the ten-turn chat: $0.005625

The total grows roughly with the square of the number of turns, which is why trimming or summarising old messages pays off in long sessions. The window is 100,000 tokens, so very long chats fit, but you pay for each resend.

A rule of thumb helps here: if a feature sends the full history, estimate the cost of the last turn and multiply it by half the number of turns to get the total for the session. For short sessions this is a small effect. For a 200-turn roleplay it is the dominant cost, and the reason a rolling summary is worth the extra call.

Price per token versus price per answer

A low rate helps only when the answer is usable. Divide cost per attempt by the share of attempts that succeed: a task costing $0.0017 per attempt with a 50% success rate costs $0.0034 per good result. Failed or refused requests are not charged here, but a wrong answer is still a completed request, and you pay for it.

This is the honest trade-off with any lower-priced model. This API runs one open-weight model, not Claude, and it will do better on some tasks and worse on others than a top-tier model. For bulk drafting, tagging, summarising and fiction it is often enough. For work where a single error is expensive, test carefully or use a first-party frontier API for that part.

From per-run cost to a monthly budget

Per-run costs are tiny, so volume decides the budget. Three examples, using the table above:

  • Support chatbot: 500 conversations a day with 8 turns each is 4,000 turns. At $0.0006 per turn that is $2.40 per day, or about $72 over 30 days. This treats every turn as the same size; real history growth pushes it somewhat higher.
  • Nightly summaries: 2,000 documents of 20,000 tokens each at $0.00325 is $6.50 per night, about $195 over 30 days.
  • Bulk labelling: 100,000 short items at $0.000065 each is $6.50 for the whole set.

The labelling job shows how little a large run can cost when outputs are tiny. The summary job shows how input volume adds up even with short answers.

What a top-up buys

Top-ups are any whole amount from $20 to $500, with +5% from $50, +10% from $100 and +15% from $200. A $200 top-up becomes $230 of credit. At $0.0006 per chat turn, that is 230 / 0.0006 = 383,333 turns, roughly 47,900 eight-turn conversations. Credit never expires, so a larger balance does not need to be used up on a schedule, and the bonus tiers make bigger top-ups cheaper per token.

Payment is in crypto only, USDT on TRC20 or USDC on Base. Nothing is charged for failed or refused requests.

Putting numbers on your own workload

A short routine gets you a defensible estimate in an afternoon:

  1. Collect 30 real prompts from your app.
  2. Run them and record usage.prompt_tokens and usage.completion_tokens for each.
  3. Average them, apply the formula and multiply by your expected monthly volume.
  4. Repeat on any alternative using its current rates.

The $0.50 trial credit from the API key page is large enough for that experiment, since at the 3,000-in, 300-out chat size above it covers about 833 turns (0.50 / 0.0006). If you stay, top-ups start at $20, and the pricing page lists the bonuses. For wider budgeting questions, see the earlier Claude cost analysis, and the docs for the usage fields.

Frequently asked questions

How much do 1M tokens cost here?

$0.15 for 1M input tokens and $0.50 for 1M output tokens. Billing is pay as you go from prepaid credit.

Are these Claude tokens?

No. The model is an independent open-weight model, and this service is not affiliated with Anthropic. The comparison is about price structure, not the same model.

Do refused requests cost money?

No. Failed or refused requests are not charged. Completed requests are charged for the tokens they used.

How do I see tokens used per request?

Read the usage field in each response. The X-Balance-USD header shows your remaining credit.

Get your key in seconds

Sign up, retrieve your key, update your base URL. That’s it.

Start with trial credit

Enter email and password; key appears instantly.