Steps from sign-up to first reply
- Sign up. Use Google, or an email and password.
- Open the key page. It is at the API key page. Your key is shown there.
- Claim the trial, or top up. The $0.50 trial is one click and one per person. For a full key you top up instead (see below).
- Set the base URL. It is
https://api.bestnsfwllmmodel.com/v1. - Send a request. Use the model ID
uncensored.
Keep the key out of your source code. Put it in an environment variable and read it from there.
Trial or top-up?
The trial is the quick way to test. It is $0.50 of credit, valid for 7 days, with no payment needed. A trial key allows 2 concurrent requests and 60 requests per minute.
A top-up gives you a full key with 8 concurrent requests and 300 requests per minute. You pick any whole amount from $20 to $500, and you get a bonus of 5% from $50, 10% from $100 and 15% from $200. A $100 top-up, for example, becomes $110 of credit, and a $200 top-up becomes $230. Payment is in crypto: USDT on TRC20 or USDC on Base. Credit never expires.
How far does the trial go? At $0.15 per 1M input tokens and $0.50 per 1M output tokens, a request with 500 input tokens and 300 output tokens costs 500 x $0.15 / 1,000,000 + 300 x $0.50 / 1,000,000 = $0.000075 + $0.00015 = $0.000225. So $0.50 covers about 2,222 such requests, which is more than enough for testing. See the pricing page for the full table.
Your first request
Export the key, then call the chat completions endpoint:
export NSFW_API_KEY="paste-your-key-here"
curl https://api.bestnsfwllmmodel.com/v1/chat/completions \
-H "Authorization: Bearer $NSFW_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "uncensored",
"messages": [
{"role": "system", "content": "You are a storyteller for adult readers."},
{"role": "user", "content": "Open a noir story in two sentences."}
]
}'
A good reply is JSON with a choices array. The text is in choices[0].message.content. In Python, the OpenAI SDK does the same job:
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.bestnsfwllmmodel.com/v1",
api_key=os.environ["NSFW_API_KEY"],
)
r = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Open a noir story in two sentences."}],
)
print(r.choices[0].message.content)
And in Node:
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.bestnsfwllmmodel.com/v1",
apiKey: process.env.NSFW_API_KEY,
});
const r = await client.chat.completions.create({
model: "uncensored",
messages: [{ role: "user", content: "Open a noir story in two sentences." }],
});
console.log(r.choices[0].message.content);Check what the key can see
Two cheap calls tell you whether the key and the balance are healthy. First, list the models:
curl https://api.bestnsfwllmmodel.com/v1/models \
-H "Authorization: Bearer $NSFW_API_KEY"
Second, read the balance. You can call GET /v1/balance or the OpenAI-style GET /v1/dashboard/billing/credit_grants. Every response also carries an X-Balance-USD header, so you can log the remaining credit without an extra call.
curl https://api.bestnsfwllmmodel.com/v1/balance \
-H "Authorization: Bearer $NSFW_API_KEY"
The docs cover chat completions, the responses endpoint, streaming and tool calling.
Using the key in clients and tools
Once the first request works, you can plug the same key into other software. Many chat frontends and roleplay clients, such as SillyTavern, let you add an OpenAI-compatible endpoint. The fields are the same everywhere: a base URL, a key and a model name.
- Base URL:
https://api.bestnsfwllmmodel.com/v1 - API key: the key from the API key page
- Model:
uncensored
If a client asks for a full endpoint instead of a base URL, add the path yourself, for example /chat/completions. If it offers a Responses mode, the API also accepts POST /v1/responses:
curl https://api.bestnsfwllmmodel.com/v1/responses \
-H "Authorization: Bearer $NSFW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "uncensored", "input": "Give me three names for a tavern."}'
Keep the key safe
Store the key in an environment variable or a secrets manager. Do not commit it to a repository and do not paste it into screenshots or support messages. If you suspect it leaked, regenerate it on the key page. The old key stops working at once. Accounts that have topped up can also hold up to 5 labeled keys and revoke any of them. Each response shows your remaining balance in the X-Balance-USD header, which also helps you notice unexpected spending.
Common errors and fixes
The request is rejected as unauthorized
Check the header spelling. It must be Authorization: Bearer YOUR_KEY, with one space and no quotes in the value. Also check that your environment variable is actually set in the shell that runs the code.
Not found, or an HTML page comes back
The base URL probably lacks /v1, or has it twice. SDKs append paths such as /chat/completions to the base URL, so the base should end exactly at /v1.
HTTP 429 with code rate_limited
You passed the requests-per-minute cap. The trial key allows 60 per minute and a full key 300. Slow down or queue requests. The headers X-RateLimit-Limit-Requests and X-RateLimit-Limit-Concurrency show your limits.
HTTP 429 with code concurrency
Too many requests are running at once: 2 on a trial key and 8 on a full key. A streamed request holds its slot until the stream ends, so close streams you no longer read.
HTTP 429 with a Retry-After header
On temporary overload the API returns 429 with Retry-After: 5. Wait five seconds and retry. A short backoff loop handles this:
import time
from openai import OpenAI, RateLimitError
client = OpenAI(base_url="https://api.bestnsfwllmmodel.com/v1", api_key="YOUR_KEY")
def chat(messages, tries=4):
for i in range(tries):
try:
return client.chat.completions.create(model="uncensored", messages=messages)
except RateLimitError:
time.sleep(5 * (i + 1))
raise RuntimeError("still limited after retries")
Failed or refused requests are not charged, so retries do not cost you for the failed attempts.
First-day checklist
Run through this list once and you will avoid most of the questions that reach support.
- Key stored safely. It lives in an environment variable, not in your code.
- Base URL correct. It ends at
/v1, and your client adds the rest of the path. - Model ID set. You send
uncensoredin themodelfield. - Balance visible. You can see
X-Balance-USDin the response headers or call the balance endpoint. - Retries in place. Your code waits and retries on HTTP 429 instead of failing at once.
- Limits known. You know if your key is a trial key (2 concurrent, 60 per minute) or a full key (8 concurrent, 300 per minute).
- Use is lawful. The service is for lawful adult use, and sexual content involving minors is never allowed.
When you are ready for real traffic, top up from the key page. If the trial runs out before you finish testing, a $20 top-up is the smallest step, and it lasts a long time at these prices: at $0.000225 for a request of 500 input and 300 output tokens, $20 covers about 88,888 of them.
Before you ship
Treat the key like a password. Keep it on your server, not in a browser app or a mobile build. If you serve many users, put your own rate limiting and moderation in front of the API. The service is for lawful adult use, and sexual content involving minors is never allowed. Prompts are not used for training.
For ideas on what to build next, see the NSFW chatbot cost and trade-off analysis.
