Jargon walls
AI vocabulary can make simple ideas sound complicated.
Glossary
Tokens, capabilities, routing, fail-over, cache hits, idempotency keys and micros. Everything you need to read a response, an invoice or our docs with confidence.
no jargon left unexplained
terms match the field names
for builders and buyers
The problem
AI vocabulary can make simple ideas sound complicated.
The same idea goes by five names across five tools.
Billing terms should be as clear as the bill.
Capabilities
A small chunk of text that models read and write. You are billed for input tokens (your prompt) and output tokens (the response).
What a model can do, such as chat, code, vision or reasoning. Send capability in the request to let the router choose a model.
Routing picks the lowest-priced enabled model with the capability you asked for. Fail-over retries the request on another eligible model if one is busy or errors.
A response served from cache because the same prompt, model and temperature were seen inside the cache window. cache_hit is true and the price is zero.
A unique string you send in the Idempotency-Key header so that retries of the same operation are metered once.
Millionths of a US dollar. price_micros on each response is the exact charge for that call.
Use cases
Know what every field in result means.
Turn tokens and micros into plain cost.
Share one page instead of a long thread.
Ask sharper questions about pricing and reliability.
How it works
Most take one sentence to understand.
Run a prompt in the playground and read the fields.
Bookmark this page for your team.
Control
API keys are shown once at creation and stored only as a hash. Revoke any key instantly from Settings.
Every request carries its own receipt: tokens in, tokens out, latency and price. Nothing is billed that you cannot trace.
Per-account rate limits and a free monthly allowance keep experiments safe before they become production.
You choose exactly what you send. Repeat prompts can be served from your cache, and cache hits are never billed.
For developers
Send a prompt and a capability, or name a model. One bearer key, one small JSON body, and a full receipt on every response.
curl https://YOUR-DOMAIN/api/ainf/inference \
-H "Authorization: Bearer $AI_INFERENCE_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: order-1042" \
-d '{"prompt":"Summarise this ticket in one line","capability":"chat"}'A number of tokens each account can use free every month before metered pricing applies.
The identifier of a model in our catalog. Send it to use exactly that model.
The maximum requests per minute your account can send. Over it, you get a 429.
A setting from 0 to 2 that controls how varied the output is. Lower is more focused.
Run your first prompt and read every field.