Nanbeige4.1 Explained and a Hosted Alternative
Model names such as this one are shorthand for a family, a version and a build. This page explains how to read them and where a hosted, OpenAI-compatible text API can stand in.
Updated

Key points
- The name points to a version of an open-weight model line, so details like size and license live on the publisher's model card.
- This site is not the Nanbeige vendor and does not host Nanbeige weights; it runs one other open-weight model behind the model ID uncensored.
- The API is text only, OpenAI-compatible, with a 100,000-token context window and pay-as-you-go pricing.
- You can test it with a $0.50 trial credit, no card needed.
What people mean by nanbeige4.1
If you typed nanbeige4.1 into a search box, you are most likely looking at a model name on a download page, a leaderboard row or a forum thread. The pattern is common in open-weight releases: a family name (Nanbeige), a generation number (4) and a revision (.1). Together they say "this is a later build of the fourth generation of that line".
What the name does not tell you is everything you need before you build on it: the parameter count, the license, the maximum context length, whether the checkpoint is a base model or an instruction-tuned one, and how the safety behavior was set. Those facts belong to the publisher, and they can change between revisions, so read the model card on the publisher's page instead of trusting a summary written by a third party. That includes this page.
It also helps to separate three things people blur together. First, the weights: files you can download and run yourself if the license allows it. Second, the vendor API: a service the publisher runs, if one exists. Third, a hosted endpoint run by someone else who serves a different or similar open-weight model. Searches for a model name often come from people who want the second or third thing but land on pages about the first.
How to read an open-weight model name
Once you know the pieces, names stop looking like noise. Here is a practical way to decode almost any release.
| Part | Example shape | What to check |
|---|---|---|
| Family | Nanbeige | Who publishes it and where the official card lives |
| Generation and revision | 4.1 | What changed from the previous revision (the changelog or card) |
| Size tag | a number followed by B | Parameter count, which drives memory needs |
| Tuning tag | base, instruct, chat | Base models continue text; instruct models follow requests |
| Format tag | GGUF, AWQ, GPTQ, FP16 | Quantization level, which trades quality for memory |
Quantized community builds deserve extra care. A 4-bit conversion of a model fits on smaller hardware, but it is a different artifact from the original checkpoint, and outputs can differ in small ways. If you compare two services or two local setups, make sure you are comparing the same tag, not just the same family name.
Why the tuning tag matters for refusals
Many people searching for a model by name want one specific behavior: answers without a wall of content refusals. That behavior comes from the fine-tuning stage, not from the family name. Two checkpoints from the same family can behave very differently depending on how they were tuned. If refusal behavior is your requirement, test with your own prompts instead of relying on a label.
Running it yourself versus calling an API
If the license permits it, running an open-weight model on your own machine gives you the most control. You choose the exact checkpoint, you keep prompts on your hardware, and you pay for electricity and hardware rather than per token. Tools such as llama.cpp, Ollama and vLLM exist for this, and each has its own documentation for supported formats.
The costs of doing it yourself are real, though. You need enough GPU or system memory for the size and quantization you picked, you handle updates and crashes, and you have to write or configure the serving layer so your apps can talk to it. Concurrency is the usual surprise: a setup that feels fast for one chat window can crawl when several users or scripts hit it at once.
A hosted API trades control for convenience. You get an HTTP endpoint, pay per token, and skip the hardware. The downside is that you use whatever model the provider serves. That is the point where honesty about a site like this one matters, so the next section is blunt about it.
- Self-host when you need one exact checkpoint, offline use, or full control over the stack.
- Use a hosted API when you want to ship quickly, need several parallel requests, or do not want to maintain GPUs.
- Mix both by writing your app against the OpenAI-style interface, so you can point it at a local server today and a hosted one tomorrow.
What this site offers, and what it does not
This site is a hosted, OpenAI-compatible text API. It is not run by the Nanbeige publisher, it does not serve Nanbeige weights, and it is not an official channel for that family or for any other vendor such as Meta, Mistral, Qwen, DeepSeek, OpenAI, xAI, Google or Anthropic. It is also not a router that forwards your request to different vendors.
What it does serve is one open-weight model, run by an independent provider and tuned to answer without content refusals for lawful adult use. You select it with the model ID uncensored. One hard limit applies: no sexual content involving minors, ever.
The product is text only. There is no image, audio or video generation, no embeddings and no fine-tuning. If your project needs any of those, this is the wrong tool and you should say so early rather than discover it in week three.
The feature set that matters for developers is short:
- Endpoints:
POST /v1/chat/completionsandGET /v1/models. - Streaming over server-sent events with
stream: true, with usage reported at the end. - Tool calling, including streamed
tool_callsand results sent back asrole: "tool". - JSON mode through
response_format. - A 100,000-token context window, shared between prompt and completion.
- Prompts are not used for training.
Trying it in five minutes
Because the API follows the OpenAI format, the only things you change in an existing client are the base URL and the key. First sign up with Google, or with email and password, then claim the $0.50 trial credit with one click on the API key page. It needs no card, is valid for 7 days and is limited to one per person. The API key page walks through it.
Check that the key works by listing models:
# lists model IDs, expect: uncensored
curl https://api.nanbeige.cc/v1/models \
-H "Authorization: Bearer YOUR_API_KEY"
Then send a first chat request:
curl https://api.nanbeige.cc/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "uncensored",
"messages": [
{"role": "system", "content": "You are a concise writing assistant."},
{"role": "user", "content": "Explain what an instruct-tuned model is in two sentences."}
],
"max_tokens": 120
}'
From Python with the official OpenAI SDK, the same call looks like this:
from openai import OpenAI
client = OpenAI(
base_url="https://api.nanbeige.cc/v1",
api_key="YOUR_API_KEY",
)
resp = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Summarize what a context window is."}],
)
print(resp.choices[0].message.content)
The quickstart in the docs covers streaming, tool calling and JSON mode with the same pattern.
How to decide if a hosted alternative fits
Start from what you actually need, not from the model name. Write down three prompts from your real workload, including the one that caused refusals elsewhere, and run them against the endpoint during the trial. Judge the answers on your own criteria: tone, accuracy, length, and whether it follows your system prompt.
Then check the practical fit. A full key allows 8 concurrent requests and 300 requests per minute; a trial key allows 2 concurrent requests and 60 per minute. A streamed request holds its concurrency slot until the stream ends, so a chat app with many open streams reaches the concurrency cap before the per-minute cap. Over a limit the API returns HTTP 429, with the error code rate_limited or concurrency, so your client can tell the two apart and back off correctly.
Finally, look at the money. Pricing is $0.15 per 1M input tokens and $0.50 per 1M output tokens, from prepaid credit with no subscription. Failed or refused requests are not charged and credit never expires. Top-ups are any whole amount from $20 to $500, by crypto (USDT on TRC20, USDC on Base). The pricing page lists the bonus tiers.
Reasons to look elsewhere
Be willing to walk away. If you need the exact Nanbeige checkpoint for research or reproducibility, download it and run it yourself. If you need embeddings, image generation or fine-tuning, use a service built for that. If your compliance rules forbid any third-party hosting, local inference is the answer.
Keeping your code portable
Whatever model you land on, protect yourself from lock-in. Keep the model name and base URL in environment variables, not scattered through the code. Put one thin function around your chat call so that swapping providers means changing a single file. Log the X-Request-Id header from each response, because it is the fastest way to point support at one specific call.
Also read the balance header. Responses include X-Balance-USD, so a script can warn you before credit runs low instead of failing at 2 a.m. The same applies to retries: on a 429 with a Retry-After: 5 header, wait five seconds and try again rather than hammering the endpoint.
If you later decide to move to a self-hosted copy of a specific checkpoint, none of this work is wasted. Local servers such as vLLM and Ollama expose OpenAI-style routes, so the application code you wrote for a hosted endpoint will usually carry over with a different base URL.
More guides
Questions and answers
Is this the official Nanbeige API?
No. This site is not run by the Nanbeige publisher and does not serve its weights. It hosts one other open-weight model that you call with the model ID uncensored.
Where do I find the real specs for this model line?
On the publisher's model card. Parameter count, license, context length and tuning details can change between revisions, so the card is the only source worth trusting.
Can I use the OpenAI SDK with this API?
Yes. Set the base URL to https://api.nanbeige.cc/v1, use your key as the Bearer token and set the model to uncensored.
Does the API generate images or embeddings?
No. It is text only, with no image, audio or video generation, no embeddings and no fine-tuning.
How can I test it without paying?
New users can claim $0.50 of trial credit with one click on the API key page. It needs no card, lasts 7 days and is limited to one per person.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.