Cent AI docs

One API key for many models over OpenAI Chat Completions, OpenAI Responses and Anthropic Messages. Prepaid USD balance, priced per token.

Change only this

Base URLs


OpenAI SDKs and tools
https://api.cent-ai.dev/v1
Anthropic SDKs and Claude Code
https://api.cent-ai.dev
curl https://api.cent-ai.dev/v1/chat/completions \
  -H "Authorization: Bearer $CENT_AI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5.3",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
Response200 OK
"usage": {
  "prompt_tokens": 10000,
  "prompt_tokens_details": {"cached_tokens": 9000},
  "completion_tokens": 800,
  "total_tokens": 10800,
  "cost": "0.000363000" (charged for this request, USD)
}
Change only this

Base URLs


OpenAI SDKs and tools
https://api.cent-ai.dev/v1
Anthropic SDKs and Claude Code
https://api.cent-ai.dev

All docs · 40 pages