Codex CLI Responses API Base URL Setup
· 약 1분
Codex CLI and Codex Desktop users often search for exact configuration phrases rather than broad AI terms. That makes Codex CLI base_url and Codex CLI Responses API useful niche keywords.
For AI Supermarket, Codex should use the OpenAI-compatible /v1 endpoint:
https://aisupermarket.work/v1
Example config.toml
model_provider = "OpenAI"
model = "your-model"
review_model = "your-model"
model_reasoning_effort = "high"
disable_response_storage = true
[model_providers.OpenAI]
name = "OpenAI"
base_url = "https://aisupermarket.work/v1"
wire_api = "responses"
requires_openai_auth = true
Example auth.json
{
"OPENAI_API_KEY": "your-api-key"
}
Why wire_api = "responses" Matters
Codex-style workflows often expect the Responses API rather than classic Chat Completions. If your client supports a wire_api field, set it to:
wire_api = "responses"
If you use a model or group that only supports Chat Completions, switch to a compatible group or use a client configuration that explicitly supports Chat Completions.
Debugging Checklist
base_urlincludes/v1wire_apiis set toresponses- the model exists in your Key group
auth.jsoncontains the correct API Key- Codex Desktop or the IDE extension was restarted after config changes
