¶ Quickly import AzYun.com into CC Switch
AzYun.com integrates with CC Switch. Select a target app and model in the console to import a ready-to-use profile without copying endpoints or keys manually.
Supported target apps
Quick import supports Claude, Codex, and Gemini. Install and open CC Switch before starting.
Create a key and select CC Switch
Open API Keys in the AzYun.com console and create a key. Click … beside the key, then select CC Switch from the menu.

Select CC Switch from the API key menu
Choose the app, profile name, and primary model
Select Claude, Codex, or Gemini, choose a profile name and primary model, then click Open CC Switch to finish the import.

Choose the target app and model, then open CC Switch
Review and import the profile
No changes are needed after the profile opens in CC Switch. Verify the app type, provider name, API endpoint, key, and model, then click Import.

Review the profile and click Import
Confirm the profile is enabled
After importing, confirm that the new AzYun.com profile is marked Active in the CC Switch provider list, then reopen Codex.

Confirm that the imported AzYun.com profile is active
Restart Codex and start using it
Restart your terminal or the Codex desktop app. Confirm that the selected model appears at the top, then start using Codex.

Confirm that the model is active after restarting Codex
If the browser cannot open CC Switch, create the profile manually with these values.
Profile Nameazyun
Base URLhttps://www.azyun.com
Auth TokenYOUR_API_KEY
ModelClaude-compatible model from console
Copy
export ANTHROPIC_BASE_URL="https://www.azyun.com"
export ANTHROPIC_AUTH_TOKEN="YOUR_API_KEY"
If your setup expects OpenAI Compatible variables, use:
Copy
export OPENAI_BASE_URL="https://www.azyun.com/v1"
export OPENAI_API_KEY="YOUR_API_KEY"
| Symptom | Likely cause | Fix |
|---|---|---|
| Still using old provider | Old terminal environment is still active | Restart terminal and client; inspect OPENAI and ANTHROPIC environment variables. |
| Unauthorized | Wrong or disabled API key | Copy the key again or create a dedicated key for CC Switch. |
| Model not found | Wrong model name or unavailable group | Copy the exact model name from the console. |
| Timeout | Network, proxy, or long context issue | Test with a short prompt, check proxy settings, then retry. |
| Request fails immediately | Insufficient credits or subscription quota | Check wallet, subscription, and usage logs. |