Skip to main content
/v1/responses is not a universal “newer chat API.” In NexusAPI, it is primarily for the custom Provider configured in the Codex CLI guide, or for a model, key group, and channel that are explicitly confirmed to support the Responses protocol.
Confirm the model and channel firstDo not use /v1/responses for current Anthropic-type Claude channels. If you receive status_code=500, not implemented, use Chat Completions, or let Claude Code use native Messages configuration instead.

Endpoint and scope

Minimum verification request

Only after model and channel support have 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 the Apifox API reference or your client’s official schema for complete fields, streaming events, and result handling.

Codex CLI configuration essentials

Keep the key in the 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

  1. The key group contains the model and the model ID exactly matches the Model Marketplace.
  2. The client actually requests /v1/responses, not /v1/v1/....
  3. The model is confirmed to support Responses; use a different protocol for Anthropic-type Claude.
  4. Keep the Request ID, client version, and complete error text, then follow the self-check guide.