Rate Limits and Free Trial Limits on This API
If you searched for the OpenRouter rate limit for free models, note that those numbers belong to OpenRouter and can change, so read their own docs. This page covers the limits that apply to this independent endpoint, how a trial key differs from a full key, and what to do on a 429.
Updated

The limits at a glance
There are two kinds of key and two ceilings for each. One ceiling counts requests per minute, the other counts requests in flight at the same moment. Hit either and you get an HTTP 429.
| Limit | Trial key | Full key |
|---|---|---|
| Concurrent requests | 2 | 8 |
| Requests per minute | 60 | 300 |
| Max request body | 8 MB | 8 MB |
| Context window (prompt plus completion) | 100,000 tokens | 100,000 tokens |
A trial key comes from the one-click $0.50 trial on the API key page, valid for 7 days, one per person. A full key is the one you get once you have topped up. The model is the same, uncensored, and the endpoint is the same. Only the ceilings differ.
Usage beyond those ceilings is paid per token from prepaid credit, so the numbers you plan around are the two ceilings, the 100,000 token window, the 8 MB body limit and your balance.
What the 429 responses look like
You will see 429 in three situations, and the error code in the body tells them apart.
rate_limited: you sent more requests in the last minute than your key allows. Slow down or spread requests over time.concurrency: too many requests were running at once. This is common with streaming, because a streamed request holds its slot until the last chunk arrives.- Temporary overload: the service is busy. The 429 comes with a
Retry-After: 5header. Wait five seconds and try again.
Every response carries headers you can log: X-Request-Id for support tickets, X-Balance-USD for your remaining credit, plus X-RateLimit-Limit-Requests and X-RateLimit-Limit-Concurrency, which echo the ceilings of the key you used. Reading those two on the first call is the fastest way to confirm if the key is a trial one or a full one.
curl -i https://api.openrouternsfw.top/v1/chat/completions -H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" -d '{"model":"uncensored","messages":[{"role":"user","content":"ping"}],"max_tokens":5}'
The -i flag prints the response headers above the JSON body. A failed or refused request is not charged, so probing limits does not eat your credit.
Why concurrency bites before the per-minute cap
Most people watch the 300 per minute number and forget the 8. For long answers the concurrency limit is the one that binds. The math is simple: throughput in requests per minute is roughly 60 divided by the time one request takes, multiplied by the number of slots.
Take an example with made-up timing, only to show the shape of the calculation. If an average request takes 10 seconds, one slot completes 6 requests per minute. A full key with 8 slots then completes about 48 per minute, far below 300. A trial key with 2 slots manages about 12 per minute, below its own 60. If answers are short and take 2 seconds, one slot does 30 per minute, 8 slots reach 240, and now you are near the minute cap.
Streaming makes this more visible. A chat reply that streams for 60 seconds occupies a slot for the whole minute. Eight such readers at once fill a full key. The ninth gets a concurrency error even though you have sent very few requests overall. If you run a chat app with many simultaneous users, count slots per active stream, not requests per minute.
Two practical conclusions follow. First, cap max_tokens where you know the answer is short, since shorter completions free slots sooner. Second, put a queue in front of the API instead of letting every user request hit it directly. A queue also gives you a place to show users a short wait message, and it lets you decide who goes first when the slots are full, for example paying users before background jobs.
Batch jobs deserve their own treatment. If you run a nightly job over thousands of documents, give it a smaller pool than your total slots, say 5 of 8, so interactive traffic keeps room to breathe. A batch that saturates every slot makes live users see concurrency errors even though nothing is broken.
Handling 429 in code
Do not retry in a tight loop. Use a semaphore to stay below your concurrency ceiling, and back off on 429 using the Retry-After value when it exists. This Python version uses the official openai package:
import os, time, threading
from openai import OpenAI, RateLimitError
client = OpenAI(
base_url="https://api.openrouternsfw.top/v1",
api_key=os.environ["API_KEY"],
max_retries=0, # we handle retries ourselves
)
SLOTS = threading.BoundedSemaphore(2) # 2 for a trial key, 8 for a full key
def ask(prompt, attempts=5):
delay = 5
for _ in range(attempts):
with SLOTS:
try:
r = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": prompt}],
)
return r.choices[0].message.content
except RateLimitError as e:
wait = e.response.headers.get("retry-after")
delay = int(wait) if wait else min(delay * 2, 60)
time.sleep(delay) # sleep outside the slot so others can run
raise RuntimeError("still rate limited after retries")
In Node the pattern is the same: a small pool that never lets more than your slot count run, and a delay on 429. The snippet below uses the openai package and reads the header from the error object.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.openrouternsfw.top/v1",
apiKey: process.env.API_KEY,
maxRetries: 0,
});
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
export async function ask(prompt, attempts = 5) {
let delay = 5000;
for (let i = 0; i < attempts; i++) {
try {
const r = await client.chat.completions.create({
model: "uncensored",
messages: [{ role: "user", content: prompt }],
});
return r.choices[0].message.content;
} catch (err) {
if (err.status === 429) {
const ra = Number(err.headers?.["retry-after"]);
delay = ra ? ra * 1000 : Math.min(delay * 2, 60000);
await sleep(delay);
} else {
throw err;
}
}
}
throw new Error("still rate limited after retries");
}
If you use a concurrency-limited worker pool, set its size to the ceiling of your key minus one or two, so that a stray manual request from a terminal does not push you over.
The 100,000 token window and what it costs
The context window is 100,000 tokens, counted as prompt plus completion together. If your prompt is 90,000 tokens, the answer can use at most the remaining 10,000. max_tokens is optional, and without it the completion can use whatever room is left.
A very long prompt is cheap to send but worth planning around. At $0.15 per 1M input tokens, a prompt of 98,000 tokens costs $0.0147 (98,000 divided by 1,000,000, times $0.15). If the reply is 2,000 tokens at $0.50 per 1M, add $0.001. Total $0.0157 for a request that fills the window to the edge. Sending that request 8 times in a row costs $0.1256.
The 8 MB body limit rarely matters for text. Eight megabytes of plain text is millions of characters, well beyond the token window, so you will hit the token ceiling first. It matters when you embed large JSON payloads or base64 data in a prompt, which is a bad idea for a text-only model anyway.
Prepaid credit, balance and what happens at zero
Billing is pay as you go. You top up a whole amount from $20 to $500, and tokens are deducted as you use them. Credit never expires, so there is no pressure to spend it by a date. Larger top-ups carry a bonus: +5% from $50, +10% from $100 and +15% from $200. A $100 top-up therefore gives $110 of credit, and $200 gives $230. Payment is in crypto only, USDT on TRC20 or USDC on Base. The pricing page has the current table.
For scale, $20 of credit covers 133.3 million input tokens or 40 million output tokens if you used only one kind. Real use mixes the two. A chat turn with 1,500 input tokens and 300 output tokens costs $0.000225 plus $0.00015, which is $0.000375, so $20 pays for roughly 53,000 such turns.
Watch X-Balance-USD in the response headers and alert when it drops below a threshold. Keep a top-up ready before traffic peaks, since an empty balance cannot pay for new requests. Failed requests are not charged.
Moving from trial to a full key
The trial is meant for testing. Two concurrent requests and 60 per minute are enough to build a prototype, run a prompt comparison or wire up a client. It is not enough for a live app with several users. When you move to production, top up, switch the key, and raise your semaphore from 2 to 8. No code changes otherwise, because the base URL and model ID stay the same.
The API key page explains how to get either key, and the docs list the supported parameters and the response headers. If you hit a limit you cannot explain, send the X-Request-Id from the failed response to the support page contact, since it lets the team find the exact request.
More guides
Questions and answers
What is the OpenRouter rate limit for free models?
That is set by OpenRouter and may change, so check their current documentation. On this endpoint the trial key allows 2 concurrent requests and 60 requests per minute.
Does a 429 cost me credit?
No. Failed or refused requests are not charged.
How long should I wait after a 429?
If the response includes Retry-After: 5, wait five seconds. Otherwise back off with a growing delay and keep your concurrent requests under your key's ceiling.
Can I raise the limits on a full key?
The documented ceilings are 8 concurrent requests and 300 per minute. If you need more, write to support and describe your traffic.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.