First request in five minutes
Update your base URL and API key to route requests to our uncensored endpoint. The OpenAI-compatible interface means your existing client code works with zero logic changes.
Base URL and Authentication
Replace your standard OpenAI base URL with https://api.mistralapi.cc/v1. You must include your API key in the Authorization header as a Bearer token. This is the only configuration change required to switch your client to our uncensored service. You can generate a key via the Get API key page using Google or email. Keep your key secure; it provides access to your prepaid credit.
Send a Chat Completion
Make a standard POST /v1/chat/completions request. Set the model to uncensored. The API accepts text input and returns text output. It does not support images, audio, or embeddings. You can control behavior using parameters like temperature, top_p, stop, seed, and penalties. Requests that exceed limits or fail authentication do not consume credit.
curl https://api.mistralapi.cc/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."}]
}'
Python SDK Integration
Use the official openai Python package. Initialize the client with the new base URL and your key. Call chat.completions.create() with the uncensored model ID. This approach works for any OpenAI-compatible client library. The service is designed for developers who prefer simple prepaid token billing over complex subscriptions.
from openai import OpenAI
client = OpenAI(base_url="https://api.mistralapi.cc/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 SDK Integration
Initialize the Node.js OpenAI SDK with the custom base URL. Pass your API key in the options. Use the chat.completions.create() method with the uncensored model. This allows you to keep your existing TypeScript or JavaScript logic intact while gaining access to an uncensored model that does not refuse lawful adult or controversial topics.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.mistralapi.cc/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 Responses
Enable streaming by setting stream: true. The API returns chunks via Server-Sent Events (SSE). Token usage statistics are included in the final chunk of the stream. This allows you to display output in real-time without waiting for the full response. You can parse the stream to update your UI progressively.
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)
Rate Limits and Context Window
Each API key is limited to 300 requests per minute and 8 concurrent requests. The request body must not exceed 8 MB. The context window is 100,000 tokens total, including prompt and completion. There is no separate output cap (if max_tokens is not set, the response can run to the end of the window). If your key lacks sufficient credit, the request fails. Authentication errors occur if the key is invalid or removed. Rate limits return standard HTTP 429 errors when exceeded.
Questions and answers
Does the API support function calling?
Yes, you can use the tools and tool_choice parameters in your chat completion requests. The model supports structured outputs via response_format: json_object for reliable JSON generation.
What happens if I exceed the rate limit?
Requests exceeding the 300 per minute or 8 concurrent limit per key will fail. These errors do not consume your prepaid credit. You can generate a new key to replace the old one, which resets your limits.
Is the uncensored model the same as Grok or Llama?
No. It is an open-weight model run on our own servers, tuned to answer without content refusals. It is not GPT, Claude, Gemini, Grok, DeepSeek, Qwen, or Llama. It is a distinct model served via an OpenAI-compatible interface.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.
Capabilities and limits
The numbers below are the real limits of this API, not marketing. Compare them with what your app needs.
| Item | Value |
|---|---|
| API format | OpenAI Chat Completions schema; official openai SDKs work unchanged |
| Methods | POST /v1/chat/completions · GET /v1/models |
| Model ID | uncensored |
| Base URL | https://api.mistralapi.cc/v1 |
| API key | Authorization: Bearer YOUR_KEY |
| Context window | 100,000 tokens (prompt + completion together) |
| Streaming | Yes — server-sent events; the last chunk carries token usage |
| Tools / tool calls | Yes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool |
| Max output | up to the rest of the 100,000-token window; max_tokens optional (no separate cap) |
| Other parameters | temperature, top_p, stop, seed and the two penalties are passed through |
| JSON mode | response_format: {"type": "json_object"} |
| Concurrency | up to 8 in parallel per key |
| Requests per minute | 300 requests per minute per key |
| Request size | up to 8 MB per request |
| Headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| How you pay | pay as you go from prepaid credit; nothing is charged for failed or refused requests |
| Bonus credit | +5% on $50+, +10% on $100+, +15% on $200+ |
| Price | $0.15 per 1M input tokens · $0.50 per 1M output tokens |
| Free trial | $0.50 for 7 days, no card · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up |
| Top-up | USDT (TRC20) or USDC (Base), any whole amount from $20 to $500 |
| Subscription | no monthly fee; paid credit does not expire |
| Key management | one key per account, regenerate any time (the old one stops working) |
| Content | uncensored for adults; the only hard rule: no sexual content involving minors |
| Sign-in | sign in with Google or with e-mail + password |
Errors and what to do
Errors come back as JSON with a stable type; failed and refused requests are not billed.
| Status | Type | Reason |
|---|---|---|
400 | bad_request | malformed request or too long for the context window |
401 | missing_key · invalid_key · key_revoked | no key, wrong key, or a key replaced by a newer one |
402 | no_credit | balance is empty — top up, requests resume at once |
403 | content_blocked | refused by the content policy |
404 | not_found | only /v1/chat/completions and /v1/models exist |
413 | request_too_large | request body larger than 8 MB |
429 | rate_limited · concurrency | over 300/min or 8 parallel — back off and retry |
503 | upstream_busy | model busy — retry in a few seconds |