Uncensored LLM API
NSFW LLM API: Uncensored Chat Completions for Developers
Integrate streamed text into a dialogue client. Accumulate response events, handle interrupted connections, and keep completed messages separate from partial output in your application.
- OpenAI-compatible endpoints
- 100k token context window
- $0.15 per 1M input tokens
curl https://api.nsfwllmapi.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "uncensored",
"messages": [{"role": "user", "content": "Write a blunt product review of a cheap VPN."}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.nsfwllmapi.com/v1", api_key="YOUR_KEY")
resp = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Summarise this thread without softening it."}],
)
print(resp.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.nsfwllmapi.com/v1", apiKey: process.env.API_KEY });
const resp = await client.chat.completions.create({
model: "uncensored",
messages: [{ role: "user", content: "Draft a villain monologue for my game." }],
});
console.log(resp.choices[0].message.content);Try it in one request
- per 1M input tokens
- $0.15
- Output tokens / 1M
- $0.50
- token context
- 100,000
- trial credit
- $0.50
- requests per minute
- 300
What you get
Dedicated Uncensored Model
One public model ID removes provider selection from requests. Your application still validates output, stores conversation state and handles content refusals.
OpenAI-Compatible Interface
Use standard POST /v1/chat/completions with official SDKs. Just update your base_url and API key to integrate instantly.
Streaming & Tool Calling
Supports Server-Sent Events (SSE) for real-time streaming and full function/tool calling for building interactive bots.
Private & No Training
Your prompts are not used for training. We only require an email and password; no phone number or card needed for the trial.
Transparent Pay-As-You-Go
Paid credit does not expire; trial credit has a separate 7-day validity period. Top-up bonuses are 5% from $50, 10% from $100 and 15% from $200.
100k Context Window
Handle long conversations and large documents with a 100,000 token limit for both prompt and completion combined.
How it works
Sign Up
Create an account with just an email and password to receive your API key immediately.
Add Credits
Start with $0.50 trial credit or add more via crypto (USDT or USDC) with bonus credits available.
Integrate
Point your OpenAI-compatible client to our base URL and start generating text.
What people build with it
NSFW Chatbots
Send an adult fictional character brief and recent dialogue. Check the generated reply for continuity, and keep incomplete or refused responses out of the finished conversation.
Content Pipelines
Generate large volumes of unrestricted text for creative writing or data generation without paying for premium model tokens.
Research & Testing
Test LLM behavior on controversial or niche topics without worrying about standard content policy blocks interfering with your results.
Adult Content Platforms
Power user-facing text features on platforms where standard APIs might flag or block lawful adult interactions.
Uncensored Text Generation
Build a streamed dialogue client around saved scene state. Send character details with recent messages, accumulate text deltas and check the completed reply before storing it. The API does not maintain the conversation for you.
This is an independent text model, not GPT, Claude or Gemini. Test the adult-fiction prompts your application needs and review their output. Sexual content involving minors is prohibited; other requests may still be refused or answered incorrectly.
OpenAI-Compatible & Easy to Integrate
Our API follows the standard OpenAI chat-completions interface. You can use any official OpenAI SDK or client by simply changing the base_url to https://api.nsfwllmapi.com/v1 and providing your API key. The model id is "uncensored".
curl https://api.nsfwllmapi.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "uncensored",
"messages": [{"role": "user", "content": "Write a blunt product review of a cheap VPN."}]
}'This compatibility means you don't need custom parsers or complex routing logic. If you are migrating from another provider, your existing code will likely work with minimal adjustments. We do not offer embeddings, image generation, audio, or video capabilities—this is strictly for text generation.
Streaming & Tool Support
For responsive chatbots, we support Server-Sent Events (SSE) to stream tokens as they are generated. This reduces perceived latency and improves user experience in interactive applications.
stream = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Tell the story in second person."}],
stream=True,
)
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)We also support tool/function calling, allowing you to define external functions that the model can trigger. This enables your bot to interact with databases, APIs, or other services. The API supports POST /v1/chat/completions for these operations. We do not offer fine-tuning or model routing between vendors.
Private & No Training
Your privacy is straightforward. We require only an email and password to create an account. No phone number or credit card is needed to start with the trial. Crucially, your prompts are not used for training our models. We do not sell your data or use your inputs to improve the model. This makes it suitable for commercial applications where data confidentiality is required.
Who This Is Not For
If you need image generation, audio processing, or embedding vectors, this API is not for you. We do not offer those capabilities. If you require high-availability SLAs, SOC2/HIPAA certifications, or on-prem deployment, we do not provide those. We are a simple, transparent, pay-as-you-go service for text generation.
Questions and answers
What does uncensored mean for this API?
The model can be tested with fictional adult-character tasks within the service’s rules. It can still refuse or return unsuitable text. Sexual content involving minors is prohibited; review output before using it.
Is this the same as OpenAI's API?
No. We use a dedicated open-weight model, not GPT-4 or GPT-3.5. However, our API endpoint structure is compatible with the OpenAI SDKs. You just need to update your base_url and model ID. We do not resell OpenAI models.
Do you use my prompts for training?
No. Your prompts are not used for training our models. We value privacy for developers building commercial applications. Your data remains private to your account unless you share it.
What are the rate limits?
You can make up to 300 requests per minute per API key. Each request body is limited to 8 MB. If you need higher limits, you can regenerate your key or contact us.
How does the trial credit work?
New accounts get $0.50 in trial credit valid for 7 days. Claim this credit with one click on your API key page. No credit card is required to sign up. The credit is non-renewable and expires after 7 days. You can add more credits via crypto (USDT or USDC) at any time.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.
Example: assemble a streamed dialogue response
Send a fictional adult-character brief and a short dialogue history with streaming enabled. In your client, read the Server-Sent Events, accumulate the returned text deltas and wait for completion before saving the answer. Test an interrupted connection and ensure that partial text is marked as incomplete. Check character names against the brief before display. This example describes a client integration test; it does not promise a particular response time or uninterrupted delivery.
Guides
Practical articles on setup, pricing and integration.
Best Free LLM API for Roleplay: Honest LimitsWhat the best free LLM API for roleplay really gives you: trial credit math, session costs, free-tier limits to expect, and when pay-per-token…
SillyTavern 'Too Many Requests' Error: How to Fix ItSillyTavern API returned an error: too many requests (HTTP 429). Three causes, how to read the error code, and the SillyTavern and code settings…
NSFW LLM API Pricing: What You Actually PayPrepaid pricing for an uncensored chat API: $0.15 per 1M input and $0.50 per 1M output tokens, worked cost examples, top-up bonuses and a $0.50…
NSFW LLM API Discord Bot GuideBuild a Discord bot on an OpenAI-compatible uncensored LLM API: Python code, a narrator prompt, 429 handling, age-restricted channels and a cost…
LangChain for LLM Application Development: SetupConnect LangChain to an OpenAI-compatible uncensored LLM API: working Python and Node code for chains, streaming, tools, JSON mode and rate limit…
NSFW Chatbot API: Myths vs FactsDebunking myths about the NSFW chatbot API. Facts on uncensored models, context windows, and streaming. Is it worth it for adult content?