Integrations
Codex
The Codex CLI has been manually tested through the Aonis gateway.
Verified
Install Codex
Use a current version of the Codex CLI.
npm install -g @openai/codexConfiguration
Create the config file at ~/.codex/config.toml on Linux/macOS or C:\Users\YourUserName\.codex\config.toml on Windows.
model = "gpt-5.6"
model_provider = "aonis"
[model_providers.aonis]
name = "Aonis"
base_url = "https://api.aonis.space/v1"
wire_api = "responses"
env_key = "AONIS_API_KEY"This configuration uses the Responses API through wire_api = "responses". See the Responses API reference for the validated endpoint.
Compatibility aliases
These Codex aliases map to the same model and pricing as their corresponding public Aonis model.
codex-5.6-sol→ GPT-5.6 Solcodex-5.6-sol-ultra→ GPT-5.6 Sol Ultracodex-5.6-terra→ GPT-5.6 Terracodex-5.6-luna→ GPT-5.6 Luna
Environment and run
export AONIS_API_KEY="YOUR_AONIS_API_KEY"$env:AONIS_API_KEY="YOUR_AONIS_API_KEY"codex