Codex Custom Responses API Provider Setup Guide — HefuAI Platform

Copy a Responses provider into Codex config.toml with the current Base URL and model ID, configure the environment variable and verify a call.

Setup and verification

  1. Create a dedicated API key in the HefuAI Platform console.
  2. Open Codex's provider settings and choose the documented Responses API connection.
  3. Copy the current Base URL and model ID, save the configuration, then send a short test before a real task.
  4. For 401, check the key. For 404, check the Base URL and live model ID. Review tool and modality support before agent workflows.