Tier and effort for cost and latency
Pick a tier and a reasoning effort for each kind of call by its cost and latency, starting from a default per job and measuring with each response's usage.
Two settings decide most of what a chat call costs and how long it takes: the
tier you send as model, and how much that tier thinks, set with
reasoning_effort. This page gives a starting point for each kind of call.
Choosing a tier and
Reasoning effort are the reference for every
value. It quotes no prices: read each tier's rates from the catalog's pricing
and each call's cost from usage.cost.
Start from a default per job
| Kind of call | Tier | reasoning_effort | Why |
|---|---|---|---|
| Classify, extract a field, route, or answer yes or no | epos | none, its default | Fast: answers without thinking, with the shortest non-streaming deadline (45 s). |
| Everyday chat, summaries, drafting | saga | low, its default | Balanced: thinks lightly, and its graded effort lets you raise depth one step at a time. |
| Multi-step reasoning or a long answer | canto | Omit it (high) | Deep: thinks deeply by default. Stream it, and leave max_tokens unset. |
A short, direct answer from canto | canto | none | Turns thinking off, so the whole max_tokens goes to the answer. |
| Traffic you cannot sort ahead of time | auto | Omit it | The router picks the tier and the effort per request. |
Change one setting at a time from there, and measure each change.
What moves cost
- Thinking is output. A tier that thinks writes its thinking inside the
same
max_tokensbudget as the answer, and it is billed as output. Loweringreasoning_effort, or sendingnone, removes that output. Oncantothe control is on or off:lowthinks as long ashigh. - Input is more than your messages. The gateway adds a per-tier system
prompt. Standing rules, recalled memory, attached files, and
toolsare billed input whenever they are in the turn.rules: falseandmemory: {"recall": false}keep them out when you do not need them. See Usage and cost. - Each tier has its own rates.
GET /api/v1/modelsreturns them in each entry'spricing, and every response carries the rates it was billed at inusage.cost. - Count before you send.
POST /api/v1/tokens/countreturns the input tokens a request would bill on a tier, calls no model, and is not billed. It takes a tier, notauto.
What moves latency
- Thinking takes time. A tier that thinks generates its thinking before it
answers, inside the same turn.
noneturns thinking off, so the answer is the only thing the turn generates. - Each tier states a target. The catalog reports
latency_target_msper tier; read it fromGET /api/v1/modelsrather than hardcoding it. - A non-streaming call has a deadline: 90 seconds on
cantoandsaga, 45 seconds onepos, then504upstream_timeout. Stream long turns: a stream may run for up to five minutes, and its first tokens arrive before the turn ends. - A smaller
max_tokensbounds the turn, but on a tier that thinks it can run out before any answer is written. Pair a smallmax_tokenswithreasoning_effort: "none".
Use auto, or name a tier
Send model: "auto" when your requests vary and you would rather the gateway
pick per request. It chooses a healthy tier and an effort, and when a budget
would refuse the request it can move it to epos instead of answering 429
budget_exhausted. Name a tier when you need the same output cap, deadline,
and reasoning default on every call, when you count tokens first, and when you
measure. See Auto routing.
Measure on your own prompts
A tier's profile is a qualitative descriptor, not a performance number, and
these docs publish no benchmarks. Send the same prompts from your product
through each configuration you are weighing, and compare what each response
reports: usage.output_tokens, usage.cost.amount, and how long the call took
from your side.
# Run once per configuration you are weighing; change model and
# reasoning_effort, keep the prompt. -w prints the wall-clock time.
curl https://api.cruxy.ai/api/v1/chat \
-H "Authorization: Bearer $CRUXY_API_KEY" \
-H "Content-Type: application/json" \
-H "Cruxy-Version: 2026-10-18" \
-w '\ntime_total: %{time_total}s\n' \
-d '{
"model": "epos",
"reasoning_effort": "none",
"memory": { "recall": false, "capture": false },
"rules": false,
"messages": [
{ "role": "user", "content": "Is this message a refund request? Answer yes or no: I was charged twice for one order." }
]
}'const prompt = 'Is this message a refund request? Answer yes or no: I was charged twice for one order.'
// The configurations you are weighing, all on the same prompt.
const configs = [
{ model: 'epos', reasoning_effort: 'none' },
{ model: 'saga', reasoning_effort: 'none' },
{ model: 'saga', reasoning_effort: 'low' },
]
for (const config of configs) {
const started = performance.now()
const res = await fetch('https://api.cruxy.ai/api/v1/chat', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.CRUXY_API_KEY}`,
'Content-Type': 'application/json',
'Cruxy-Version': '2026-10-18',
},
body: JSON.stringify({
...config,
memory: { recall: false, capture: false },
rules: false,
messages: [{ role: 'user', content: prompt }],
}),
})
if (!res.ok) throw new Error(`chat failed: ${res.status} ${await res.text()}`)
const completion = await res.json()
const ms = Math.round(performance.now() - started)
console.log(
`${config.model}/${config.reasoning_effort}: ${ms} ms, ` +
`${completion.usage.output_tokens} output tokens, ` +
`${completion.usage.cost.amount} ${completion.usage.cost.currency}: ${completion.message.content}`,
)
}Run each configuration on enough of your own prompts to see the spread, not one call: the same request can return different text and take a different time.
Next steps
- Choosing a tier: each tier's profile, output cap, and deadline.
- Reasoning effort: every effort value and the
max_tokenstrap. - Usage and cost: the usage and cost objects in full.
- Prompting basics: what the model sees on every turn.