Uncensored LLM API
Uncensored AI API for Roleplay Apps
A dedicated, uncensored LLM endpoint optimized for romantic and adult roleplay. No image generation, no monthly fees, just reliable text responses.
- OpenAI-compatible POST endpoint
- 100,000 token context window
- Pay-as-you-go prepaid credit
Try it in one request
curl https://api.roleplayapi.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.roleplayapi.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.roleplayapi.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);- 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
Our API serves a single open-weight model tuned specifically to answer without content refusals for lawful adult use. It is not GPT, Claude, Gemini, or any other vendor's model.
OpenAI-Compatible Standard
Use the standard POST /v1/chat/completions endpoint with official OpenAI SDKs. Change only the base URL and API key to integrate with your existing companion bot infrastructure.
No Image or Video Distractions
Unlike competitors, we do not offer image or video generation. This keeps the API focused, fast, and predictable for text-based roleplay applications.
Streaming and Tool Calling
Support for Server-Sent Events (SSE) ensures smooth user experiences. Tool and function calling are fully supported for advanced agent behaviors.
Transparent Pay-As-You-Go Pricing
No monthly fees or subscriptions. Pay $0.15 per 1M input tokens and $0.50 per 1M output tokens. Prepaid credit never expires.
Simple Signup and Privacy
Create an account with just an email and password. Prompts are not used for training, and you receive a key immediately without needing a card for the trial.
How it works
Create Account
Sign up with an email and password to receive your API key instantly.
Add Credits
Top up by crypto (USDT on TRC20, USDC on Base) to start making requests, or use the $0.50 trial credit.
Integrate and Launch
Point your OpenAI-compatible client to our base URL and start generating responses.
What people build with it
Companion Chatbots
Build persistent, personality-driven chatbots that remember long conversations thanks to the 100k context window. Ideal for emotional support or roleplay companions.
Adult Roleplay Apps
Develop NSFW-enabled dating or roleplay applications without worrying about content filters blocking lawful adult interactions. The model is tuned for this specific use case.
Character AI Platforms
Power user-driven character platforms where creators define unique personalities that stick across long interactions without unwanted refusals interrupting the narrative.
Testing and Development
Use the API for rapid prototyping of chat interfaces. The straightforward JSON structure and streaming support make debugging and integration quick.
What is an Uncensored AI Girlfriend API?
An ai girlfriend api provides the backend intelligence for companion applications, delivering text responses based on user input. Unlike general-purpose models that may refuse adult topics, our uncensored AI API serves a dedicated model optimized for romantic and adult roleplay.
The model is open-weight and tuned to answer without content refusals for lawful adult use. It is not GPT, Claude, Gemini, Grok, or DeepSeek. It is a distinct model run on our own GPU servers, designed specifically to maintain character and context without unnecessary filtering. This approach ensures that your users experience consistent, immersive conversations without interruptions caused by standard safety layers.
Why Choose RoleplayAPI for Companion Bots
Most competitors bundle image generation or video features, which increases latency and cost for text-only applications. We provide a dedicated, uncensored LLM endpoint specifically for text. This focus means faster response times and simpler billing for creators who only need language generation.
Our model handles long conversations effectively with a 100,000 token context window. This allows your companion bots to remember details from the beginning of a chat, creating a more coherent and engaging experience. Additionally, our pay-as-you-go model with no monthly fees allows you to scale your companion apps with predictable costs. You only pay for what you use, and prepaid credit never expires.
OpenAI-Compatible & Easy Integration
We use the standard OpenAI chat-completions structure, so you likely already have the code to connect. Simply update your base URL to https://api.roleplayapi.com/v1 and set your API key. The endpoint supports streaming via Server-Sent Events (SSE) and tool/function calling, giving you full control over the user experience.
Our API is designed for developers who want reliability without complex integrations. There are no embeddings, image generation, or fine-tuning endpoints to manage. Just send text and receive text. This simplicity reduces development time and minimizes potential points of failure in your application stack.
High Capacity: 100k Context Window
Context window size is critical for roleplay applications where long-term memory matters. Our API supports a 100,000 token context window, encompassing both the prompt and the completion. This allows your bots to retain extensive conversation history, character details, and user preferences.
For comparison, many standard models cap context at 8k or 32k tokens. With 100k tokens, you can store thousands of messages, enabling deeper, more personalized interactions. This capacity ensures that your uncensored chatbot api delivers consistent character voices and remembers past events without requiring complex external memory management systems.
Streaming & Tool Calling Support
Streaming is essential for a natural conversational feel. Our API supports Server-Sent Events (SSE), allowing characters to appear as they are generated rather than waiting for the full response. This reduces perceived latency and improves user engagement.
Tool and function calling are also fully supported. You can define custom tools to allow your companion bot to perform actions, fetch data, or interact with other services. This flexibility makes our uncensored api suitable for advanced agents that go beyond simple text generation. The structure remains compatible with official OpenAI SDKs, making integration straightforward.
Simple, Transparent Pricing
We charge $0.15 per 1M input tokens and $0.50 per 1M output tokens. There are no monthly fees, no subscriptions, and no hidden costs. Prepaid credit never expires, so you can top up when convenient. You can start with a free trial of $0.50 valid for 7 days, requiring only an email and password. Claim this credit with one click on your API key page.
For larger needs, top-ups start at $20 by crypto (USDT or USDC). You receive a +5% bonus credit from $50, +10% from $100, and +15% from $200. Limits are 300 requests per minute per key and an 8 MB request body. If you need image generation, embeddings, or fine-tuning, this API is not for you. We focus solely on high-quality, uncensored text generation.
Questions and answers
Is the model the same as GPT-4 or Claude?
No. Our model is an open-weight model run on our own GPU servers. It is not GPT, Claude, Gemini, Grok, or DeepSeek. It is a distinct model tuned specifically for uncensored roleplay and adult content.
What is the context window size?
The context window is 100,000 tokens, which includes both the prompt and the completion. This allows for extensive conversation history and memory within a single request.
Do you offer image generation?
No. We provide a dedicated text API. We do not offer image, audio, or video generation, embeddings, or fine-tuning. This keeps the service fast and focused on roleplay text.
How does pricing work?
We use a pay-as-you-go model with no monthly fees. Input tokens cost $0.15 per 1M, and output tokens cost $0.50 per 1M. Prepaid credit never expires. New accounts get $0.50 in trial credit. Claim this credit with one click on your API key page.
Is the API compatible with OpenAI SDKs?
Yes. We use the standard OpenAI chat-completions endpoint structure. You can use official OpenAI SDKs by changing the base URL to https://api.roleplayapi.com/v1 and setting your API key.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.
Guides
Practical articles on setup, pricing and integration.
Best LLM for Roleplay on Janitor AI: Custom API SetupWhat to look for in the best LLM for roleplay on Janitor AI: context size, refusal behavior and cost, plus how to enter a custom OpenAI-compatible…
SillyTavern API Not Working: Custom Endpoint FixesSillyTavern API not working with a custom endpoint? Check the URL path, key, model ID, context size and 429 errors with this ordered checklist and…
API for Roleplay: Streaming, Tools and JSON ModeWhat a roleplay app needs from an LLM API: streaming, tool calling for dice and state, JSON mode, seeds and limits, with working Python code and…
Discord Bots for Roleplay: Build One with an LLM APIBuild your own Discord roleplay bot in Python with an OpenAI-compatible uncensored API: bot setup, per-channel memory, rate limits, webhooks and…
Grok API Uncensored: Integration GuideStep-by-step guide to using the Grok API Uncensored model for NSFW chatbots. Learn about context windows, streaming, and setup for adult companion…