Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Configure Codex to use DUIAPI
config.toml
auth.json
%userprofile%\.codex
<API_KEY>
sk-xxxxxx
<MODEL>
qwen3.7-max
model_provider = "custom" model = "<MODEL>" disable_response_storage = true model_reasoning_effort = "medium" [model_providers] [model_providers.custom] name = "custom" wire_api = "responses" requires_openai_auth = true base_url = "https://www.duiapi.com/v1"
{ "OPENAI_API_KEY": "<API_KEY>" }
codex
mkdir -p ~/.codex cd ~/.codex touch config.toml auth.json open -a TextEdit config.toml
open -a TextEdit auth.json
mkdir -p ~/.codex cd ~/.codex touch config.toml auth.json nano config.toml
nano auth.json