Core concepts
Turns and ceilings
One request is one turn. A turn may call several tools before it answers, and every dimension of that loop is bounded.
Anatomy of a turn
Route. Intent and domain are resolved by pattern rules — no model call. This decides whether tools are offered at all: every route but navigation and a greeting takes them, a reported problem included.
Gate. Plan quota, then the spend breaker reading the tenant's ledger. Out-of-scope messages and greetings short-circuit here, before any spend.
Ground. Durable user preferences and retrieved documents are assembled into the prompt. Nothing about your records is loaded before the turn; tools read them during it.
Loop. The model is called with the eligible tool subset. Tool calls are dispatched, results fed back, and the loop repeats until the model answers. The last call the ceiling allows, or the next call once the turn deadline has passed, is made to answer from what it already has.
Validate and account. Output is validated against the block schema; tokens and dollars are written to the ledger and telemetry is recorded.
Why routing happens first
Deterministic routing is the cheapest thing in the pipeline and it decides the cost of everything after it. A greeting never reaches the model. A navigation question is offered no tools, and is answered from your documents or told there are no instructions for it, never with an invented screen. A question that cannot be answered by any registered tool does not pay to discover that.
The routing rules are pattern-based rather than model-based on purpose: a classifier that costs a model call to decide whether to make a model call has not saved anything.
The ceilings
| Bound | Default | What it stops |
|---|---|---|
| Tool turns | 3–8 by plan | A model looping tool calls indefinitely |
| Tool calls per model response | 8 | One response fanning out across your endpoint |
| Concurrent tools | 4 | A single turn saturating your endpoint |
| Tool output per turn | 512 KB | Results flooding the model's context, and its bill, round after round |
| Turn deadline | 90s, soft | A turn against a slow endpoint running for minutes |
| Output tokens | 8k–25k by plan | Runaway generation |
| Per-attempt tool timeout | 20s | One slow tool holding the turn open |
| Tool response size | 256 KB | An oversized result poisoning the context |
| Model call timeout | 60s | A provider that never answers, or on the stream goes silent |
Plan-specific values are in Plans and ceilings.
Reasoning tokens come out of the same budget
The models Tether uses draw reasoning tokens from max_output_tokens — the same budget as the
visible answer. That is why the ceilings are 8k–25k rather than the 1k–4k you might expect for
answers of this length.
A ceiling set too low does not truncate the answer politely. It spends the whole budget thinking and returns nothing.
Termination
A turn ends when the model returns an answer with no further tool calls, when the tool-turn ceiling or the turn deadline makes its last call answer, when the output ceiling is hit, or when a gate refuses it.
The tool-turn ceiling counts model calls, so a ceiling of N runs at most N − 1 rounds of tools
and the last call writes the answer. Reaching it is not an error: the model answers with what it
gathered, and telemetry records stop_reason (max_tool_turns, turn_deadline, or
incomplete:max_output_tokens when the output ceiling cut the answer) so you can see which
questions are hitting the wall.
Capability modes
capabilityMode selects how much a turn may draw on:
Standard— ordinary questions. The default.Deep— the heavier model, a higher tool-turn ceiling, and any tool registereddeep_analysis_only.
Deep costs materially more per turn, so it is requested rather than assumed, and it is only
available on plans that allow it.