/v1/responses is for the custom Provider configured in the Codex CLI guide, or for a model whose supported_endpoint_types in /v1/models includes openai-response.
Endpoint and scope
Minimum verification request
Only after model support has been confirmed, test connectivity with:input is not the same field as Chat Completions messages, and the response must not be parsed as choices[0].message. Use your client’s official schema for complete fields, streaming events, and result handling.
Codex CLI configuration essentials
NEXUSAPI_API_KEY environment variable, never in config.toml or auth.json. See the Codex CLI guide for installation, OS-specific environment variables, and verification.
What to check first
- The key group contains the model and the model ID exactly matches the Model Marketplace.
- The client actually requests
/v1/responses, not/v1/v1/.... - The model’s
supported_endpoint_typesincludesopenai-response; if not, use the listed matching protocol. - Keep the Request ID, client version, and complete error text, then follow the self-check guide.
