Skip to content

Troubleshooting

Turn health

Read how your turns went across every provider, compare models on the same prompt, and watch the health of the Octant host.

  • 7 min read
  • 10 sections

Turn health ​

Turn health shows how your turns actually went: how many finished, failed, or were stopped, how fast the first word arrived, how quickly the model wrote, and what the provider reported it cost. It reads every provider and every mode, so you can see a slow model or a failing tool without opening each thread.

Open Settings › Usage and choose Turn health in the source switch beside Spending and Requests. The switch also offers Benchmarks where the host supports it. Turn health is offered only when the host can answer turn diagnostics.

Not in a release yet

The Turn health, Spending and Requests names arrive with #3027.

The report is built from the turns Octant has recorded. A turn is recorded when it ends. Turns recorded before Octant counted trouble count toward how they ended and their speed, but never toward tool, retry, or limit totals.

Filters ​

Four controls shape the whole report:

  • Range: Last 24 hours, Last 7 days, Last 30 days, Last 90 days, or All recorded turns.
  • Mode: All modes, Chat, Work, or Code.
  • Provider: All providers or one provider.
  • Trend by: Day or Hour. Hours are in UTC.

The header also has Refresh diagnostics and Copy diagnostics report as JSON. The copied report is the same numbers you see, ready for a spreadsheet or a script.

Headline figures ​

A row of tiles opens the page. Each tile shows a figure, a small trend line, and, for a bounded range, how it changed against the same span before. The tone of the change follows which direction is good for that figure.

TileWhat it counts
TurnsRecorded turns that match the filters.
FinishedThe share of turns that ended normally.
Failed turnsTurns the provider failed.
Stopped turnsTurns that were stopped before they finished.
Tool failure rateTool calls that failed, as a share of all tool calls.
First token, typicalThe wait from sending the prompt to the first streamed word. Typical is the p50.
First token, slow (p95)The wait that 19 in 20 turns beat.
Speed, typicalOutput tokens per second while the model was writing.
Turn length, typicalHow long a turn took from start to end.
Turn length, slow (p95)The turn length that 19 in 20 turns beat.
Cut at output limitReplies the provider stopped at its output limit.
RetriesTimes a provider retried a request.
Provider-reported costCost in US dollars, only where the provider reported one.
Likely cache missesTurns that probably should have read the prompt cache and read nothing.

A figure that no turn measured is left out or reads Unavailable. Octant never shows a zero it did not see. Percentiles count only the turns that measured the figure, so a provider that reports no timing has no speed rather than a speed of zero. Cost is the provider's own figure. It is not an estimate, so a provider that reports none adds nothing here.

Charts ​

Four charts follow the tiles. Each has hover readings and a table behind it.

  • How turns ended stacks finished, stopped, and failed turns for each day or hour, with failures in the alarm colour, beside the share that failed or stopped.
  • Speed over time plots typical first token and typical speed.
  • Model comparison ranks models by typical and slow first token, and by speed. Names are the full model names.
  • What fails most shows failed turns by cause and the tools that fail most.

Details ​

Below the charts, Details holds tables you can scroll:

  • Benchmarks by model: for each model and provider, its turns, failures, tool failures, retries, first token, speed, and turn length at p50 and p95, cache read, likely cache misses, and cost. This is a table of your own turns. It is not the same thing as the Benchmarks page.
  • Turns by day or Turns by hour: every bucket's turns, failures, stops, tool failures, retries, first token, and speed. Open it with Show every day or Show every hour.
  • Failures by cause: why turns failed, with the first and latest time and the newest message.
  • Tools: calls, failures, unfinished calls, non-zero exits, and average and longest time, with the most failures first.
  • Retries, limits, and waits: retries by reason (Rate limited, Endpoint unavailable, Stream broke off, Empty reply), rate-limit warnings, turns that ran out of allowance, approval requests, questions asked, runtime compactions, content-filter stops, and tool calls left unfinished.
  • Likely prompt-cache misses: a turn that followed a cached turn in the same thread within five minutes, sent a large prompt, and read nothing from the cache. This is a likelihood, not a provider report. A changed instruction or tool list also starts a new cache.

Investigating a turn ​

Turns to investigate lists the newest turns that failed, were stopped, were cut off, had a tool fail, or retried. Each row shows when it ended, the thread, the model, the outcome, the reason, and its tool failures and retries.

Choose Open on a row to leave Usage and go to that thread, where you can read the transcript. For the numbers of a single turn, see the stats line under every thread.

Same prompt ​

Same prompt lists prompts that were sent to two or more models, newest first. Each entry shows when the prompt was last sent and, for every model that got it, its turns, failures, first token, speed, tokens in and out, and cost. Speed and first token are the typical turn (p50).

Octant builds the list from threads that opened with the same first prompt. You do not set anything up: if you try the same task on two models in ordinary threads, the comparison appears here.

  • Only a thread's first turn counts. A short follow-up such as "continue" or "yes" means something only inside its own conversation, so it is never matched with the same words elsewhere. A turn that carries in an earlier session, a handoff, or a fork is not a first turn either.
  • Octant matches prompts with a keyed digest. It reads the prompt with its spacing normalised, and the host turns it into a short code with a secret key that is kept in a private file on this Mac. The code is never the prompt text, and the key and the prompt never leave this Mac. A code cannot be matched against a guess on another machine.
  • A row names the newest thread that sent the prompt. Choose Open thread to read the prompt there. The report never holds the prompt text.
  • Purging a thread removes its code with it.
  • Benchmark runs do not appear here. Their threads live in a hidden Project that this report does not read. Compare a run on its own leaderboard and history.

If no prompt in the range went to more than one model, the section says so.

Host health ​

Host health shows how the Octant host itself is doing, not how a model is doing. Once a minute the host records a few numbers about its own process. The section draws one small chart for each, on its own scale, with the peak and when it happened:

  • Memory in use
  • Event-loop stalls: times the host was too busy to answer.
  • Longest stall
  • Slow database statements
  • Request handling, slow (p95)
  • Database size

A note says how many times the host restarted in the range, and when. Show as a table gives every point. Over a long range one point stands for an hour and keeps its worst minute. Samples are kept for 14 days. With no samples yet, the section says so.

Host health is numbers only. It names no route, query, thread, or Project. It is kept in a file beside your data, not in your threads, so deleting that file loses nothing you made. Samples are never exported or synced.

Privacy ​

  • Turn health holds numbers and categories, not conversations. A tool's input, output, and failure text are never stored in a turn's record. Your transcript already holds them, and you read them in the thread.
  • When a provider fails a turn, Octant keeps one line of its message. The text is redacted for keys, tokens, and credentialed addresses, and absolute paths outside your home folder are removed. It is cut to 512 characters. A message that states a secret in words, or still looks like one, is not kept at all. Such a turn shows No message kept.
  • A turn that fails before the provider streams anything has no failure facts. It reads as failed with no reason reported, not as a guessed reason.
  • Octant makes no external call to build the report. It reads what the host already recorded.

Who can see it ​

Turn health follows the same Project scope as the rest of Usage. A paired device can read it, as it can read other usage. Host health names nothing Project-scoped, so any signed-in window of the host can read it. See Remote access for pairing.

Octant documentation · local-first by design