EN ▾
Get API key

Uncensored API for developers

https://api.qwennsfw.com/v1

Uncensored API for developers

The Uncensored Chat API Alternative to Qwen NSFW

Swap your base URL and start generating with an uncensored chat model that ignores standard refusals.

  • 100K context window
  • Streaming SSE support
  • Crypto only

Get API keyRead the docs

What you get

  • OpenAI SDK Compatible

    Works with the official OpenAI SDKs and any OpenAI-compatible client by simply changing the base_url.

  • 100K Context Window

    Handle long documents with 100,000 tokens (prompt + completion) with no separate cap on output.

  • Function Calling & JSON

    Use tools, tool_choice, and strict JSON mode for reliable structured data extraction.

  • Streaming via SSE

    Receive real-time tokens via Server-Sent Events, with usage stats in the final chunk.

  • Pay Per Token

    $0.15 per 1M input tokens and $0.50 per 1M output tokens. No monthly fees.

  • Crypto Top-ups

    Top up with USDT (TRC20) or USDC (Base). No cards, no bank transfers.

How it works

  1. Get Your Key

    Sign up with Google or email and receive your API key instantly.

  2. Swap Base URL

    Update your client configuration to point to https://api.qwennsfw.com/v1.

  3. Start Generating

    Send requests to /v1/chat/completions with the model ID "uncensored".

What people build with it

  • Content Generation

    Generate uncensored text for creative writing, adult fiction, or roleplay without standard refusals.

  • Security Research

    Test model outputs for jailbreaks or controversial topics without hitting content filters.

  • Data Extraction

    Parse large documents using the 100K context window and JSON mode for structured data.

  • API Integration

    Drop this API into existing applications that already use the OpenAI SDK format.

Why Switch to an Uncensored LLM API?

Many developers need a model that doesn't refuse lawful adult, controversial, or security-research topics. This API serves an open-weight model tuned to answer without content refusals. It is not GPT, Claude, Gemini, or Qwen. It is an independent service that runs on our own servers.

The model accepts text and returns text. It does not generate images, audio, or video. It does not offer embeddings or fine-tuning. If you need pure text generation without filters, this is the right tool.

OpenAI SDK Compatibility

This API is fully compatible with the OpenAI Python and Node.js SDKs. You only need to change the base_url and provide your API key. The model ID to send is "uncensored". All standard parameters like temperature, top_p, and stop are supported.

  • Base URL: https://api.qwennsfw.com/v1
  • Endpoint: POST /v1/chat/completions
  • Model ID: "uncensored"

Streaming is available via Server-Sent Events (SSE). Token usage is included in the last chunk.

100K Context Window for Long Documents

Process long documents with a 100,000 token context window. This includes both the prompt and the completion. There is no separate output cap. If you do not set max_tokens, the response can run to the end of the window.

This makes the API suitable for summarizing long texts, extracting data from large files, or maintaining context in complex conversations. The API does not offer embeddings, so you must handle embedding logic yourself if needed.

Function Calling & JSON Mode

Use function calling with tools and tool_choice for structured outputs. Enable JSON mode with response_format set to json_object for reliable data extraction. This is useful for building agents or parsing specific data formats.

Parameters like presence_penalty and frequency_penalty are supported to control text diversity. The API does not offer model routing or multiple model choices. It serves one uncensored model.

Developer Pricing: Pay Per Token

Pricing is simple and transparent. $0.15 per 1M input tokens and $0.50 per 1M output tokens. Errors and refusals are free. Credit never expires. There are no monthly fees or subscriptions.

Top-ups are crypto only: USDT (TRC20) or USDC (Base). Any whole amount from $20 to $500 is accepted. Bonus credit is available: +5% from $50, +10% from $100, +15% from $200. No cards, no PayPal, no bank transfers.

Get Your API Key Now

Sign up with Google or email and receive your API key instantly. No phone number is required. The key is shown immediately. You can start making requests right away.

A new account gets $0.50 of trial credit valid for 7 days. Claim this credit with one click on your API key page. No card is needed. Limits are 300 requests per minute and 8 requests at the same time per key. The request body limit is 8 MB. One active key per account.

Who This Is Not For

This API is not for users who need image, audio, or video generation. It does not offer embeddings, OCR, or search capabilities. It is not a fine-tuned model service. If you need multiple model choices or model routing, this is not the right choice. It is also not for users who require SLA guarantees or SOC2/HIPAA certifications. It is purely a text API for developers who need uncensored output.

Questions and answers

Is this the official Qwen NSFW API?

No, this is an independent service. We are not affiliated with any other company. We serve our own uncensored model, not Qwen, Llama, or any other vendor's model.

How do I top up my credit?

Top-ups are crypto only. We accept USDT (TRC20) and USDC (Base). Any whole amount from $20 to $500 is accepted. No cards, no PayPal, no bank transfers.

What is the context window size?

The context window is 100,000 tokens, including both prompt and completion. If max_tokens is not set, the response can run to the end of the window.

Does the API support streaming?

Yes, streaming is available via Server-Sent Events (SSE). Token usage is included in the last chunk. This is useful for real-time applications.

Is there a free trial?

Yes, new users get $0.50 of trial credit, one per person, valid for 7 days. Claim this credit with one click on your API key page. No card is needed. Sign up with Google or email to get started.

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 →