OpenAI-Compatible Protocol
Drop into existing clients by changing the base_url and API key. Supports streaming via SSE and tool/function calling with the standard POST /v1/chat/completions endpoint.
Uncensored LLM API for AI Coding Agents
A dedicated, uncensored coding LLM endpoint. Get high-throughput, refusal-free answers for your AI agents without the noise of generic proxies.
curl https://api.getcodexapi.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.getcodexapi.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.getcodexapi.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 into existing clients by changing the base_url and API key. Supports streaming via SSE and tool/function calling with the standard POST /v1/chat/completions endpoint.
We serve one open-weight model tuned to answer without content refusals for lawful adult use. It is not a proxy routing to GPT, Claude, or Gemini.
Process large codebases and extensive conversations in a single prompt-completion pair. The full 100,000-token window is available for your coding agents.
No monthly fees or subscriptions. Prepaid credit never expires. Add funds by crypto (USDT on TRC20, USDC on Base), starting from $20.
Built for coding agents requiring stable performance. Handle up to 300 requests per minute per key with an 8 MB request body limit.
Signup with email and password. Receive your API key immediately. No phone number or credit card required for the trial.
Sign up with your email to receive your unique API key instantly.
Update your coding agent to point to our base URL with your new key.
Send requests to the /v1/chat/completions endpoint and receive uncensored responses.
Agents can generate code, explain errors, and iterate without hitting content filters that interrupt workflow. The uncensored model reduces false refusals during complex reasoning tasks.
Leverage the 100k context window to feed entire modules or repositories into the model in one go. This avoids the overhead of chunking and context loss.
Generate creative or technical text without standard corporate tone restrictions. Ideal for developers who need raw, unfiltered outputs for downstream processing.
Probe model behavior and boundary conditions without predefined topic blocks. The model answers controversial or adult topics if they are relevant to the technical context.
Coding agents often hit content filters when generating code for niche libraries, medical terminology, or creative writing. Standard models may refuse to output code containing certain keywords or styles. Our uncensored coding LLM removes these arbitrary boundaries, ensuring your agent gets the answer it asked for. This is critical for autonomous agents that cannot easily retry after a refusal.
However, this API is not for you if you need embeddings, image generation, or multi-modal capabilities. We are a text-only chat-completions service. If your agent requires vision or audio, you will need to integrate other providers. We also do not offer fine-tuning or model routing. You get one model, optimized for consistency and throughput.
Our API mirrors the OpenAI chat-completions interface. You can use the official OpenAI SDKs or any client that supports the OpenAI format. Simply change the base_url to https://api.getcodexapi.com/v1 and provide your API key. We support streaming via Server-Sent Events (SSE) and function calling, making it easy to integrate with existing agent frameworks.
The model ID is "uncensored". It is an open-weight model hosted on our own GPU servers, distinct from proxies that aggregate multiple vendors. This single-model approach ensures predictable latency and pricing. We do not route your requests to GPT or Claude; we serve our own tuned model directly.
Most coding tasks require understanding large amounts of code. Our API provides a 100,000-token context window, allowing you to send substantial codebases or conversation histories in a single request. This reduces the complexity of chunking strategies and preserves context across long interactions. It is ideal for agents that need to reason over entire files or projects.
Keep in mind that larger contexts consume more tokens and increase latency. For simple, short queries, the standard 4k or 8k windows of other providers might be faster and cheaper. But for deep, context-heavy coding tasks, our 100k window is a significant advantage.
We charge $0.15 per 1M input tokens and $0.50 per 1M output tokens. There are no monthly subscriptions or minimum commitments. You pay only for what you use. Prepaid credit never expires, so you can top up when needed. We offer bonuses for larger top-ups: +5% from $50, +10% from $100, and +15% from $200.
You can pay by crypto (USDT or USDC). Each account gets one API key, which you can regenerate at any time. If you need higher throughput, note the limit of 300 requests per minute per key. For most coding agents, this is sufficient, but if you need more concurrency, you can create multiple accounts.
No. We are an independent service providing an OpenAI-compatible endpoint. Our model is not GPT or Codex from OpenAI. It is an open-weight model trained and hosted by us. We support the same API format, but the underlying model and pricing are different.
Yes, it does not refuse lawful adult, fictional, or controversial topics. The only hard limit is sexual content involving minors, which is always blocked. You can use it for mature themes in creative writing, security research, or general coding contexts without unexpected refusals.
New users get $0.50 of trial credit valid for 7 days, one per person. Claim this credit with one click on your API key page. No credit card or phone number is needed to start. This allows you to test the API and integrate it with your coding agent before committing to paid credit.
Yes, our endpoint supports tool and function calling. You can define functions in your request, and the model will return structured JSON output. This is fully compatible with the OpenAI tool calling format.
No. We do not use your prompts or completions for training. Your data is private and used only to serve your requests. We require only an email and password to create your account.
Create an account, copy the key, change the base URL. That is the whole setup.
Practical articles on setup, pricing and integration.
Codex VS Code API Key: Use a Custom EndpointHow to set a Codex VS Code API key and custom base URL: config for the Codex CLI and extension, Continue and other VS Code tools, plus fixes for…
Codex API in Python: Calling a Coding LLMCodex API Python examples for an OpenAI-compatible coding endpoint: chat, JSON mode, tool calling, streaming and retries, with correct code and…
Codex API Pricing: Pay-Per-Token Rates and ExamplesWhat our OpenAI-compatible API costs: $0.15 per 1M input tokens, $0.50 per 1M output, worked examples, top-up bonuses and a $0.50 trial. No…
Codex API Base URL: How to Point Your Client at OursSet the codex api base url to https://api.getcodexapi.com/v1, add your key, use model uncensored. Python, Node and curl examples plus fixes for…
Codex API for Cursor: Connect an Uncensored ModelUse this OpenAI-compatible API in Cursor: override the base URL, paste your key, add the model name uncensored, then verify it. Costs and limits…
How to Use the OpenAI Codex API for AI Coding AgentsGet an uncensored LLM API for Cursor with coding API no refusals. Pay per token for reliable code generation. Start now.