EN ▾
Get API key

OpenRouter API Pricing: What You Pay Here per 1M Tokens

This site is an independent, OpenAI-compatible API, not OpenRouter, so its rates are its own: $0.15 per 1M input tokens and $0.50 per 1M output tokens. Below is how billing works and what real workloads cost.

Updated

Isometric scale balancing token cubes against coins, illustrating per-token API pricing

No card needed. After sign-up, claim $0.50 of free test credit with one click (once per person).

Get API key

Key points

Short answer for anyone searching openrouter api pricing

If you typed openrouter api pricing into a search box, you may have landed here by accident, so let us be clear about what this site is. It is not OpenRouter and it does not resell OpenRouter. It is a separate hosted service with one open-weight text model, reachable through an OpenAI-compatible endpoint. For OpenRouter's own rates, check their current pricing page, because those numbers belong to them and change on their schedule.

What you pay here is simple to state. Input tokens cost $0.15 per 1M. Output tokens cost $0.50 per 1M. There is one model ID, uncensored, so there is no table of dozens of models with dozens of prices to compare. You load prepaid credit, make requests, and the cost of each one is deducted as it completes.

The rest of this page shows how to turn those two numbers into a monthly estimate, what the top-up bonuses do to your effective rate, and which things on the bill can surprise you if you are used to routing services.

The two rates, in units you can use

Per-million prices are awkward for everyday thinking. Here is the same pricing in smaller units.

UnitInputOutput
Per 1M tokens$0.15$0.50
Per 1,000 tokens$0.00015$0.0005
Tokens per $1about 6.67M2M

Output is a little over three times as expensive as input per token (0.50 divided by 0.15 is 3.33). That ratio matters for planning. A summarizer that reads 20,000 tokens and writes 300 is dominated by input cost. A story generator that reads 500 tokens and writes 4,000 is dominated by output cost. Know which kind of workload you have before you estimate anything.

Tokens are counted by the model's tokenizer, not by words. As a rough guide for English prose, a word averages somewhat more than one token, but code, other languages and unusual punctuation can push the ratio higher. The response includes a usage block, and streamed responses report usage at the end, so you do not have to guess after the fact. Log it from day one.

Worked examples with the math shown

A chat app with moderate traffic

Say each request sends 2,000 input tokens (system prompt plus recent history) and gets back 500 output tokens. For 1,000 requests:

A monthly workload

A small product that consumes 50M input tokens and 10M output tokens in a month:

One request that fills the window

The context window is 100,000 tokens, prompt plus completion. A request with 90,000 input tokens and 10,000 output tokens costs 0.09 x $0.15 = $0.0135 for input plus 0.01 x $0.50 = $0.005 for output, which is $0.0185. Even your largest possible call is under two cents, but a loop that makes that call a thousand times costs $18.50, so long contexts are worth caching or trimming on your side.

Where agents and loops bite

Chat history grows. If an agent resends a 30,000-token transcript on every step of a 20-step task, it pays for 600,000 input tokens on that task alone (20 x 30,000), which is 0.6 x $0.15 = $0.09 before any output. That is cheap, yet multiplied by a few thousand tasks it becomes the main line item. Summarize old turns, or drop tool results you no longer need.

Prepaid credit, top-ups and the bonus

There is no subscription and no monthly minimum. You add credit, and requests draw it down. The credit never expires, so loading more than you need this month does not cost you anything extra later.

Top-ups are any whole amount from $20 to $500. Larger amounts earn a bonus on top:

Top-upBonusCredit you receive
$20 to $49nonethe amount you paid
$50+5%$52.50
$100+10%$110
$200+15%$230
$500+15%$575

The bonus lowers your effective token price. A $200 top-up buys $230 of credit, so each dollar of usage effectively costs you 200 / 230 = $0.87. Your output rate works out to about $0.43 per 1M and your input rate to about $0.13 per 1M. Whether that justifies locking up more cash depends on how soon you will use it. Since credit does not expire, the only real cost of a larger top-up is that the money is sitting there.

You can pay by by crypto (USDT on TRC20, USDC on Base). Details and current options are on the pricing page.

What is not on the bill

A few things people expect to see on an API invoice simply do not exist here.

Rate limits are not a billing item, but they shape how much you can spend per minute. A full key allows 8 concurrent requests and 300 requests per minute. A trial key allows 2 concurrent and 60 per minute. If you exceed either, the API returns HTTP 429, with error code rate_limited or concurrency. A streamed request holds its concurrency slot until the stream ends, which matters if you run many long generations at once.

Every response carries an X-Balance-USD header, so your code can read the remaining balance without a separate call and warn you before it runs out.

Checking your spend in code

The simplest way to keep costs predictable is to compute them from the usage numbers returned with each response. This Python snippet does it with the OpenAI SDK pointed at this API.

from openai import OpenAI

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

resp = client.chat.completions.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Summarize the plot of Hamlet in 3 sentences."}],
)

u = resp.usage
cost = u.prompt_tokens * 0.15 / 1_000_000 + u.completion_tokens * 0.50 / 1_000_000
print(u.prompt_tokens, u.completion_tokens, f"${cost:.6f}")

If you want the balance too, read the header with the raw-response helper:

raw = client.chat.completions.with_raw_response.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Hello"}],
)
print(raw.headers.get("X-Balance-USD"))
completion = raw.parse()

Or from the shell:

curl -i https://api.openrouteruncensored.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"uncensored","messages":[{"role":"user","content":"Hello"}],"max_tokens":20}'

Look for X-Balance-USD in the response headers. The quickstart in the docs covers the same setup step by step.

Trying it before you pay

New users can claim $0.50 of trial credit with one click on the API key page after signing up. It is valid for 7 days, needs no card, and is limited to one per person. Sign-up works with Google or with email and password.

How far does $0.50 go? With the earlier chat example at $0.00055 per request, it covers roughly 900 requests (0.50 / 0.00055 is about 909). That is plenty to test your integration, check output quality on your own prompts, and measure your real token usage before deciding on a top-up. The trial key has the lower limits mentioned above, 2 concurrent requests and 60 per minute, so run load tests on a funded key instead.

When you are ready, the API key page is where both the trial claim and the top-up live.

Questions and answers

Is this the same as OpenRouter's pricing?

No. This is an independent service with its own model and rates. For OpenRouter's rates, check their current pricing.

How much does 1M tokens cost here?

1M input tokens cost $0.15 and 1M output tokens cost $0.50. Both are billed from prepaid credit.

Do I pay when a request fails?

No. Failed or refused requests are not charged, and only completed requests deduct from your balance.

What is the minimum top-up?

$20, in any whole amount up to $500. Amounts from $50 add a bonus of 5%, from $100 a bonus of 10%, and from $200 a bonus of 15%.

Does credit expire?

No. Prepaid credit never expires, and there is no subscription or monthly minimum.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.

Get API key