Quick start
Get from zero to your first response in a few minutes.
1. Create an account & top up
Register at ai-api.cloud, then make sure your balance is positive. Your balance is in USD and is shared across every model.
2. Create an API key
Open API Keys in your cabinet and create a key. The raw key is shown once — copy it now. Authenticate every request with it as a Bearer token:
Authorization: Bearer YOUR_API_KEY
3. Make your first request
Base URL: https://ai-api.cloud
OpenAI-compatible (/v1/chat/completions):
curl https://ai-api.cloud/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"deepseek-v4-pro","messages":[{"role":"user","content":"Hello"}]}'
Anthropic Messages (/v1/messages):
curl https://ai-api.cloud/v1/messages \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{"model":"deepseek-v4-pro","max_tokens":1024,"messages":[{"role":"user","content":"Hello"}]}'
Next
- Connect page in the cabinet generates ready-to-run snippets for curl, OpenAI/Anthropic SDKs, Claude Code, Cursor, Cline and OpenCode — with your model and key already filled in.
- See Client setup for IDE guides, Models & pricing for the catalog, and Troubleshooting if a call fails.