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