The AXIOM API gives you access to 22 AI models through a single OpenAI-compatible endpoint. Smart routing automatically selects the best model for your task, or you can specify one directly.
Base URL
https://axiom.com.vc/api
Authentication
Include a Bearer token in the Authorization header. Authentication is optional for basic usage but required for tracked usage and higher rate limits.
Get a routing decision without executing inference. Useful for previewing which model would handle a request, or building custom UIs around model selection.
POST/api/router
Request Body
Parameter
Type
Required
Description
prompt
string
Yes
The prompt to analyze for routing
speedPriority
boolean
No
Prefer faster models over more capable ones. Default: false
POST/api/generate/designDesign generation via Claude100 credits
Request
Request Body
{
"prompt": "Write a product description for an AI-powered code editor"
}
Response
Response
{
"text": "Generated content from the specified provider..."
}
Example
cURL
curl -X POST https://axiom.com.vc/api/generate/claude \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"prompt": "Write a tagline for an AI company"}'
Fleet Status
Check the health of the AXIOM fleet, model availability, and machine status. Use this before routing to verify which models are currently online.
GET/api/axe-status
Example
cURL
curl https://axiom.com.vc/api/axe-status
Returns a full status object with machine health, loaded models, GPU utilization, and queue depths. Use this to build monitoring dashboards or pre-flight checks.
Rate Limits & Credits
Credit Costs
Local models (axe-*)Free
Groq (Llama 70B)50 credits
Claude Sonnet100 credits
Gemini Flash100 credits
Design generation100 credits
Rate Limits
Parameter
Type
Required
Description
Unauthenticated
-
No
10 requests/minute, local models only
Authenticated
-
No
60 requests/minute, all models
Pro tier
-
No
120 requests/minute, priority queue
Error Codes
400Bad request - malformed JSON or missing required fields
401Unauthorized - invalid or missing API key (for protected endpoints)
429Rate limited - too many requests, retry after Retry-After header
500Internal error - model failed to generate, try again
503Service unavailable - no models online for requested tier