EN ▾
Get API key

Uncensored LLM API for AI Coding Agents

Codex API Alternative: an Uncensored LLM for Coding

A dedicated, uncensored coding LLM endpoint. Get high-throughput, refusal-free answers for your AI agents without the noise of generic proxies.

  • OpenAI-compatible chat endpoint
  • 100k context window per request
  • $0.15/$0.50 per 1M tokens
  • $0.15per 1M input tokens
  • $0.50Output tokens / 1M
  • 100,000token context
  • $0.50trial credit
  • 300requests per minute

Try it in one request

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."}]
  }'

What you get

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.

Single Uncensored Model

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.

100k Context Window

Process large codebases and extensive conversations in a single prompt-completion pair. The full 100,000-token window is available for your coding agents.

Simple Pay-As-You-Go

No monthly fees or subscriptions. Prepaid credit never expires. Add funds by crypto (USDT on TRC20, USDC on Base), starting from $20.

High Throughput

Built for coding agents requiring stable performance. Handle up to 300 requests per minute per key with an 8 MB request body limit.

Instant Setup

Signup with email and password. Receive your API key immediately. No phone number or credit card required for the trial.

How it works

  1. Create Account

    Sign up with your email to receive your unique API key instantly.

  2. Configure Client

    Update your coding agent to point to our base URL with your new key.

  3. Start Coding

    Send requests to the /v1/chat/completions endpoint and receive uncensored responses.

What people build with it

Autonomous Coding Agents

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.

Large Codebase Analysis

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.

Content Generation Pipelines

Generate creative or technical text without standard corporate tone restrictions. Ideal for developers who need raw, unfiltered outputs for downstream processing.

Security Research

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.

Why Uncensored Matters for Coding

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.

OpenAI-Compatible Endpoint

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.

100k Context Window

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.

Pay-As-You-Go Pricing

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.

Questions and answers

Is this the official OpenAI Codex API?

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.

Does the uncensored model allow adult content?

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.

What is the trial offer?

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.

Can I use this for function calling?

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.

Is my data used for training?

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.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.

Get API key