Gengxi API Developer Docs
Codex
Configure a Responses-compatible provider for Codex.
Provider configuration
Add a provider in ~/.codex/config.toml and select it for the model profile you use.
tomlCopy
[model_providers.gengxi]
name = "Gengxi API"
base_url = "https://api.gengxi.ai"
wire_api = "responses"
model_provider = "gengxi"
model = "YOUR_MODEL"Authentication
~/.codex/auth.jsonCopy
{
"OPENAI_API_KEY": "YOUR_API_KEY"
}Optional WebSocket settings
Where supported by the installed client and selected route, Codex providers may expose supports_websockets and responses_websockets_v2 options. Treat these as optional compatibility settings, not universal requirements.