Power Claude Code with any large model on the Aihubmix platform, completely eliminating connection instability and quota purchase difficulties. Aihubmix’s forwarding service is based on official channels, compliant and secure, with no need to worry about account risks or hidden restrictions.
Use this file to discover all available pages before exploring further.
Due to Claude Code’s multi-agent nature, quota consumption can be quite significant. It’s recommended to set limited quotas for your Key to prevent billing surprises.
Make sure your local VPN is disabled during use, otherwise you might experience lag with GPT-5.
2️⃣ Set System Environment Variables (Recommended)
Replace sk-*** with your API key generated on AiHubMix. Configuration items other than models will be processed with system environment variables taking priority.
For Mac users, you can navigate to your username directory and press ⌘ + ⇧ + . to show the hidden .zshrc file, then open it with the system’s “TextEdit” app and add the above content.
After adding the configuration, run source ~/.zshrc in terminal and press enter to make the configuration effective.