Quickstart
If your app already uses the OpenAI SDK, switch the base URL and API key to start calling Maitoken.
- Create an account
- Recharge or request test credits
- Create an API key
- Call the OpenAI-compatible endpoint
- Check usage and billing
curl https://api.maitoken.ai/v1/chat/completions \
-H "Authorization: Bearer MAITOKEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-chat",
"messages": [{"role":"user","content":"Hello"}]
}'