EN ▾
Get API key

Uncensored LLM API for Developers

Cheap OpenRouter Alternative: Real Token Costs

If you want an OpenRouter alternative cheap enough to budget for, you need to predict the bill, so this page does the arithmetic. One uncensored model costs $0.15 per 1M input tokens and $0.50 per 1M output tokens, paid from prepaid credit with no subscription.

Updated

Glass coin bank and token coins beside a server cube, illustrating low and predictable API costs

The price, and how to read it

Language model pricing is quoted per million tokens, with separate rates for what you send (input) and what the model writes back (output). Here the rates are $0.15 per 1M input tokens and $0.50 per 1M output tokens. There is one model, uncensored, so there is no table of tiers to decode and no per-model multiplier. There is also no subscription and no minimum monthly spend. You top up, you use tokens, the balance goes down.

A token is a piece of a word. In English, 1,000 tokens is roughly 750 words, though code, other languages and unusual formatting usually use more tokens per word. Do not guess for your own workload. Every response includes a usage object with prompt and completion token counts, so your first test calls give you real numbers.

The formula never changes: cost equals input tokens times $0.15 divided by 1,000,000, plus output tokens times $0.50 divided by 1,000,000. Output is a bit more than three times as expensive as input per token, so long answers cost more than long prompts of the same size.

Worked examples

All figures below come straight from the two rates. Round-trip them yourself if you like.

ScenarioTokens in / outCost per callCost for 1,000 calls
Chat turn1,500 / 300$0.000375$0.375
Document Q and A20,000 / 800$0.0034$3.40
Near-full context98,000 / 2,000$0.0157$15.70

Here is how the first row is built. 1,500 input tokens at $0.15 per 1M is $0.000225. 300 output tokens at $0.50 per 1M is $0.00015. The sum is $0.000375. Ten thousand such turns come to $3.75.

The second row: 20,000 input tokens cost $0.003, and 800 output tokens cost $0.0004, for $0.0034. The third row fills the 100,000 token window almost completely. The 98,000 token prompt costs $0.0147, the 2,000 token answer adds $0.001, and the total is $0.0157. The window counts prompt and completion together, so a 100,000 token prompt would leave no room for an answer. Plan for prompts a bit below the limit.

A support bot at small scale

Say a help widget handles 200 conversations a day, each with 6 turns. Because the history is resent, the turns grow: assume they average 2,500 input tokens and 250 output tokens. That is 1,200 calls a day, 3,000,000 input tokens and 300,000 output tokens. Input costs 3 times $0.15, or $0.45. Output costs 0.3 times $0.50, or $0.15. A day is $0.60, and a 30 day month is $18.00. Your own numbers will differ, but the method scales to any traffic level.

A batch job

Suppose you summarise 5,000 documents, each 3,000 tokens long, into summaries of 400 tokens. Input is 15,000,000 tokens, which costs 15 times $0.15, or $2.25. Output is 2,000,000 tokens, which costs 2 times $0.50, or $1.00. The whole job is $3.25. Run it twice with a changed prompt and you have spent $6.50, a figure small enough to experiment with.

Prepaid credit instead of a subscription

Prepaid billing changes how you budget. There is no monthly seat fee to justify, so a side project that runs twice a week costs only what those runs use. Credit never expires, so a top-up that you do not finish this month is still there next month.

Top-ups are any whole amount from $20 to $500. Bigger amounts carry a bonus: +5% from $50, +10% from $100 and +15% from $200. Here is what that does to the effective price.

You payBonusCredit you getEffective discount on usage
$20none$20.000%
$50+5%$52.504.8%
$100+10%$110.009.1%
$200+15%$230.0013.0%

The discount column is the bonus divided by the credit: $100 buys $110, so each dollar of usage costs about 91 cents. At the $200 level, usage that would cost $230 costs $200. Pay with with crypto (USDT on TRC20, USDC on Base). The pricing page keeps the full top-up table.

Two pricing details help you waste less. Failed or refused requests are not charged. And there is no charge for a rejected 429, so retry logic does not run up a bill.

How to test it for almost nothing

New users can claim $0.50 of trial credit with one click on the API key page after sign-up. It is valid for 7 days, needs no card, and is one per person. Sign-up is with Google, or with email and password. At the chat-turn cost above, $0.50 covers about 1,333 turns, which is plenty to judge whether the answers fit your use. Trial keys run at 2 concurrent requests and 60 per minute.

The API key page shows where the claim button sits. Once you have a key, a short script can compute your real cost per call from the usage numbers:

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.openrouteruncensored.cc/v1",
    api_key=os.environ["API_KEY"],
)

IN_PER_M, OUT_PER_M = 0.15, 0.50

raw = client.chat.completions.with_raw_response.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Explain DNS caching in 4 sentences."}],
)
r = raw.parse()
cost = (r.usage.prompt_tokens * IN_PER_M + r.usage.completion_tokens * OUT_PER_M) / 1_000_000

print("tokens in/out:", r.usage.prompt_tokens, r.usage.completion_tokens)
print("cost: $%.6f" % cost)
print("balance:", raw.headers.get("x-balance-usd"))

The X-Balance-USD response header gives your remaining credit after each call, so you can check the script's arithmetic against the real balance.

Where cheap can mislead

A low per-token rate is one input to the bill, not the whole of it. Three things change the final number.

  • Tokens used per task. A model that needs two attempts to give a usable answer doubles your spend. A model that produces rambling output raises the output side, which is the expensive one. Measure cost per accepted result, not per call.
  • Prompt size. Chat apps resend the full history on every turn. A conversation that grows to 30,000 tokens costs about $0.0045 in input alone per turn, so trim or summarise old turns.
  • What you actually need. This API is text only, with one model. If your product needs embeddings, image generation, or a choice between many vendors' models, the cheaper rate does not help, because the feature is not here.

For other providers, including OpenRouter, rates differ by model and can change. Check their current pricing and run the same sample of your own prompts through each option before you decide. Do the comparison on identical test sets and count refusals as failures if your use case depends on getting an answer. Models tuned to refuse can be cheaper per token and still cost more per finished task, if you spend retries on prompt workarounds.

Keeping spend predictable

A few habits keep a small bill small.

  1. Set max_tokens where answers have a natural ceiling. It is optional here, but a cap protects you from a runaway completion.
  2. Log usage with the request id, and sum it per feature. Weekly totals show which prompt template is expensive.
  3. Read X-Balance-USD and alert at a threshold, for example when it falls below $5, so a top-up lands before traffic does.
  4. Cache answers to repeated questions in your own database. The cheapest request is one you do not send.
  5. Keep system prompts short. A 1,000 token system prompt on 10,000 calls is 10M input tokens, or $1.50 you can often save by trimming it to 300 tokens, which costs $0.45.

The docs cover the request fields and headers used above. If you already use another OpenAI-compatible host, you change the base URL and key and keep your code, which makes a cost comparison a one-afternoon task. For background on what the model is and is not, the uncensored DeepSeek page clears up common mix-ups.

Questions and answers

How much does a typical request cost?

A chat turn with 1,500 input tokens and 300 output tokens costs $0.000375. A thousand of them cost $0.375.

Is there a monthly fee?

No. Billing is prepaid and pay as you go, and credit never expires.

What is the smallest amount I can add?

Top-ups are any whole amount from $20 to $500. New users can also claim a $0.50 trial credit that lasts 7 days.

Am I charged when a request fails?

No. Failed or refused requests are not charged.

Your key is one form away

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

Get API key