English
English
Appearance
English
English
Appearance
Welcome to Anyport AI API services. We are fully compatible with the official OpenAI API protocol, providing high-speed, stable, and multi-model integrated API proxy services.
https://anyport.xyz/v1When configuring any third-party client, please ensure the following parameters are set correctly:
sk-xxxxxxxx key generated in your Anyport dashboard.https://anyport.xyz/v1â ī¸ Note: Most clients automatically append endpoints onto the Base URL. If you encounter connection errors, try removing
/v1from the end (i.e., change it tohttps://anyport.xyz) and test again.
Open your terminal and run the following command to verify if your token and connection are working properly:
curl [https://anyport.xyz/v1/chat/completions](https://anyport.xyz/v1/chat/completions) \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-YOUR_ANYPORT_TOKEN" \
-d '{
"model": "gpt-4o",
"messages": [{"role": "user", "content": "Hello!"}]
}'sk-...).https://anyport.xyz/v1https://anyport.xyz/v1https://anyport.xyz/v1OpenAI API Compatible Format or OpenAI.https://anyport.xyz/v1https://anyport.xyz/v1/chat/completionshttps://anyport.xyz/v1/chat/completionshttps://anyport.xyz/v1Q: What should I do if I get a 401 Error (Unauthorized)?
- A: Please check if your API key was copied completely without trailing spaces, and ensure your account balance is sufficient in the Anyport console.
Q: What should I do if I get a 404 Error (Not Found)?
- A: Check the URL structure inside your client app. Some apps automatically append
/v1. If your client setup already has/v1, it may cause a duplication. If it fails, try changing the Base URL tohttps://anyport.xyz.