Open API Price per Token: Cost per 1,000 Requests
An open API price per token looks tiny until you multiply it by real traffic. This article converts $0.15 per 1M input tokens and $0.50 per 1M output tokens into the figure you actually budget with: cost per request and per 1,000 requests.
Last updated

Summary
A single request usually costs a fraction of a cent.
Per-token prices only matter once multiplied by tokens per request and request volume.
Short chat costs $0.12 per 1,000 requests; long documents cost $8.00 per 1,000.
Input and output rates differ, so report both token counts.
From price per token to price per request
Providers quote prices per million tokens because the per-token number is awkward: $0.15 per million is $0.00000015 per input token. Nobody budgets in that unit. What you want is dollars per request, then dollars per thousand requests, then dollars per month.
The conversion needs two numbers from your own app: average input tokens and average output tokens per request. Each gets multiplied by its rate. Here, the rates are $0.15 per 1M input and $0.50 per 1M output. That equals $0.00015 per 1,000 input tokens and $0.0005 per 1,000 output tokens, which are the easiest anchors to remember.
Cost per 1,000 requests for common shapes
| Shape | Input / output tokens | Per request | Per 1,000 requests |
|---|---|---|---|
| Short chat message | 300 / 150 | $0.00012 | $0.12 |
| Product description | 200 / 2,000 | $0.00103 | $1.03 |
| Retrieval answer | 6,000 / 400 | $0.0011 | $1.10 |
| Long document question | 50,000 / 1,000 | $0.008 | $8.00 |
| Nearly full 100k window | 99,000 / 1,000 | $0.01535 | $15.35 |
Check one row by hand. Retrieval answer: 6,000 x $0.15 / 1M = $0.0009, 400 x $0.50 / 1M = $0.0002, sum $0.0011. Times 1,000 is $1.10.
Read the table the right way
Two lessons stand out. First, the cost of a request tracks the longer side, in dollar terms. The product description has few input tokens, yet it costs about as much as the retrieval answer because the output is five times longer and output is the dearer rate. Second, long inputs are not as scary as they sound. A document question with 50,000 input tokens costs less than one cent.
The totals scale linearly. 100,000 short chat messages cost $12.00. 100,000 retrieval answers cost $110.00. If you know your monthly volume and your shape, you are done.
One more way to think about it: tokens per dollar
Some people find the inverse more intuitive. One dollar buys about 6.67M input tokens or 2M output tokens. For a short chat message of 300 input and 150 output tokens, that is roughly 8,333 messages per dollar ($1 / $0.00012). For a retrieval answer it is about 909 per dollar. For a long document question it is 125 per dollar.
These "per dollar" figures work well in planning meetings. They also help you set limits: if a free tier gives each visitor ten messages, a hundred visitors sending ten messages each is 1,000 messages, which costs about $0.12. Work out the same arithmetic for your own caps before you open anything to the public.
What your top-up buys
Credit is prepaid, any whole amount from $20 to $500. At the rates in the table, $20 buys:
- about 166,000 short chat messages ($20 / $0.00012),
- about 18,000 retrieval answers ($20 / $0.0011),
- 2,500 long document questions ($20 / $0.008).
Larger top-ups come with bonus credit: +5% from $50, +10% from $100 and +15% from $200. So $100 becomes $110 of credit, and $200 becomes $230. Credit does not expire, which means you can top up for a spike and spend the rest later. Failed or refused requests are not charged, so the figures above are for requests that return an answer. The pricing page has the full rules.
Keep in mind that the table counts only successful requests. If your client retries on a timeout, the retry is a new request, though a request that fails or is refused is not charged here. Watch the 429 responses too: rate_limited means too many requests per minute, and concurrency means too many at once. A short backoff solves both without changing your cost.
Ways to push the per-request cost down
- Limit output. Ask for a word count and set
max_tokenswhere a hard stop is fine. Output is $0.50 per 1M, against $0.15 for input. - Send less context. In retrieval, pass the best three passages rather than ten.
- Trim chat history. Summarise old turns instead of resending them verbatim.
- Use JSON mode for structured jobs. It keeps replies short and parseable:
response_format: {"type":"json_object"}.
None of this needs a different model. It is plain token hygiene, and it works on any provider that bills per token.
If you want a quick sense of risk, price the worst prompt you can imagine. A prompt that fills the whole 100,000-token window with a 1,000-token reply costs $0.01535. Even if a user somehow sent a hundred of those, the bill is $1.535. Limits of that kind make abuse cheap to absorb, and rate limits (8 concurrent requests and 300 per minute on a full key) cap how fast it can happen.
Scaling the table to a month
Per-1,000 figures turn into a monthly bill by multiplying by thousands of requests. A few examples with the rows above:
- A chat widget with 200,000 short messages a month: 200 x $0.12 = $24.00.
- A shop writing 20,000 product descriptions: 20 x $1.03 = $20.60.
- A help centre answering 50,000 retrieval questions: 50 x $1.10 = $55.00.
- A legal-style review tool running 5,000 long document questions: 5 x $8.00 = $40.00.
Total spend across all four would be $139.60 a month, and every one of them stays under a cent per request. The point is not that these are your numbers. It is that the method is short enough to do in your head once you know your two token averages.
Why the same prompt can cost different amounts
Two requests with the same prompt can bill differently because the output is not fixed. Sampling settings such as temperature change how long and how varied the reply is, and a model may answer in two sentences once and in two paragraphs the next time.
Two controls help. Set max_tokens to a sensible ceiling so the worst case is known. And ask for a length in the prompt, for example "answer in under 80 words". The ceiling bounds cost, and the instruction shapes the typical case. Together they make per-request cost far more predictable than leaving both open.
With a ceiling of 500 output tokens, the most any short-prompt call can cost on the output side is 500 x $0.50 / 1M = $0.00025. That is a number you can put in a risk register.
Measure it on a real request
Send one of your own prompts and compute its price from the usage block. This is an OpenAI-compatible endpoint, so the standard SDK works.
from openai import OpenAI
client = OpenAI(base_url="https://api.pricingapiopen.com/v1", api_key="YOUR_KEY")
r = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "List five names for a coffee shop, one per line."}],
)
u = r.usage
per_request = (u.prompt_tokens * 0.15 + u.completion_tokens * 0.50) / 1_000_000
print(f"${per_request:.6f} per request, ${per_request * 1000:.4f} per 1,000")
This API serves one open-weight model from an independent provider and is not the official API of any model vendor, so numbers from other services will differ in both price and output. Get a key on the API key page; the one-click $0.50 trial funds several thousand short chat requests at these rates. The router integration article shows how to use it next to other endpoints.
More guides
Common questions
How much does one request cost?
It depends on tokens. A short chat message with 300 input and 150 output tokens costs $0.00012, so 1,000 of them cost $0.12.
What is the price per 1,000 tokens?
$0.00015 for input and $0.0005 for output, which follow from $0.15 and $0.50 per 1M.
Is output more expensive than input?
Yes. Output is $0.50 per 1M tokens and input is $0.15 per 1M, so a generated token costs 3.33 times a prompt token.
Is there a subscription or monthly minimum?
No subscription. You top up prepaid credit from $20 to $500 and it never expires.
Get your API key now
Register, grab your key, and update your endpoint. That is it.