1. Obtain API Key
Open the Ace Data Cloud application list, enter the available applications, and copy the API Key.
2. Install CC Switch
Download and install from CC Switch Releases, or run on macOS:3. Add Provider
- Open CC Switch and switch to Codex.
- Click Add Provider and select Custom.
- Fill in:
If CC Switch provides a custom configuration editor, the configuration should remain as:
~/.codex/auth.json:
env_key or [model_providers.acedatacloud.auth] in the above provider; choose either manual configuration or CC Switch configuration. There is no need to fix the model, you can select it directly in Codex.
4. Enable and Verify
Enable theacedatacloud provider, completely exit and restart Codex or VS Code. Run /model, confirm the Provider is acedatacloud, then select a model and send a simple message.
If a 401 is returned, confirm that the currently enabled provider is acedatacloud, and check if the OPENAI_API_KEY in ~/.codex/auth.json is the Ace Data Cloud API Key you just copied. Call records can be viewed in the Usage History.
