Coding tools
Coding tool setup guides
In short: These guides are step-by-step setups for Claude Code, Codex CLI, Cursor, Cline and other coding tools, covering base URL, key, model ids and fixes.
Every tool below works with one key from your One AI API Key account. The only thing that changes between them is which API format the tool speaks, and therefore which base URL you paste in. Pick your tool for exact field names, recommended model ids and a quick way to verify the connection.
Which coding tools use the Anthropic format?#
Set the gateway origin (no /v1) as the Anthropic base URL.
https://api.oneaiapikey.comWhich coding tools are OpenAI-compatible?#
Choose an "OpenAI compatible" provider and use the /v1 base URL.
https://api.oneaiapikey.com/v1- Codex CLICLICodex CLI lets you add our gateway as a custom model provider through a model_providers entry in ~/.codex/config.toml, an API key env var and the Responses API.
- CursorIDECursor supports our gateway through its OpenAI API key and Override OpenAI Base URL settings, giving Chat and Agent access to Claude, GPT, Grok and GLM models.
- ClineExtensionCline is a VS Code coding agent that connects to our gateway through its OpenAI Compatible provider with a base URL, API key and model id.
- Kilo CodeExtensionKilo Code is a VS Code and CLI coding agent that supports our gateway as a custom OpenAI Compatible provider, set up in the extension or in kilo.jsonc.
- OpenCodeCLIOpenCode is a terminal coding agent that supports our gateway as a custom provider in opencode.json via @ai-sdk/openai-compatible; save the key with /connect.
- AiderCLIAider is a terminal coding assistant that runs on our OpenAI-compatible endpoint; set OPENAI_API_BASE and OPENAI_API_KEY, then use the openai/ model prefix.
- ZedIDEZed is a code editor whose Agent Panel supports our gateway as an OpenAI-compatible provider, set up in settings.json with language_models.openai_compatible.
Using something that is not listed? Any client that lets you set a custom OpenAI or Anthropic base URL will work. Start with the quickstart, then check the API reference for supported endpoints.