API Reference
Call any model with a single unified endpoint.
Base URL
https://clawlite.ai
Authentication
Pass your API key as a Bearer token in the Authorization header.
Authorization: Bearer YOUR_API_KEY
POST/api/v1/chat/completions
The unified endpoint for all providers. Use the model prefix to specify which provider to route to.
Model prefix: openai/ — routes via ezrouter to OpenAI-compatible endpoint
curl https://clawlite.ai/api/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-5.2",
"messages": [{"role": "user", "content": "Hello!"}]
}'cURLNote: The unified /api/v1/chat/completions endpoint automatically routes to the correct upstream provider based on the model prefix.
Error Codes
401 — 401 Unauthorized — Invalid or missing API key
402 — 402 Payment Required — Insufficient balance
400 — 400 Bad Request — Invalid request body or model format
500 — 500 Internal Server Error — Server-side error
Model Prefix Reference
Use the model prefix to specify the provider:
openai/OpenAI—gpt-5.2, gpt-5, gpt-5-mini, o4-mini, ...
anthropic/Anthropic—claude-sonnet-4-6, claude-opus-4-6, claude-haiku-4-5, ...
minimax/MiniMax—MiniMax-M2.7, MiniMax-M2.7-highspeed, MiniMax-M2.5, ...
Click any code block to copy • Base URL: https://clawlite.ai