Skip to content

Use case

Uncensored AI for Coding: Codex CLI, Cursor, Claude Code

Use a low-refusal model in Codex CLI, Cursor, Claude Code and your own agents as a custom provider: setup, model choice and the limits that still apply.

Coding agents are good at the small tools security engineers write every week, and that is exactly where they tend to refuse. InterOdin's model, Odin v1, is an uncensored AI for coding in a practical sense: it treats legitimate security code as engineering work. It speaks the OpenAI and Anthropic API formats, so you can add it to Codex CLI, Cursor, Claude Code or your own agent as a custom provider, with the base URL https://api.interodin.com/v1 and an InterOdin key.

Why coding agents refuse security code

A coding agent reads more than your prompt: file names, comments, test fixtures and the output of every command it runs. Any of them can contain words like exploit, payload or shellcode. A model tuned for the widest audience cannot tell who is asking, so it reacts to that vocabulary. Work that often trips it up:

  • Proof-of-concept exploits for your own lab, reproducing a public, patched CVE against a vulnerable VM to confirm a fix or write a detection.
  • Malware parsers, such as a config extractor for samples from your own incident.
  • Fuzzers that throw malformed input at your own parser until it crashes.
  • Red-team tooling for authorised engagements: recon normalisers, log parsers and report generators, within the scope you were given.

In an agent, a refusal costs more than in a chat. The loop stops halfway, or the model quietly writes a stub where the sensitive function belongs.

What "uncensored" means here

It means a model that does the legitimate request in front of it. Odin v1 writes the parser, the fuzzer and the lab PoC, and explains why the exploit works so you can write the detection, without a lecture and without leaving out the step that matters.

It does not mean a jailbreak or a way around another vendor's safeguards. You are choosing a different model, under a different policy, for work you are entitled to do. For an agent that runs commands, put the brake in the environment: a container or VM, scoped to the code and targets you are authorised to touch.

What an agent session costs

Prices per 1M tokens, the same live rates as the pricing page:

Prices per 1M tokens
ModelInputCached inputOutput
Odin v1odin-v1$4.50$0.45$7.50
Odin Flashodin-flash$2.50$0.25$7.50

Prices per 1M tokens. Cached input applies to repeated prompt prefixes served from cache.

Web search: $0.012 per search, on top of the tokens it uses. Available on the Messages and Responses APIs.

Every file read, tool call and retry in an agent session is a separate request. Give each tool its own API key with a monthly spend limit in the console, so a loop that runs overnight hits a cap instead of your balance. Billing is prepaid credits in EUR or USD, with no subscription.

Codex CLI with a custom provider

Codex CLI uses the Responses API, which InterOdin serves at https://api.interodin.com/v1/responses. Export your key in your shell:

bash
export INTERODIN_API_KEY="io-sk-your-key"

Then add a provider to ~/.codex/config.toml:

toml
model = "odin-v1"model_provider = "interodin"model_context_window = 1000000
[model_providers.interodin]name = "InterOdin"base_url = "https://api.interodin.com/v1"wire_api = "responses"env_key = "INTERODIN_API_KEY"

env_key is the name of the environment variable, not the key itself. model_context_window tells Codex how large Odin v1's context is, so it knows when to compact. Run codex, or codex exec "your task" in scripts and CI. To keep OpenAI as your default, move the three top-level settings into a [profiles.odin] section and start Codex with codex --profile odin.

This setup follows the Codex CLI guide in the InterOdin docs; Codex changes often, so check the keys against your installed release. Worth knowing:

  • User config only. A project-local .codex/config.toml ignores provider and profile settings.
  • Stateless. InterOdin never stores responses, so Codex sends the full conversation each time, and prompt caching keeps that history cheap. Requests that depend on previous_response_id fail with a 400 error.
  • Tools. Function and custom tools pass through, and web search works, billed per search. Other hosted tools are removed. Codex's local tools (shell, file edits, patches) are expected to work, but this hasn't been confirmed against a real Codex run yet.

Cursor with a custom OpenAI base URL

Cursor can send chat and agent requests to any OpenAI-compatible API. These steps follow the Cursor guide; Cursor's labels can change between releases, so if yours differ, look for the OpenAI API key field and the base URL override.

  1. Open Cursor Settings → Models.
  2. Under API Keys, paste your io-sk- key into the OpenAI API Key field and turn it on.
  3. Turn on Override OpenAI Base URL and enter https://api.interodin.com/v1.
  4. Under Models, add a custom model named odin-v1 and enable it.
  5. In a new chat or agent session, pick odin-v1 from the model menu, not Auto.

