Codex
Codex CLI config
Paste this in your Codex config, then use your AirGPT key when Codex asks for API key auth.
Quickstart
Codex
Paste this in your Codex config, then use your AirGPT key when Codex asks for API key auth.
Codex Alt
For OpenAI-style Codex setup, point the OpenAI base URL at AirGPT.
Claude Code
Claude Code and Cline can use the Anthropic-compatible route.
OpenAI SDK
Use `/v1` as the SDK base URL.
OpenAI SDK
Same API key, same `/v1` base URL.
curl
Works with any client that sends `Authorization: Bearer`.
curl
Works with clients that send `x-api-key` and `anthropic-version`.
Endpoints