Guides

Codex and Claude API

OpenAI-compatible API alternative for Codex and Claude Code

Coding tools can spend quickly because they retry, read long context, and produce large outputs. A controlled gateway key lets you test without exposing unlimited provider spend.

One wallet for common coding clients

Use OpenAI-compatible, Anthropic-style, and Gemini-compatible endpoints from the same prepaid account.

Create controlled keys for each tool

Give Codex, Claude Code, Cursor, Cline, and experiments their own keys.

  • Separate keys by client
  • Set model allowlists
  • Use output caps for coding agents
  • Review logs after long sessions

Why this converts better

Developers searching for setup want a working endpoint, a key, and a way to limit cost.

FAQ

Can Codex use an OpenAI-compatible gateway?

Yes, when the client supports a custom compatible base URL and API key.

Can Claude Code use a proxy?

Claude-style clients can use an Anthropic-compatible base URL when /v1/messages is supported.