Uncensored hosted API for developers.
uncensored LLM API
A production-ready, OpenAI-compatible API for uncensored LLM inference. Drop in your existing code and get text output without self-hosting hassles.
- 100k context window
- Streaming & JSON mode
- Crypto payments only
Try it in one request
curl https://api.ollamansfw.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.ollamansfw.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.ollamansfw.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);What you get
OpenAI Compatible
Uses standard endpoints like /v1/chat/completions. Works with official SDKs by changing just the base_url and API key.
Uncensored Model
An open-weight model tuned to answer without content refusals for lawful adult use. Model ID is 'uncensored'.
Developer Features
Supports streaming via SSE, function calling (tools), and JSON mode. Includes standard parameters like temperature and top_p.
Transparent Pricing
$0.15 per 1M input tokens and $0.50 per 1M output tokens. Errors and refusals are free.
Crypto Top-ups
Top up with USDT (TRC20) or USDC (Base). Amounts from $20 to $500 with bonus credit tiers.
Simple Signup
Continue with Google or use email and password. No phone number required. Key is shown immediately.
How it works
Get an API Key
Sign up with Google or email to receive your key instantly.
Add Trial Credit
Start with $0.50 of trial credit valid for 7 days, no card needed.
Make Your First Request
Update your client base_url and send your first prompt.
What people build with it
Content Generation
Generate uncensored creative writing or roleplay without hitting standard refusal filters. Ideal for adult-themed narratives.
Security Research
Test LLM vulnerabilities and jailbreaks without artificial content blocking. Get raw model outputs for analysis.
API Integration
Drop this API into existing applications that expect an OpenAI-compatible endpoint. No code rewrites needed.
Data Processing
Process large text blocks using the 100k context window. Ideal for long-document summarization or extraction.
Why Choose an Uncensored Ollama NSFW API?
When developers search for an ollama nsfw solution, they often want a reliable API endpoint that doesn't refuse lawful adult content. This service provides a hosted, OpenAI-compatible API serving one uncensored large language model. It is not a consumer chat app but a developer tool for inference.
The model is an open-weight variant tuned to answer without content refusals. It is not GPT, Claude, or any other vendor's model. It runs on our own servers and serves text in, text out. This approach ensures consistent behavior for adult use cases without the variability of self-hosting.
We are an independent service. We do not serve another vendor's model. If you need specific vendor models, check their official documentation. Here, you get a single, uncensored model optimized for freedom of output.
Drop-in OpenAI Compatibility
Our API uses standard OpenAI endpoints. You can integrate it by changing the base_url and providing an API key. The endpoint is POST /v1/chat/completions for requests and GET /v1/models for listing.
This works with the official OpenAI SDKs and any OpenAI-compatible client. You do not need to rewrite your application logic. The model ID to send is uncensored.
curl https://api.ollamansfw.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."}]
}'Unlike self-hosted Ollama, we handle the infrastructure. You get a stable endpoint without managing GPUs or memory. This is a production-ready alternative for developers who want uncensored inference without the ops overhead.
Model & Context: 100k Tokens
The model supports a context window of 100,000 tokens for both prompt and completion combined. There is no separate output cap. If max_tokens is not set, the response can run to the end of the window.
This capacity allows for long-context processing without immediate truncation. It is suitable for documents, code bases, or extended conversations.
from openai import OpenAI
client = OpenAI(base_url="https://api.ollamansfw.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)Keep in mind that this is a single model service. We do not offer model routing or choice between multiple architectures. You get one uncensored model optimized for consistent behavior.
Developer Features: Streaming, Tools, JSON
We support streaming via Server-Sent Events (SSE). Token usage is included in the last chunk. You can also use function calling with tools and tool_choice.
JSON mode is available via response_format: json_object. Standard parameters like temperature, top_p, stop, seed, presence_penalty, and frequency_penalty are supported.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.ollamansfw.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);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 do not offer embeddings, image generation, audio, video, OCR, search, moderation, or fine-tuning. This is a text-only API for chat completions. If you need multimodal features, this is not the right choice.
Transparent Token Pricing
Pricing is simple and based on real token usage. Input tokens cost $0.15 per 1M. Output tokens cost $0.50 per 1M. Errors and refusals are free.
Prepaid credit is charged by actual usage. There is no subscription or monthly fee. Paid credit never expires. This model favors high-volume users who want predictable costs.
You can top up with crypto only. We accept USDT (TRC20) or USDC (Base). Amounts range from $20 to $500. You get a +5% bonus from $50, +10% from $100, and +15% from $200.
curl https://api.ollamansfw.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."}]
}'No cards, PayPal, or bank transfers. Credit is not refunded, but mistakes like double charges are fixed via Support.
Crypto Payments & Instant Top-up
Sign up with Google or email and password. The API key is shown immediately. No phone number is required. Each account gets one active key; a new key replaces the old one.
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. Prompts are not used for training. Privacy is straightforward: only an email is needed for the account.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.ollamansfw.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);There is a hard content limit: no sexual content involving minors. Requests of that kind are refused. This limit always applies. We do not claim SLA percentages, SOC2, HIPAA, or ISO certifications. We do not offer on-prem deployment or named customers. This is an API for developers, not a chat app.
Questions and answers
Is this the official Ollama API?
No, we are an independent service. We host an uncensored model that is compatible with the OpenAI API format. We do not serve Ollama's specific models or infrastructure. Check Ollama's official docs for their specific offerings.
What is the context window size?
The context window is 100,000 tokens for prompt and completion together. If max_tokens is not specified, the response can run to the end of the window.
How do I pay for the API?
We accept crypto only: USDT (TRC20) or USDC (Base). Minimum top-up is $20. You can get bonus credit for larger amounts. No credit cards or PayPal are accepted.
Does the API support streaming?
Yes, streaming is supported via Server-Sent Events (SSE). Token usage information is included in the last chunk of the stream. This allows for real-time token display in your application.
Is there a free tier?
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. After that, you must top up with crypto to continue using the API.
Guides
Practical articles on setup, pricing and integration.
Ollama API in Python, Then a Hosted EndpointA practical ollama api python tutorial: install, chat, stream and handle errors, then run the same code against a hosted OpenAI-compatible URL.
Ollama API vs OpenAI API: Endpoints and CodeOllama API vs OpenAI API explained: native endpoints, the OpenAI-compatible layer, streaming formats and what changes when you move to a hosted…
Ollamansfw API Pricing: Token Costs ExplainedWorked examples of what the uncensored API costs: $0.15 per 1M input tokens, $0.50 per 1M output tokens, prepaid from $20, with a $0.50 trial and…
Ollama Software Alternatives: Hosted Uncensored APICompare local runners such as LM Studio, llama.cpp and vLLM with a hosted, OpenAI-compatible uncensored API. Trade-offs, costs and who should pick…
How to Use Ollama with a GUI (and a Hosted Fallback)Put a graphical chat front end on Ollama with Open WebUI or similar, then point the same GUI at a hosted endpoint when local hardware is short.
Ollama API: how it works and what the alternatives areLearn how to use our uncensored LLM API. Pay per token, OpenAI compatible, and no restrictions. Read the guide now.