API Access
Create API keys in the console and call OpenAI-compatible routes.
Documentation
The API is OpenAI-compatible. Authentication, model discovery, and requests use the public `/v1/*` routes.
Create API keys in the console and call OpenAI-compatible routes.
Manage keys, billing, and account access from one place.
Permute manages model routing, availability, and pricing behind the API.
Status checks publish uptime and incident updates.
Subscriptions, checkout, and invoices run through Stripe.
Standard account views do not expose prompt or output bodies.
curl https://api.permute.sh/v1/chat/completions \
-H "Authorization: Bearer pm_..." \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4-flash",
"messages": [{"role": "user", "content": "Hello"}]
}'curl https://api.permute.sh/v1/images/generations \
-H "Authorization: Bearer pm_..." \
-H "Content-Type: application/json" \
-d '{
"model": "grok-image",
"prompt": "A clean product render"
}'/v1/modelsList available text and image models
/v1/chat/completionsOpenAI-compatible chat completion
/v1/images/generationsOpenAI-compatible image generation
Authorization: Bearer pm_...Create API keys in the Console, then send them as standard bearer tokens.
Content-Type: application/jsonChat and image routes follow the OpenAI request and response conventions used by common SDKs.
Use Permute model namesUse the same model names shown in the console and models page.