Skip to main content
Blitz
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage
Edit page

Blitz 1.4.0

Blitz 1.4.0 introduces Model Tiering, routing each turn, sub-agent, and auxiliary call to the smallest model tier that fits, dialing thinking effort dynamically, and escalating to a Frontier model when a loop stalls. It also hardens ACP subprocess lifecycles, prompt optimizer edge cases, and session model inheritance.

Get started

  1. Update Blitz. It updates itself, or run sudo apt upgrade or brew upgrade --cask blitz, or download it from the GitHub release.
  2. Turn on model tiering for a conversation with /tiers on, or enable it globally in .env.toml using one of the provider examples below.

Model Tiering configuration examples

Add a [tiers] block to your .env.toml (global or workspace) to configure your preferred provider:

Gemini

[tiers]
enabled = true
lightweight = "gemini/gemini-3.8-flash"
mid = "gemini/gemini-4-hydrogen"
frontier = "gemini/gemini-4-neon"
dynamic_effort = true
# edge_compress = false
# verify_diff = false

Claude (Anthropic)

[tiers]
enabled = true
lightweight = "anthropic/claude-haiku-4-5"
mid = "anthropic/claude-sonnet-5"
frontier = "anthropic/claude-opus-5"
dynamic_effort = true
# edge_compress = false
# verify_diff = false

ChatGPT (OpenAI)

[tiers]
enabled = true
lightweight = "openai/gpt-5-mini"
mid = "openai/gpt-5"
frontier = "openai/gpt-5.4-pro"
dynamic_effort = true
# edge_compress = false
# verify_diff = false

What’s new

  • Role and subtask routing. /plan runs route to Frontier while approved CarryOutPrompt execution drops to Mid-Tier. Built-in agents declare a default tier (lightweight, mid, or frontier) in frontmatter, and invoke_agent accepts an explicit tier hint. Explicit [agent_models] pins and /model overrides always win.
  • Dynamic thinking effort (dynamic_effort = true). Adjusts reasoning_effort per call based on tier, context size, and recent failures without mutating thinking_budget mid-conversation, keeping prompt caches warm.
  • Waterfall and budget-cap escalation. Consecutive deterministic tool or command failures (default 2) or burning 60% of a budgeted sub-agent’s turns with unresolved failures trigger a compact Frontier diagnosis and promote the sub-agent’s active endpoint to Frontier for recovery.
  • Optional edge compression & diff review. edge_compress = true routes oversized (> 16384 bytes) noisy tool outputs through the Lightweight tier with deterministic content-hash caching. verify_diff = true runs a capped Frontier critique on git diff after Mid-Tier file edits.
  • Per-session /tiers command. Available in both the terminal REPL and desktop composer (/tiers on|off, /tiers lightweight|mid|frontier <model>, /tiers escalate|effort|compress|verify on|off).
  • Task economics telemetry. Records blitz.task.cost_usd, blitz.task.calls, blitz.tier.calls, and blitz.tier.escalations alongside numeric task_outcome audit records for /reflect.

Fixes & hardening

  • ACP & provider lifecycle. Decoupled stdio subprocess lifetimes from turn contexts, broke mutual recursion in session creation, shared transport framing, cleaned up MCP servers on startup errors, and preserved conversationModel inheritance for background tasks and max_turns-bounded sub-agents.
  • Prompt optimizer edge cases. Tightened stack-trace detection, added support for nested tag blocks and multiline openers, and prevented truncation marker budget overflows.

Good to know

  • Model tiering is off by default (enabled = false); existing setups behave identically until you opt in.
  • See the Model Tiering & Savings guide for full details on precedence rules, provider defaults, and cost-per-task benchmarks.