EN ▾
Get API key

Uncensored LLM API

Uncensored LLM API for NSFW Writing, 100k Context

The NSFW Writer API is an uncensored AI API designed for developers who need reliable, filter-free text generation for adult content, roleplay, and character chat without unexpected refusals.

  • OpenAI-compatible chat-completions
  • Zero content filters for adults
  • Crypto prepaid, no subscriptions

Get API keyRead the docs

Try it in one request

curl https://api.nsfwwriter.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."}]
  }'

What you get

OpenAI Compatible

Drop our base URL into any official OpenAI SDK or compatible client to start generating text immediately with zero extra configuration.

True Uncensored Output

Our dedicated model answers without refusing lawful adult, fictional, or controversial topics, ensuring your NSFW chatbots behave as expected.

Streaming & Tools

Supports streaming via SSE, function calling, and JSON mode for building robust applications that handle complex data structures or real-time updates.

Transparent Pricing

Pay only for tokens used with prepaid crypto credits; errors and refusals are free, and your credit never expires.

Developer Privacy

We do not use your prompts for training, and we require no phone number to get started with your API key.

Rapid Integration

Get your API key instantly via Google or email, then start making requests to the chat-completions endpoint in minutes.

How it works

  1. Get Your Key

    Sign up with Google or email to receive your unique API key instantly without needing a credit card.

  2. Add Crypto Credit

    Top up your account with USDT (TRC20) or USDC (Base) to start sending requests and paying per token.

  3. Start Coding

    Update your SDK's base URL to ours and send your first chat completion request to the uncensored model.

What people build with it

NSFW Chatbots

Build character-driven roleplay bots that maintain personality and context without breaking character due to content filters. Developers can deploy these bots to web or mobile platforms seamlessly.

Adult Content Platforms

Generate stories, scripts, or interactive fiction for adult audiences that require explicit content without manual post-processing. The API handles nuanced context windows up to 100k tokens.

Roleplay Applications

Create immersive text-based adventures where the AI responds naturally to user inputs without sanitizing language or themes. Use streaming to provide real-time responses to users.

Data Generation

Produce large datasets of uncensored text for training your own models or testing content moderation systems. The JSON mode ensures structured output for easy parsing.

Why NSFW Writers Need Uncensored APIs

General-purpose AI providers often censor adult content, causing chatbots to refuse simple prompts or sanitize language unexpectedly. This breaks immersion for users and requires extra logic to handle refusals. The NSFW Writer API uses a dedicated model tuned to answer without content refusals for lawful adult use, ensuring your application behaves consistently.

Unlike generic models, our uncensored AI API is built specifically for this use case. It does not apply hidden filters that trigger on keywords or context. This reliability is critical for NSFW character AI writers who need predictable outputs. However, note that we do block sexual content involving minors, a hard limit that always applies.

Seamless Integration with OpenAI SDKs

Our API follows the OpenAI chat-completions format, meaning you can use the official SDKs for Python, Node.js, and other languages with minimal changes. Simply update the base URL to https://api.nsfwwriter.com/v1 and provide your API key. This compatibility extends to any tool that supports OpenAI-compatible clients.

from openai import OpenAI

client = OpenAI(base_url="https://api.nsfwwriter.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)

We support standard parameters like temperature, top_p, and stop sequences. You can also use JSON mode for structured data or function calling for tool use. The context window supports 100,000 tokens for prompt and completion combined, allowing for deep context in long conversations.

Uncensored Model: Built for Adult Content

The model behind our NSFW LLM API is an open-weight model run on our own servers. It is not GPT, Claude, Gemini, or any other vendor's model. It is specifically tuned to avoid refusing adult, fictional, or controversial topics that other providers might flag. This makes it ideal for roleplay apps where maintaining the character's voice is paramount.

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.nsfwwriter.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);

While the model is uncensored, it still follows basic safety guidelines, specifically blocking sexual content involving minors. This ensures broad usability while maintaining the freedom to generate mature content. The model handles complex narratives and maintains context over long interactions.

Developer-First Features: Streaming & Tools

We provide a developer-first experience with features essential for modern applications. Streaming via Server-Sent Events (SSE) allows you to send tokens to the user as they are generated, reducing perceived latency. You can also use function calling and JSON mode for structured outputs.

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)

Our API supports parameters like seed for reproducibility and presence_penalty/frequency_penalty for controlling text diversity. There is no separate output cap per request, and if max_tokens is not set, the response can run to the end of the window. This flexibility allows you to fine-tune the generation process for your specific use case.

Transparent Pricing: Pay Per Token

We charge $0.15 per 1M input tokens and $0.50 per 1M output tokens. You pay for real token usage, and errors or refusals are free. There are no subscriptions or monthly fees, and your prepaid credit never expires. This model is ideal for developers who want to control costs precisely.

curl https://api.nsfwwriter.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."}]
  }'

We accept crypto only: USDT (TRC20) or USDC (Base). You can top up with any whole amount from $20 to $500. You get a +5% bonus for $50+, +10% for $100+, and +15% for $200+. We do not accept cards, PayPal, or bank transfers. New users get $0.50 in trial credit valid for 7 days, one per person, no card needed. Claim this credit with one click on your API key page.

Privacy & No Training on Your Data

Your privacy matters to us. We do not use your prompts for training, ensuring your data remains yours. We require only an email to create an account, and we do not ask for a phone number. This minimizes the personal data you share with us.

Our API is designed for developers who value privacy. We do not store your data longer than necessary to process your request. If you have a double charge or other billing issue, you can contact us via the Support page. Credit is not refunded, but it never expires, so you can use it whenever you need.

Questions and answers

Is this API really uncensored?

Yes, our model is tuned to answer without content refusals for lawful adult use. It does not apply the same filters as general-purpose providers. However, we do block sexual content involving minors, which is a hard limit.

How do I pay for the API?

We accept crypto only: USDT (TRC20) or USDC (Base). You can top up with any whole amount from $20 to $500. There are no monthly fees, and your credit never expires. You get a bonus for larger top-ups.

Can I use the OpenAI SDK?

Yes, our API is OpenAI-compatible. You can use the official Python or Node.js SDKs by changing the base URL to https://api.nsfwwriter.com/v1 and providing your API key. It works with any OpenAI-compatible client.

What is the context window size?

The context window is 100,000 tokens for the prompt and completion combined. There is no separate output cap, and if you do not set max_tokens, the response can run to the end of the window.

Who is this NOT for?

This API is not for users who need image, audio, or video generation, embeddings, or fine-tuning. It is also not for those who require SLA guarantees, SOC2 certifications, or on-prem deployment. It is strictly a text-based API for developers.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.

Get API keyRead the docs

Guides

Practical articles on setup, pricing and integration.

All guides →
Get API keynsfwwriter.comuncensoreden