Quickly import 678API into CC Switch
678API 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.
Quick import supports Claude, Codex, and Gemini. Install and open CC Switch before starting.
Import in five steps
Open API Keys in the 678API console and create a key. Click … beside the key, then select CC Switch from the menu.

Select Claude, Codex, or Gemini, choose a profile name and primary model, then click Open CC Switch to finish the import.

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.

After importing, confirm that the new 678API profile is marked Active in the CC Switch provider list, then reopen Codex.

Restart your terminal or the Codex desktop app. Confirm that the selected model appears at the top, then start using Codex.

Manual setup (optional)
If the browser cannot open CC Switch, create the profile manually with these values.
api678https://www.678api.comYOUR_API_KEYClaude-compatible model from consoleEnvironment variables
export ANTHROPIC_BASE_URL="https://www.678api.com"
export ANTHROPIC_AUTH_TOKEN="YOUR_API_KEY"If your setup expects OpenAI Compatible variables, use:
export OPENAI_BASE_URL="https://www.678api.com/v1"
export OPENAI_API_KEY="YOUR_API_KEY"Common issues
| 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. |