The cleanup request, models, limits, screen context and what happens when something fails.

Pipeline

  1. Transcription returns the raw text.
  2. Dictionary replaces sound-alikes with their terms, as whole words, longest match first.
  3. Cleanup sends one request, or several in parallel for a long dictation.
  4. Checks accept or reject the reply. A rejected or failed reply means the dictionary-corrected text is pasted.

The request

The system prompt is two parts. The first, steno’s editing rules and examples, is the same for every dictation and is marked for Anthropic’s prompt cache, so dictations a few minutes apart read it at a tenth of the input price. The second varies and is never cached:

  • the destination app and its formatting rule (plain, terminal or Markdown);
  • up to 500 dictionary terms as vocabulary;
  • your custom instructions, the first 2,000 characters, which win over steno’s rules where they conflict;
  • with screen context, the rule for using it;
  • a final check list.

The user message holds the transcript in <transcript> tags, after the screen context when there is any.

A transcript of more than about 120 words is split at sentence ends into parts of about 90 words, up to 8, cleaned in parallel. Each part has its own checks, so a rejected part is pasted as heard and the rest stay cleaned.

Checks

A reply is rejected if it is empty, contains a <transcript> or <screen_terms> tag, is much longer than the input (more than 1.6 times plus 40 characters), or, for 40 words or more, keeps fewer than 60% of the words. A refusal, a reply cut off at the token limit, an error or the model’s timeout all paste the dictionary-corrected text.

Models

Model Provider Request settings Timeout
Claude Sonnet 5.5 (default) Anthropic thinking between_tools, effort low 10 s
Claude Opus 5.5 Anthropic adaptive thinking, effort low 15 s
Claude Opus 5.5 Fast Anthropic as Opus 5.5, fast mode (billed at twice the rate) 12 s
Claude Haiku 5.5 Anthropic thinking off 8 s
GLM 5.3 Flash (without an Anthropic key) DeepInfra reasoning off 6 s
Nemotron 3.5 Lightning, GLM 5.3, DeepSeek V4.1 Flash, DeepSeek V4 Flash, Inkling 2 Small and Mini, Nemotron 3.5 Super VL, Nemotron 3 Ultra, Kimi K3.1 Pro, MiMo V2.6 Flash and Pro DeepInfra reasoning off or low 6 to 12 s

Extra parameters in Settings → Cleanup, for a custom model, is a JSON object merged into each request. DeepInfra models default to {"reasoning_effort":"none"}; use {} if a provider rejects it. steno sets the model, messages, temperature, token limit and streaming itself.

Screen context

When it’s read At recording start, while you speak. Cleanup takes whatever is ready and never waits.
Which window The focused window of the app in front when recording started, even if you stop in another app.
Names and terms Up to 150, at most 2,500 characters, from the window’s accessibility tree: identifiers (snake_case, kebab-case, a:b, a.b, camelCase), names with versions (“Sonnet 5.5”), runs of capitalized words, and words the macOS spell checker doesn’t know. The walk is limited to 300 ms and 4,000 elements and skips anything scrolled out of view.
Screenshot The window alone through ScreenCaptureKit, scaled to 1280 pixels on its long edge, JPEG. Needs Screen Recording.
Sent to Claude: screenshot, then <screen_terms>, then the transcript. DeepInfra: the terms only. A long dictation’s parts each carry it.
Cost About 1,300 to 1,500 input tokens and half a second for the screenshot; a few hundred tokens for the terms.
Skipped Password fields, password managers, System Settings and steno itself.

The rule tells the model to change a word to a screen term only when it sounds like that term, and to keep a name that matches nothing on screen as spoken.

Connection warm-up

When recording starts, steno sends the transcription provider a short bundled clip, which opens the connection and shows whether the model is responding. If cleanup uses another provider, a free models request opens that connection too. With a healthy primary, the fallback waits three seconds; a slow or failed check, or a failed primary, starts it at once. The first model to answer wins, within 45 seconds.