OpenAI Compatible API Quickstart
Drop this uncensored LLM into your existing stack with a single base URL change. Get straight to inference without account moderation or hidden refusals.
- Model
- uncensored
- Base URL
- https://api.openaicompatibleapis.com/v1
Base URL and Authentication Setup
Start by pointing your client at our dedicated endpoint. We use standard headers so your existing logic works immediately.
- Base URL:
https://api.openaicompatibleapis.com/v1 - Auth: Bearer token via
Authorizationheader
Generate a key on the dashboard. No phone number required.
Chat Completions Endpoint (POST /v1/chat/completions)
Send prompts and receive text responses through the standard chat interface. This is the core of our uncensored API.
The model ID is uncensored. It handles 100,000 token context windows efficiently.
List Models Endpoint (GET /v1/models)
Verify connectivity by checking available models. This endpoint returns the single uncensored LLM we host.
Use this for quick health checks before sending heavy payloads.
Streaming Responses and Token Usage
Receive data in real-time via Server-Sent Events (SSE). Token usage details appear in the final chunk.
Great for UIs that need instant feedback without waiting for full completion.
Function Calling and JSON Mode
Structure your outputs precisely using response_format: json_object. Tool definitions work exactly like the OpenAI spec.
Set tool_choice to force specific behaviors. Ideal for automated workflows.
Rate Limits and Token Constraints
Enforce strict limits to ensure stability. Each key allows 300 requests per minute and 8 concurrent connections.
Max output is 16,000 tokens. Errors are free. Context is 100k tokens total.
cURL
curl https://api.openaicompatibleapis.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "uncensored",
"messages": [{"role": "user", "content": "what is the current system time"}]
}'Python
from openai import OpenAI
client = OpenAI(base_url="https://api.openaicompatibleapis.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)Node.js
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.openaicompatibleapis.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);Streaming
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)Frequently asked questions
How do I set up an openai compatible API proxy for this service?
Configure your client's base URL to HTTPS://api.openaicompatibleapis.com/v1. Pass your API key in the Authorization header. It works with any standard SDK.
Is this an openai compatible API alternative for uncensored use?
Yes. We provide a drop-in replacement that bypasses standard content filters. The model is tuned for lawful adult content and unrestricted coding.
What happens if I hit the rate limit?
You receive a 429 error. You can retry after the window resets. Concurrent connections are limited to 8 per key.
Get your API key now
Sign up, copy your key, and update your base URL. That is all.