
Code By AI
Use Claude Code, Codex and Gemini CLI with one API key and one endpoint. Pay per token from 1/6 of official prices across 21 models, no subscription.
What is Code By AI?
Code By AI is a unified API gateway for AI coding agents: one API key and one prepaid balance for Claude, GPT/Codex and Gemini models. It supports four native wire formats (Anthropic Messages, OpenAI Responses, OpenAI Chat Completions and Google Gemini) with the same key and the same per-token price, and requests are forwarded as-is rather than translated between protocols.

Code By AI Core Features
One API key and one balance for Claude, GPT/Codex and Gemini
Works with Claude Code, Codex CLI, Gemini CLI, Cline, Trae and more
Four native protocols
Anthropic Messages, OpenAI Responses, Chat Completions, Gemini
Pay per token from 1/6 of official prices, no subscription
One-line setup script with backups and an --uninstall option
GPT Image 2.5 image generation with the same key
Who is Code By AI for?
Individual developers, indie hackers and small teams who use terminal agents or AI IDEs heavily and want lower, more predictable per-token costs without switching tools.
Code By AI Use Cases
Run Claude Code, Codex CLI and Gemini CLI from a single API key
Cut per-token costs for heavy terminal-agent usage
Use Claude models through any OpenAI SDK via the OpenAI-format endpoints
Power AI IDEs such as Cline and Trae with one balance
Code By AI Pros and Cons
Pros
- One key and one balance for three model families
- Pay-as-you-go with no subscription or minimum spend
- Native protocol support, requests forwarded as-is
- Free account signup, no card required
Cons
- API calls require a prepaid top-up (minimum US$3); no invoices are available.
FAQ About Code By AI
Code By AI Alternatives
PingCode AI
PingCode AI gives developers one API gateway for Claude Code, Codex and other coding tools, with managed keys and usage tracking. Models and pricing vary.
SmarToken
Connect to supported DeepSeek, Kimi, GLM and MiniMax text models with prepaid usage, API key budgets and logs.
Jev AI
Try the Jev model online for free with Jev AI. Explore a fast AI model with no waitlist and turn real-world state into structured, probability-backed decisions.