GPT | Pro, GPT | 特价 (discounted GPT), GPT | Official, or auto)BRIOI_API_KEY environment variable. Desktop GUI applications only read OS/session-level environment variables—a temporary export inside a terminal session will not take effect.setx BRIOI_API_KEY "YOUR_API_KEY"launchctl setenv clears after rebooting macOS—re-run it after a restart, or add a LaunchAgent under ~/Library/LaunchAgents/ to apply it automatically at login.config.tomlmodel = "gpt-6-astra"
model_provider = "brioi"
[model_providers.brioi]
name = "Brioi"
base_url = "https://vip.brioi.com/v1"
wire_api = "responses"
env_key = "BRIOI_API_KEY"
supports_websockets = falsemodel to any primary GPT model available to your key (such as gpt-6.2-sol, gpt-6.1-sol, gpt-6.2-astra, or gpt-6-astra, according to GET /v1/models). base_url must end with /v1 (with /v1 included only once). Save the file, then completely quit and reopen ChatGPT Desktop.Reply with only BRIOI_CODEX_OK401 or API_KEY_REQUIREDenv_key is set to BRIOI_API_KEY.BRIOI_API_KEY was set as a system/session environment variable per Step 2, and that ChatGPT Desktop was completely quit and reopened afterward.base_url is exactly https://vip.brioi.com/v1.requires_openai_auth = true under [model_providers.brioi].model_provider is set to brioi and env_key is BRIOI_API_KEY. After saving config.toml, you must completely quit and reopen the desktop app.auth.json in group chats, screenshots, repositories, or public logs.