Before you rely on it:

  • Plan. Your own key needs a paid Cursor plan. On team accounts, an admin must allow personal API keys.
  • Coverage. Your key covers chat and agent requests. Features such as Tab completion keep using Cursor's built-in models.
  • Data path. Cursor sends custom-key requests through its own servers. InterOdin doesn't store request content, but check Cursor's terms for its side.
  • Switching back. Turn off the base URL override before you use a real OpenAI key with OpenAI models.

Claude Code

A setup script adds a second command, claudeodin, that runs the same Claude Code on Odin models with its own settings folder, so your normal claude command and history stay untouched. Inside a session, /model switches between Odin v1 and Odin Flash. Setup, spend limits, sandboxing and three worked examples are in Claude Code for security tooling.

In your own agents and scripts

Code built on the official OpenAI SDKs switches with two environment variables and no code changes:

bash
export OPENAI_BASE_URL="https://api.interodin.com/v1"export OPENAI_API_KEY="io-sk-your-key"

With the Vercel AI SDK, use the OpenAI-compatible provider, not createOpenAI, which defaults to the Responses API in AI SDK 5 and later:

ts
import { createOpenAICompatible } from '@ai-sdk/openai-compatible'
export const interodin = createOpenAICompatible({  name: 'interodin',  baseURL: 'https://api.interodin.com/v1',  apiKey: process.env.INTERODIN_API_KEY,  includeUsage: true,})

In LangChain, point the OpenAI chat model at the same base URL:

python
import os
from langchain_openai import ChatOpenAI
llm = ChatOpenAI(    model="odin-v1",    base_url="https://api.interodin.com/v1",    api_key=os.environ["INTERODIN_API_KEY"],)

Tool calling is supported, so your agent's own function tools run as usual. Guides: OpenAI SDK, Vercel AI SDK and LangChain.

Hosted model or local uncensored coding model?

Most advice on uncensored coding models points at small open-weight models run locally. They are the right choice when no code may leave your machine. The trade-off is size: models that fit on a laptop are much smaller than hosted ones, and an agent that reads a whole repository needs room.

odin-v1odin-flash
Best forDesigning tools, large codebases, long sessionsSmall edits, tests, repetitive changes
Context window1,000,000 tokens1,048,576 tokens
ThinkingOn by defaultAvailable
InputTextText and images

What is still not allowed

Odin v1 is unrestricted for legitimate engineering and security work. Under the Acceptable Use Policy, these are off limits for everyone: sexual content involving minors; non-consensual intimate content; chemical, biological, radiological or nuclear weapons; terrorism and human trafficking; fraud, scams and phishing; creating or spreading malware, or accessing systems or data without permission; harassment and doxxing; spam and disinformation.

For code, the line follows what it is for. A PoC against your own lab VM, a parser for a sample from your incident or a fuzzer aimed at your own software is security work. Code written to break into systems you have no permission to touch is not, however the prompt is worded.

Get started

  1. Create an account in the console and one API key per tool, each with a monthly spend limit.
  2. Add prepaid credits.
  3. Point your tool at https://api.interodin.com/v1 and pick odin-v1.

Want to try the model first? It runs in the web chat. For API details, see the unrestricted LLM API page; for security work beyond code, read uncensored AI for security research.

Frequently asked questions

What is the best uncensored AI for coding?

If nothing may leave your machine, run a small local model. If you want a large model with a 1,000,000-token context inside the tools you already use, Odin v1 works in Codex CLI, Cursor, Claude Code and the common SDKs as a custom provider.

Can I use Codex CLI with a model other than OpenAI's?

Yes. Codex CLI accepts custom model providers in ~/.codex/config.toml, and InterOdin serves the Responses API that Codex uses, at https://api.interodin.com/v1.

How do I add a custom provider in Codex CLI's config.toml?

Add a model_providers.interodin section with base_url set to https://api.interodin.com/v1, wire_api set to responses and env_key set to INTERODIN_API_KEY, then set model to odin-v1 and model_provider to interodin. Use the user-level ~/.codex/config.toml, because a project-local config ignores provider settings.

Can Cursor use a custom OpenAI-compatible API?

Yes, for chat and agent requests, through the OpenAI API Key field and the Override OpenAI Base URL setting. It needs a paid Cursor plan, and Tab completion keeps using Cursor's own models.

Why does my AI coding assistant refuse security-related code?

The model cannot verify who is asking, so it reacts to words such as exploit or shellcode in your prompt, files and command output. A model built to answer legitimate requests treats the same task as engineering work.

Is my code stored?

API prompts and completions, including the code you send, are never stored. Only metadata such as token counts, latency and status is kept. In Cursor, requests also pass through Cursor's servers, so its terms apply on its side.