Uncensored Coding API
Uncensored LLM API for AI Agents
A direct, OpenAI-compatible endpoint for coding agents that removes content refusals without model routing abstractions.
- OpenAI compatible endpoint
- No content refusals for lawful use
- $0.15 per 1M input tokens
- per 1M input tokens
- $0.15
- Output tokens / 1M
- $0.50
- token context
- 100,000
- trial credit
- $0.50
- requests per minute
- 300
Try it in one request
curl https://api.codingllmapi.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.codingllmapi.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.codingllmapi.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
Direct Uncensored Model
We serve a single open-weight model tuned to answer without content refusals for lawful adult use. It is not GPT, Claude, or any other vendor's model.
Drop-in Compatibility
Use the standard POST /v1/chat/completions endpoint. Change your base_url to ours and pass our API key to work with existing OpenAI SDKs.
Streaming & Tools
Supports server-sent events (SSE) for streaming and function/tool calling. Ideal for agents that need real-time token generation.
Transparent Pricing
Pay-as-you-go prepaid credit with no monthly fees. Input tokens are $0.15 per 1M; output tokens are $0.50 per 1M.
Privacy Focused
Accounts require only email and password. Prompts are not used for training your data, ensuring confidentiality for proprietary code.
Simple Limits
300 requests per minute per key with an 8 MB request body limit. One key per account, revocable at any time.
How it works
Sign Up
Create an account with email and password to receive your API key immediately.
Configure Client
Update your coding agent's base_url to https://api.codingllmapi.com/v1 and set the API key.
Start Generating
Send requests to /v1/chat/completions and receive uncensored text responses.
What people build with it
Coding Agents
Deploy autonomous agents that write and execute code without worrying about generic content filters blocking legitimate operations. The uncensored nature ensures fewer interruptions during complex reasoning tasks.
Adult Content Creation
Generate fiction or code related to lawful adult topics without artificial refusals. This is useful for creative writing tools or specialized content platforms.
Security Research
Analyze code for vulnerabilities or generate security reports without the model refusing to discuss controversial or sensitive technical details. Ideal for red-teaming environments.
Developer Workflows
Replace expensive or restrictive LLMs in your CI/CD pipelines. The open-weight model provides a cost-effective alternative for high-volume code generation tasks.
Why Uncensored Matters for Coding
Many general-purpose LLMs refuse to generate code or discuss certain topics due to broad content policies. Our AI coding API serves an uncensored LLM that does not refuse lawful adult, fictional, or controversial topics. This ensures your coding agent can generate complete responses without unexpected stops. The model is not GPT, Claude, Gemini, Grok, or DeepSeek; it is an independent open-weight model optimized for this specific behavior.
We strip away third-party abstractions to give you a direct endpoint. While some models might block code snippets containing specific keywords, our model focuses on delivering text without those generic filters. This is critical for agents that need to parse output reliably. Note that sexual content involving minors is always blocked, regardless of the uncensored setting.
Drop-in OpenAI Compatibility
Our API is OpenAI-compatible, meaning you can use it with existing tools and SDKs. The endpoint structure mirrors OpenAI's chat-completions interface. You simply update the base_url in your configuration to point to our servers. This includes support for standard parameters like temperature, max_tokens, and stream.
curl https://api.codingllmapi.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."}]
}'Because we are an independent service, we do not offer embeddings, image generation, or fine-tuning. We focus solely on text-in, text-out capabilities. This simplicity reduces latency and cost. If you need vision or audio, you must integrate a separate service. Our model id is "uncensored". You can verify available models via GET /v1/models.
Streaming & Tool Calling Support
Coding agents often require real-time feedback. Our API supports Server-Sent Events (SSE) for streaming responses. This allows your application to display tokens as they are generated, improving user experience for long code blocks. Tool calling is also supported, enabling your agent to execute functions dynamically.
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)With a 100,000 token context window, you can pass large codebases or extensive conversation history. This is essential for maintaining context in complex coding tasks. The 8 MB request body limit ensures efficient processing without overwhelming the server. Each key is limited to 300 requests per minute, which is sufficient for most automated workflows.
Transparent Pricing for High Volume
We offer pay-as-you-go prepaid credit with no monthly fees. The cost is $0.15 per 1M input tokens and $0.50 per 1M output tokens. Top-ups start at $20. If you add $50, you receive a 5% bonus. Adding $100 gives you a 10% bonus. Credits never expire, so you can use them when needed.
from openai import OpenAI
client = OpenAI(base_url="https://api.codingllmapi.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)This model is not for you if you need a free unlimited tier, SLA guarantees, or SOC2 certifications. It is also not for you if you require multiple model routing or on-prem deployment. It is for developers who want a reliable, uncensored endpoint without hidden costs. Signup is instant with just an email and password.
Questions and answers
Is this API compatible with OpenAI SDKs?
Yes, the API follows the OpenAI chat-completions format. You can use it with the official OpenAI SDKs or any compatible client by changing the base_url to https://api.codingllmapi.com/v1 and providing your API key.
What is the context window size?
The context window is 100,000 tokens, covering both the prompt and the completion. This allows for substantial code blocks and conversation history.
Do you use my prompts for training?
No. Prompts are not used for training. Your data remains private, and we only require an email and password to create your account.
What content is blocked?
While the model is uncensored for lawful adult and controversial topics, we always block sexual content involving minors. This is a hard limit applied to all requests.
How do I get started with the free trial?
Sign up on the Get API key page with an email and password. You receive $0.50 in trial credit valid for 7 days. Claim this credit with one click on your API key page. No credit card is needed.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.
Get API keyGuides
Practical articles on setup, pricing and integration.
Cheapest Coding LLM API: Real Cost per TaskWhat coding work really costs at $0.15 input and $0.50 output per 1M tokens: code review, refactors and agent loops, with the math and how to cut…
AI Coding Agent API: Tool Calling Step by StepBuild an AI coding agent against an OpenAI-compatible endpoint: tool definitions, tool_choice, role tool results, streamed tool_calls and loop…
What Is an LLM API? How It Works and When to Use OneAn LLM API lets your code send text to a language model over HTTP and get text back. See the request format, token billing, streaming and a…
Discord Bot Coding AI: Build One with an LLM APIBuild a Discord bot that answers coding questions in Python: mention it, call an OpenAI-compatible API, keep chat history, split long replies and…
VS Code LLM API: Connect Your Editor to Your Own KeySet up a VS Code LLM API with any OpenAI-compatible endpoint. Exact fields for Continue and Cline, a curl test, and fixes for the 401, 404 and 429…
Uncensored AI Model for Coding: Options and Decision TableGet an uncensored LLM API for AI agents. OpenAI API alternative with better context handling. Try the API now.