Codex CLI API — Run the OpenAI API in OpenAI Codex CLI
Connect OpenAI Codex CLI and the Codex extension to the OpenAI API through ClaudeStore's Responses API. One config block, one universal key.
Endpoint: POST /v1/responses. Base URL: https://api3.claudestore.store/v1. wire_api: responses. Models: gpt-5.5, gpt-5.4.
TL;DR
OpenAI Codex CLI and the Codex extension use the Responses API. ClaudeStore Codex serves
/v1/responses directly, so a single config block points Codex at the OpenAI API.Config
~/.codex/config.tomltoml
model = "gpt-5.5"
model_provider = "claudestore"
[model_providers.claudestore]
name = "ClaudeStore Codex"
base_url = "https://api3.claudestore.store/v1"
env_key = "CLAUDESTORE_API_KEY"
wire_api = "responses"shellbash
export CLAUDESTORE_API_KEY="sk-cs4-your-key"
codexFull guide
For the complete walkthrough — creating the key, switching the tier, configuring the VS Code extension, and testing — see the Codex CLI & Extension guide and the Codex API Reference.