Key points
- A hosted router is a service with its own keys and billing; LiteLLM is a library and proxy you run on your own machine.
- Any OpenAI-compatible endpoint can be a backend for either, using a base URL, key and model name.
- Our endpoint: base URL https://api.nsfwllmrouter.com/v1, model uncensored, 8 concurrent requests on a full key.
- Use a proxy for routing, retries and budgets; use the endpoint for the model itself.
Two tools with different jobs
People ask llm router vs litellm as if they compete, but they sit in different places. A hosted router, such as OpenRouter, is a company's API: you get a key, pick a model name and the service forwards the call to a provider and bills you. LiteLLM is open-source software that you run. It gives many providers one OpenAI-style interface, and its proxy server adds routing, fallbacks and spend tracking in front of them.
So one is a service you rent and the other is a gateway you operate. Neither one is the model. Each still needs something behind it that actually generates text, and that is where a plain endpoint comes in.
What a plain endpoint is
A plain endpoint is a single base URL that speaks the OpenAI chat format and serves one model. This one serves uncensored, an open-weight model tuned to answer without content refusals for lawful adult use, run by an independent provider. It is not a router and not the official API of any vendor.
It supports POST /v1/chat/completions, POST /v1/responses and GET /v1/models, plus streaming, tool calling and JSON mode. It is text only, with a 100,000-token context window. Details are in the docs.
Side by side
| Hosted router | LiteLLM proxy | Plain endpoint | |
|---|---|---|---|
| Who runs it | A company | You | An independent provider |
| Main value | Many models, one bill | One interface, routing rules, budgets | One model, fixed behavior |
| You supply | An account | Hosting, config, upstream keys | A key |
| Model choice | Per request | Per route you define | Fixed |
| Can use our endpoint as a backend | Not applicable, it is the router itself | Yes | Is the backend |
Check each project's current documentation for features and pricing. They change, and this page only states what is true for our side.
Adding the endpoint to LiteLLM
LiteLLM treats any server that follows the OpenAI format as an openai/ model with a custom api_base. In a proxy config file it looks like this:
model_list:
- model_name: adult-fiction
litellm_params:
model: openai/uncensored
api_base: https://api.nsfwllmrouter.com/v1
api_key: os.environ/NSFW_ENDPOINT_KEY
Start the proxy, then call it with any OpenAI client using model="adult-fiction". The alias hides the real model name from your application. You can also use the library directly in Python:
import litellm
resp = litellm.completion(
model="openai/uncensored",
api_base="https://api.nsfwllmrouter.com/v1",
api_key="YOUR_KEY",
messages=[{"role": "user", "content": "Write a two-line villain monologue."}],
)
print(resp.choices[0].message.content)Using it behind a router or in your own client
For hosted routers, the rules depend on the router: some let you bring your own provider key, others only resell their own catalog. Read their docs before planning around it. If your app talks to a router today, the simplest hybrid is a second client object for adult-fiction traffic:
import OpenAI from "openai";
const general = new OpenAI({ apiKey: process.env.ROUTER_KEY, baseURL: process.env.ROUTER_URL });
const fiction = new OpenAI({
apiKey: process.env.NSFW_ENDPOINT_KEY,
baseURL: "https://api.nsfwllmrouter.com/v1",
});
const pick = (kind) => (kind === "fiction" ? fiction : general);
const r = await pick("fiction").chat.completions.create({
model: "uncensored",
messages: [{ role: "user", content: "Open a noir scene in a rain-soaked city." }],
});
console.log(r.choices[0].message.content);
Frameworks that accept an OpenAI-compatible base URL follow the same pattern. The LangChain page shows how to wire that in.
Limits and errors to handle in the gateway
A proxy in front of the endpoint should know its limits, so it does not hammer it. A full key allows 8 concurrent requests and 300 requests per minute. A trial key allows 2 and 60. Past those you get HTTP 429 with code rate_limited or concurrency, and temporary overload returns 429 with Retry-After: 5.
In LiteLLM you can cap parallelism per deployment and set retries so a 429 waits and tries again. Keep in mind that a streamed response keeps its concurrency slot until the last chunk arrives, so concurrency caps should count open streams, not only new requests.
Failed or refused requests are not charged. Price is $0.15 per 1M input tokens and $0.50 per 1M output tokens, with a running balance in the X-Balance-USD header. See the pricing page for top-ups and bonuses.
A quick estimate helps when you set budgets in a proxy. A request with 2,000 input tokens and 500 output tokens costs 2,000 / 1,000,000 x $0.15 = $0.0003 for input plus 500 / 1,000,000 x $0.50 = $0.00025 for output, so $0.00055 in total. A thousand such requests cost $0.55. Multiply by your expected volume, add a margin for longer conversations, and set the proxy budget slightly above that figure.
Also decide what the gateway logs. Prompts are not used for training on our side, but your own proxy may store request bodies, and for adult fiction that is worth a deliberate choice. Turn off body logging unless you need it for debugging.
How to decide
- You need one interface over many providers, budgets per team or automatic fallbacks: run a proxy such as LiteLLM.
- You do not want to operate anything and want many models on one bill: a hosted router.
- You want a specific no-refusal model behind either of them: add this endpoint as a backend.
- You only need that one model: skip the gateway and call the endpoint directly.
Test it first. Sign up, claim the $0.50 trial on the key page (valid 7 days, no payment) and run your own prompts through your gateway of choice. Payments are crypto only: USDT on TRC20 or USDC on Base.
