API Integration
A quick start guide to using your API key and endpoint.
Select Your API Endpoint
Production-ready API endpoints covering multiple geographic regions.
/chat/completionsAll Models/messagesNative Supporthttps://apic1.ohmycdn.comRecommendedCloudflare CDN global enterprise acceleration with Argo Smart Routing
https://api.ohmygpt.comMain backend direct service
https://c-z0-api-01.hash070.comAsia region optimized backend service
https://cn2us02.opapi.winAsia region optimized backend service
Please Note
Recommended tags are based on your browser speed test, not actual server performance. Please choose according to the server's geographic location.
Activity Endpoints
For Claude series resource packages.
https://apic1.ohmycdn.com/api/v1/ai/openai/cc-omgResource Package Usage Guide
Get your API key from the following location /apis/keys
Insufficient Balance Error?
If you haven't used the resource package correctly before, please note that when your balance is negative, you cannot use the resource package.
Solution: Top up to a positive balance to unlock frozen API access.
Unable to fetch model list (v1/models returns empty results)?
- Visit /apis/re-routes Set up redirection: ClaudeChatCompletions → Claude Code ChatCompletions
- Change the endpoint from /apis to any endpoint of
- When using Claude models, they will be automatically redirected and deducted from your resource package balance.