OpenAI-Compatible Protocol
Drop this uncensored api into existing OpenAI SDKs by changing the base_url. Supports streaming and function calling out of the box.
Direct LLM Access
Connect a text model to an application that validates every proposed action. Define tool schemas, check returned arguments, and keep execution permissions in your own code.
Try it in one request
curl https://api.unrestrictedaiapi.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.unrestrictedaiapi.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.unrestrictedaiapi.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);Drop this uncensored api into existing OpenAI SDKs by changing the base_url. Supports streaming and function calling out of the box.
paid credit does not expire. No monthly subscriptions or hidden fees. Get bonus credit on top-ups of $50 or more. Trial credit has a separate 7-day validity period.
Use the model within the service’s content rules and handle refusals in your application. Sexual content involving minors is prohibited.
Sign up with just an email and password. Your API key appears immediately, ready for your first request.
Handle up to 300 requests per minute with a single key. Regenerate your key anytime to revoke access instantly.
We do not use your prompts for training. No phone number or credit card is required to start your trial.
Enter your email and password to generate your unique API key instantly.
Load prepaid credits via crypto (USDT or USDC) to start making requests.
Point your client to our base URL and send prompts to the uncensored model.
For a chat client, send the relevant messages and specify the expected reply format. Validate the answer before showing it, and keep refusal handling in the application.
Provide a source brief, intended audience and a bounded writing task. Review generated text for unsupported additions before using it in a script or description.
Select the relevant passages from a document and ask a bounded question. Compare the answer with the supplied passages; a large context window does not guarantee complete recall or accuracy.
Use the uncensored llm api as a backend for tools needing unfiltered text processing. Integrate easily with existing OpenAI-compatible workflows.
POST /v1/chat/completions and inspect model IDs with GET /v1/models. The base URL is https://api.unrestrictedaiapi.com/v1; set base_url in a compatible client and provide the current key. Test the supported methods and parameters. Image, audio, embedding and fine-tuning endpoints are not provided.
uncensored. Input and output together must fit within 100,000 tokens, and the body is limited to 8 MB. Full keys allow 300 requests per minute and 8 concurrent requests; trial keys allow 60 and 2. Keep necessary state in your application and validate each response; context capacity does not guarantee accurate recall.
Input costs $0.15 per million tokens and output costs $0.50 per million. Paid top-ups range from $20 to $500 and do not expire. Checkout lists available payment methods. Bonuses are 5% from $50, 10% from $100 and 15% from $200. Eligible accounts can request a $0.50 trial for 7 days, subject to verification and processing.
The model can be tested with fictional adult-character tasks within the service’s rules. It may still refuse or produce unsuitable content. Review the output before display.
Use the Chat Completions interface at https://api.unrestrictedaiapi.com/v1 with the current key and model uncensored. Test the parameters, streaming and tool-call format your client requires; other OpenAI endpoints are not implied.
Each account is limited to one API key. You can regenerate the key at any time, which immediately revokes the old one. This keeps your access simple and secure.
No. Your prompts are not used for training our model. We only require an email and password to create your account, keeping the process private and straightforward.
The model supports a 100,000 token context window. This allows for long conversations and large document processing within a single request.
Create an account, copy the key, change the base URL. That is the whole setup.
Define a read-only lookup_item tool accepting an item_id from the test set A12 and B07. Ask the model which item matches a short synthetic request. Parse any returned tool arguments and check the tool name, JSON schema and allowed item IDs before execution. Treat a tool call as a proposal, not permission to perform an action. This example tests application-side validation; your code supplies and executes the tool, not the language model endpoint.
Practical articles on setup, pricing and integration.
LLM API Error 401: Fixing Authentication FailuresGetting an LLM API error 401? Check the Bearer header, key copy errors, wrong base URL and env vars with working curl and Python tests that find…
Unrestricted AI Free: Trial Credit and Fair LimitsIs unrestricted AI free? You get $0.50 of trial credit with no card, then pay per token. See what the trial covers, its limits and when to top up.
OpenAI Compatible API Spec: What Is SupportedA plain reference for the OpenAI compatible API spec on this endpoint: methods, auth, parameters, streaming, tool calling, JSON mode, limits and…
Unrestricted AI API quickstart: Python, JavaScript, Go, PHP and RubyGet your unrestricted AI API key and start coding. OpenAI compatible API for developers with quickstart guides in five languages. Start building now.
Unrestricted AI API free trial: how it works and common questionsGet an unrestricted AI API key with $0.50 credit for 7 days. OpenAI compatible API for developers. Start testing now.
Build a Discord or Telegram bot on an unrestricted AI APIBuild a Discord or Telegram bot with an unrestricted AI API. OpenAI compatible API for developers. Get your API key now.