EN ▾
Start now

Claude API Pricing: Plan a Monthly LLM Budget

Last updated

Claude API pricing, like every large-model API, is built from two per-token rates and your traffic. This guide turns that into a monthly budget you can defend, using an independent OpenAI-compatible API at $0.15 and $0.50 per 1M tokens as the worked example.

Coins flowing through a funnel into three jars of different sizes, representing monthly API budgets

How LLM APIs charge you

If you are looking at claude api pricing for the first time, the model is simpler than the pricing pages make it look. You pay for tokens. Tokens in the prompt are input, tokens in the reply are output, and the two have different rates quoted per 1 million tokens. A token is roughly a short word or a piece of a longer one, so a page of English text is a few hundred tokens.

Anthropic publishes its own rates for Claude models, and they change over time, so look them up on the vendor's page and do not rely on a number you saw in a blog. This site sells something else: an independent open-weight model, tuned to answer without content refusals for lawful adult use, behind an OpenAI-compatible API. Its rates are fixed and stated below, which makes it a clean example for learning the budget method.

The rates on this API

ItemRatePer single token
Input$0.15 per 1M tokens$0.00000015
Output$0.50 per 1M tokens$0.0000005

Billing is pay as you go from prepaid credit. There is no subscription and no monthly minimum, credit never expires, and failed or refused requests are not charged. The context window is 100,000 tokens, shared by prompt and completion.

Three monthly budgets, step by step

A hobby project

A personal bot answers 10,000 messages a month. Each call sends 2,000 input tokens (system prompt plus recent history) and gets 500 tokens back. Input: 10,000 x 2,000 = 20M tokens x $0.15 = $3.00. Output: 10,000 x 500 = 5M tokens x $0.50 = $2.50. Monthly total: $5.50.

A small product

A writing assistant handles 100,000 requests at 1,500 input and 800 output tokens. Input: 150M x $0.15 = $22.50. Output: 80M x $0.50 = $40.00. Monthly total: $62.50. Here output is the bigger half, because answers are long compared with prompts.

A batch job

A team classifies 400,000 short texts, 300 tokens in and 10 tokens out. Input: 120M x $0.15 = $18.00. Output: 4M x $0.50 = $2.00. Monthly total: $20.00. Short outputs make this the cheapest per request: $0.00005 each.

The pattern is the point. Prompts that are long and answers that are short cost very little, and chatty answers move the bill toward the output rate. Estimate both sides every time.

Add a safety margin

Real usage is rarely equal to the estimate. Conversation history grows, users paste long text, and a retry can repeat a call. Add 20 to 30 percent to your estimate before you fund the account. For the small product above, that turns $62.50 into roughly $75 to $81.

You can watch the real number instead of guessing. Each response carries an X-Balance-USD header with the remaining balance, and the usage block lists the tokens used in that call. Log both for a week and the budget stops being an estimate.

from openai import OpenAI

client = OpenAI(
    base_url="https://api.claudeprecio.com/v1",
    api_key="YOUR_KEY",
)

raw = client.chat.completions.with_raw_response.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Give me three names for a tea shop."}],
)
reply = raw.parse()
u = reply.usage
cost = u.prompt_tokens * 0.15 / 1_000_000 + u.completion_tokens * 0.50 / 1_000_000
print(f"tokens in/out: {u.prompt_tokens}/{u.completion_tokens}, cost: ${cost:.6f}")
print("balance:", raw.headers.get("X-Balance-USD"))

Funding the account with crypto

Top-ups accept any whole amount from $20 to $500. Payment is in crypto only: USDT on TRC20 or USDC on Base. Larger top-ups earn a bonus on the credit you receive.

Top-upBonusCredit received
$20none$20.00
$50+5%$52.50
$100+10%$110.00
$200+15%$230.00
$500+15%$575.00

Against the hobby budget above, a $20 top-up covers a bit over three months. Against the small product, the $200 top-up with its $230 of credit covers about three and a half months of the $62.50 estimate. Because credit never expires, there is no penalty for buying early to collect the bonus. The pricing page always shows the current table.

Limits that affect cost planning

A full key allows 8 concurrent requests and 300 requests per minute. A trial key allows 2 and 60. If you exceed them you get HTTP 429 with the error code concurrency or rate_limited, and the call is not charged. A streamed request holds its concurrency slot until the stream finishes, so long streams reduce your throughput.

The ceiling for a single key is therefore 300 requests a minute. At the batch job's 400,000 texts, that is 400,000 / 300 = about 1,333 minutes, or just over 22 hours of continuous work. Plan the run time as well as the cost.

The model is text only. It has no image or audio generation, no embeddings and no fine-tuning, and sexual content involving minors is never allowed. Prompts are not used for training.

Five ways to lower the bill

Shorten the system prompt

A 1,500-token system prompt on 100,000 requests is 150M input tokens, or $22.50 a month at $0.15 per 1M. Cutting it to 500 tokens saves $15.00.

Cap the output

Output is the dearer side. If answers average 800 tokens and a cap of 500 fits your use, 100,000 requests drop from 80M to 50M output tokens, which saves 30M x $0.50 = $15.00.

Summarise old turns

Replace the first twenty turns of a long chat with a 300-token summary. The saving grows with every later turn, because the history is resent each time.

Batch small tasks

Ten short classification questions in one prompt share one system prompt instead of ten, which cuts repeated input.

Test with short prompts

Debug with a two-line input. A looping test script with a 20,000-token prompt can spend a dollar before you notice.

None of these changes quality much for simple tasks, and each can be measured with the usage block before and after.

Review the bill every month

After the first month, compare your estimate with the actual spend. If the real number is higher, find out whether the cause is more requests, longer prompts or longer replies. Each of those has a different fix: rate-limiting users, trimming history or setting a cap. Write the new average tokens per request into your budget sheet so the next month starts from measured data.

Try it before you fund it

New users can claim $0.50 of trial credit with one click on the API key page, valid for 7 days with no card. At the hobby bot's request size ($0.00055), that covers about 909 calls, enough to measure your own token counts. Then follow the documentation to point your SDK at the new base URL. The article on common integration mistakes lists the errors that most often inflate a first bill.

Frequently asked questions

What does the Claude API cost per month?

It depends on your tokens and on Anthropic's current rates, which you should read on its pricing page. For this independent API, 10,000 requests at 2,000 input and 500 output tokens cost $5.50.

Why are output tokens priced higher than input tokens?

Generating text is more compute-intensive than reading it, and most vendors price the two separately. On this API the output rate is $0.50 per 1M tokens against $0.15 for input.

Can I pay by card?

No. Top-ups are in crypto only, using USDT on TRC20 or USDC on Base, in whole amounts from $20 to $500.

Does unused credit expire?

No. Credit never expires, and there is no subscription fee, so an unused month costs nothing.

Get your API key now

Register, copy the key, update the base URL. That is all you need to do.

Key takeaways

  • Every bill has two parts: input tokens and output tokens, each with its own rate per 1M tokens.
  • At $0.15 input and $0.50 output, a small app with 10,000 requests a month costs about $5.50.
  • Top-ups run from $20 to $500 in crypto, with bonuses of 5%, 10% and 15% on larger amounts.
  • This is an independent open-weight model, not Anthropic's service, so check Anthropic's page for Claude rates.

Use email and password; key displays instantly.