@alexeiled/claude-router 1.12.0 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "router",
3
3
  "displayName": "Router",
4
- "version": "1.12.0",
4
+ "version": "1.13.0",
5
5
  "description": "Model and effort routing for the main conversation by task difficulty and activity, advised by a prompt classifier (Jev, Clef, Clef Flash, OpenAI or local Ollama). Subagents get one model at spawn: every agent that does not pin one.",
6
6
  "author": {
7
7
  "name": "Alexei Ledenev",
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.13.0 (2026-10-13)
4
+
5
+ The Now tab shows this session and today instead of the last 30 replies, a window that matched no session, hour or day. See [Open the router pane](docs/user-guide.md#open-the-router-pane).
6
+
7
+ ### Changed
8
+
9
+ - **SESSION** replaces **LAST 30 REPLIES**. Its strip colors every reply of the session by tier; past 48 cells, or on a narrow pane, pairs of cells merge and the strip says how many replies a cell holds. After a restart of Claude Code the strip starts again and says since when. Its heading gives since when, the routed replies and the route switches. The switches are the ones the Usage tab counts, so a pin is not one. The replies per tier and per activity follow.
10
+ - **Pin next** replaces the TIERS ladder: one button per tier with the classifier's support, `▶` on the tier that runs now. The tab is four rows shorter.
11
+
12
+ ### Added
13
+
14
+ - **last switch** on the Now tab: when the route last changed, between which tiers, or between which routes inside a tier, and the activity. It includes the moves inside a turn that raise the `Model changed` toast.
15
+ - What routing saved or cost against your model this session, with the switch cache writes in it, and a **Usage** link that opens the Usage tab on Session.
16
+ - **TODAY**, once another session added to today: the same line for every session today, with a **Usage** link on Today.
17
+ - **WORTH A LOOK · today**: the Usage tab's first finding for today, from 20 replies, with its link to Routes or Policy.
18
+
3
19
  ## 1.12.0 (2026-10-13)
4
20
 
5
21
  The Usage tab now shows any period, not only this session and the time since the last reset. See [Compare routing with your model](docs/user-guide.md#compare-routing-with-your-model).
@@ -112,7 +112,7 @@ When a turn completes, the Mod labels it from the tool calls the assistant made
112
112
 
113
113
  Two stores hold counts:
114
114
 
115
- - **Session**: `activityStats` in the view, reset when the session ends. It has turns, requests, tokens, the list price of priced replies with their count, and routed replies by `model@effort` per activity, switches by tier and by activity, lateral moves taken and refused, and tool agreement. The label counted per activity is the applied activity in `on`. Tool agreement compares the answer that cleared `activityMass`, so it measures the classifier in both modes. The view also keeps an `activities` array aligned with the last 30 replies.
115
+ - **Session**: `activityStats` in the view, reset when the session ends. It has turns, requests, tokens, the list price of priced replies with their count, and routed replies by `model@effort` per activity, switches by tier and by activity, lateral moves taken and refused, and tool agreement. The label counted per activity is the applied activity in `on`. Tool agreement compares the answer that cleared `activityMass`, so it measures the classifier in both modes. The view also keeps `strip`, every reply since Claude Code started the session by tier in at most 48 cells that merge in pairs, with when its first reply arrived, and `lastSwitch`, the last route change with its tiers, routes and activity.
116
116
  - **Across sessions**: two `$.store` records per session. Each session's `activity:stats:v1:<session id>` holds a confusion matrix of the classifier's raw answer (including `uncertain` and `none`) against the observed bucket, run lengths per activity in five buckets, lateral switches taken and refused (from the decision's `lateral` field, so a hold or the cash gate counts), and `since`, its first count. A value with an unknown key or shape reads as empty; the `shadow` key that versions before 1.10.1 wrote is dropped on read and the rest is kept. Before 1.10.3 every session shared one `activity:stats:v1` key, read-modified-written each turn, so two sessions finishing turns together could lose a count and a stale write could undo a reset; that key now counts as one more record in the sum until **Delete history** deletes it, and 1.10.2 and earlier read only it. Each session's `activity:metrics:v1:<session id>` holds a classifier latency histogram per classifier id (22 buckets, at most 8 ids), the cheaper activity moves taken in `on` with the escalations that followed one, and `since`, its first reading; each part reads as empty on its own when its shape is wrong, as after a change of buckets. Both follow the usage records below: one writer per key, so sessions that finish turns at the same moment do not overwrite each other; this session's record held in memory and written after each turn that adds a count; the readout the sum of all records, latency kept to the first 8 classifier ids; and the same reset marker. Each record is bounded, and the records grow by one per session that recorded a count until **Delete history**. The view keeps the last sums read or written as `activityStore` and `activityMetrics`: read at session start and when the pane opens, replaced after each turn's write and after a reset. The open run is written when the session ends. **Delete history** clears the session counts, every stats and metrics record, and the usage records below.
117
117
 
118
118
  Nothing is recorded with `activityRouting: off`. Stats run inside a guard: a failed transcript read or store access loses that turn's counts and never fails the turn. Readings already in the session's metrics record stay in memory after a failed write and go out with the next turn that adds a reading. A turn from a session that has since changed is dropped.
@@ -36,7 +36,7 @@ The status band is one line above the prompt: a tier meter, the activity, the ro
36
36
  | Next turn / Served | The requested model and effort, with the tier's own model beside an activity override. **Served** appears only when the engine answered with another model. Actual effort is not reported. |
37
37
  | Classifier support | Per-tier probabilities from the last classification; under **Why**, the support for the switch against the bar the policy required, and the switch cost. Pins and skipped calls leave it empty. |
38
38
  | Activity | The classifier's activity choice as a verb with its share, the two next-best answers, and the threshold at which an activity applies; `uncertain` shown dim. Empty with routing off, a pin, or no answer. |
39
- | Last replies | The tier that served each of the last 30 main-conversation replies, a dot where the router did not choose, the model switches between them, and the replies per tier and per activity. |
39
+ | Session and today (Now) | Every main-conversation reply since Claude Code started the session as a strip colored by tier, pairs of cells merging past 48 cells or on a narrow pane; a dot where the router did not serve, and `since HH:MM` once a restart started the strip again. The replies per tier and per activity, the route switches and the last one, and routing against your model for the session and, once another session added to it, for today; today's first finding worth a look. |
40
40
  | Routing vs your model (Usage) | For a period (this session, today, 7 or 30 days, this month, or all), routed replies at configured list prices against the same tokens on your model, the model `/model` selected at the session effort when each reply ran: a ledger from your model through cheaper models, stronger models and switch cache writes to routed; tokens and cache hit. `early sample` below 10 replies. Output length is held the same; answer quality is not measured. |
41
41
  | Breakdown (Usage) | The period's replies, cost and difference against your model by activity, model or tier, each row opening to its routes or activities; the cost per hour, day or week, or **What if**, the same tokens on each model alone; from 20 replies, the cells worth a look, linked to Routes or Policy. |
42
42
  | Across sessions (Classifier) | The counts kept since the last reset: labelled turns, tool agreement on the classifier's raw answer, overall and for `code`, `ops` and `explore`, the two largest mismatches, activity moves inside a tier taken and refused, and escalations after a cheaper activity move. The active classifier's p95 latency shows on its **Deadline** line. `/router` text shows the agreement. |
@@ -1,12 +1,12 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 657 458" role="img" aria-labelledby="title desc">
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 665 515" role="img" aria-labelledby="title desc">
2
2
  <title id="title">Router pane, Now tab</title>
3
- <desc id="desc">What runs next turn: tier, model and activity, with the reason and the classifier support it weighed; classifier support per tier with pin buttons; the last 20 replies colored by tier with the switch count and the replies per tier and per activity; and context, cache and cost.</desc>
3
+ <desc id="desc">What runs next turn: tier, model and activity, with the reason and the classifier support it weighed; one pin button per tier with its support; this session since its first reply, as a strip of every reply colored by tier, with the replies per tier and per activity, the last route switch and what routing saved against your model; today across sessions; today’s first finding worth a look with a link to Routes; and context, cache and cost.</desc>
4
4
  <style>
5
5
  text { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace; font-size: 13px; }
6
6
  .cap { font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 12px; fill: #9a988f; }
7
7
  </style>
8
- <rect width="657" height="458" rx="8" fill="#1c1c1c"/>
9
- <rect x="10" y="10" width="637" height="438" rx="6" fill="none" stroke="#3f5f8f"/>
8
+ <rect width="665" height="515" rx="8" fill="#1c1c1c"/>
9
+ <rect x="10" y="10" width="645" height="495" rx="6" fill="none" stroke="#3f5f8f"/>
10
10
  <text x="24.0" y="34" fill="#5fafd7" font-weight="700" xml:space="preserve">ROUTING</text>
11
11
  <rect x="94.2" y="20" width="62.4" height="18" rx="4" fill="#87afff"/>
12
12
  <text x="94.2" y="34" fill="#0d1016" font-weight="700" xml:space="preserve">[ ◉ on ]</text>
@@ -36,77 +36,111 @@
36
36
  <text x="24.0" y="129" fill="#d0d0d0" xml:space="preserve">Why </text>
37
37
  <text x="109.8" y="129" fill="#d0d0d0" xml:space="preserve">clear need for a stronger model</text>
38
38
  <text x="24.0" y="148" fill="#7c7c7c" xml:space="preserve"> Jev gave stronger tiers 88% (needs 82%) · switch ≈ $0.48</text>
39
- <text x="24.0" y="186" fill="#5fafd7" font-weight="700" xml:space="preserve">TIERS</text>
40
- <text x="63.0" y="186" fill="#7c7c7c" xml:space="preserve"> · Jev support on the last turn · pin = next turn only</text>
41
- <text x="24.0" y="205" fill="#e0708a" font-weight="700" xml:space="preserve">▶ </text>
42
- <text x="39.6" y="205" fill="#e0708a" font-weight="700" xml:space="preserve">high </text>
43
- <text x="102.0" y="205" fill="#d0d0d0" xml:space="preserve">Opus 5.5 · xhigh </text>
44
- <text x="273.6" y="205" fill="#e0708a" xml:space="preserve">█████████░</text>
45
- <text x="351.6" y="205" fill="#d0d0d0" xml:space="preserve"> 88% </text>
46
- <rect x="406.2" y="191" width="54.6" height="18" rx="4" fill="#2e3340"/>
47
- <text x="406.2" y="205" fill="#d0d0d0" xml:space="preserve">[ pin ]</text>
48
- <text x="39.6" y="224" fill="#d7af5f" font-weight="700" xml:space="preserve">medium </text>
49
- <text x="102.0" y="224" fill="#d0d0d0" xml:space="preserve">Opus 5.5 · medium </text>
50
- <text x="273.6" y="224" fill="#d7af5f" xml:space="preserve">█░░░░░░░░░</text>
51
- <text x="351.6" y="224" fill="#d0d0d0" xml:space="preserve"> 7% </text>
52
- <rect x="406.2" y="210" width="54.6" height="18" rx="4" fill="#2e3340"/>
53
- <text x="406.2" y="224" fill="#d0d0d0" xml:space="preserve">[ pin ]</text>
54
- <text x="39.6" y="243" fill="#5f9fe0" font-weight="700" xml:space="preserve">low </text>
55
- <text x="102.0" y="243" fill="#d0d0d0" xml:space="preserve">Haiku 5.5 · high </text>
56
- <text x="273.6" y="243" fill="#5f9fe0" xml:space="preserve">░░░░░░░░░░</text>
57
- <text x="351.6" y="243" fill="#d0d0d0" xml:space="preserve"> 3% </text>
58
- <rect x="406.2" y="229" width="54.6" height="18" rx="4" fill="#2e3340"/>
59
- <text x="406.2" y="243" fill="#d0d0d0" xml:space="preserve">[ pin ]</text>
60
- <text x="39.6" y="262" fill="#5fd7af" font-weight="700" xml:space="preserve">micro </text>
61
- <text x="102.0" y="262" fill="#d0d0d0" xml:space="preserve">Haiku 5.5 · medium </text>
62
- <text x="273.6" y="262" fill="#5fd7af" xml:space="preserve">░░░░░░░░░░</text>
63
- <text x="351.6" y="262" fill="#d0d0d0" xml:space="preserve"> 2% </text>
64
- <rect x="406.2" y="248" width="54.6" height="18" rx="4" fill="#2e3340"/>
65
- <text x="406.2" y="262" fill="#d0d0d0" xml:space="preserve">[ pin ]</text>
66
- <text x="24.0" y="300" fill="#5fafd7" font-weight="700" xml:space="preserve">LAST 20 REPLIES</text>
67
- <text x="141.0" y="300" fill="#7c7c7c" xml:space="preserve"> · 7 model switches</text>
68
- <text x="39.6" y="319" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
69
- <text x="47.4" y="319" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
70
- <text x="55.2" y="319" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
71
- <text x="63.0" y="319" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
72
- <text x="70.8" y="319" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
73
- <text x="78.6" y="319" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
74
- <text x="86.4" y="319" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
75
- <text x="94.2" y="319" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
76
- <text x="102.0" y="319" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
77
- <text x="109.8" y="319" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
78
- <text x="117.6" y="319" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
79
- <text x="125.4" y="319" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
80
- <text x="133.2" y="319" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
81
- <text x="141.0" y="319" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
82
- <text x="148.8" y="319" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
83
- <text x="156.6" y="319" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
84
- <text x="164.4" y="319" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
85
- <text x="172.2" y="319" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
86
- <text x="180.0" y="319" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
87
- <text x="187.8" y="319" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
88
- <text x="39.6" y="338" fill="#5f9fe0" font-weight="700" xml:space="preserve">■ </text>
89
- <text x="55.2" y="338" fill="#d0d0d0" xml:space="preserve">low 10 </text>
90
- <text x="117.6" y="338" fill="#d7af5f" font-weight="700" xml:space="preserve">■ </text>
91
- <text x="133.2" y="338" fill="#d0d0d0" xml:space="preserve">medium 2 </text>
92
- <text x="211.2" y="338" fill="#e0708a" font-weight="700" xml:space="preserve">■ </text>
93
- <text x="226.8" y="338" fill="#d0d0d0" xml:space="preserve">high 8 </text>
94
- <text x="39.6" y="357" fill="#d7875f" font-style="italic" xml:space="preserve">coding</text>
95
- <text x="86.4" y="357" fill="#7c7c7c" xml:space="preserve"> 12 · </text>
96
- <text x="133.2" y="357" fill="#d7875f" font-style="italic" xml:space="preserve">exploring</text>
97
- <text x="203.4" y="357" fill="#7c7c7c" xml:space="preserve"> 4 · </text>
98
- <text x="242.4" y="357" fill="#d7875f" font-style="italic" xml:space="preserve">planning</text>
99
- <text x="304.8" y="357" fill="#7c7c7c" xml:space="preserve"> 2 · </text>
100
- <text x="343.8" y="357" fill="#d7875f" font-style="italic" xml:space="preserve">running</text>
101
- <text x="398.4" y="357" fill="#7c7c7c" xml:space="preserve"> 2</text>
102
- <text x="24.0" y="395" fill="#87d787" xml:space="preserve">Context ██████░░░░░░░░░░ 40% ~402.9K / 1.00M</text>
103
- <text x="24.0" y="414" fill="#87d787" xml:space="preserve">Cache </text>
104
- <text x="94.2" y="414" fill="#87d787" xml:space="preserve">100% reused on the last reply</text>
105
- <text x="320.4" y="414" fill="#7c7c7c" xml:space="preserve"> · </text>
106
- <text x="359.4" y="414" fill="#d0d0d0" xml:space="preserve">cost $18.003 </text>
107
- <text x="460.8" y="414" fill="#7c7c7c" xml:space="preserve">by Claude </text>
108
- <rect x="546.6" y="400" width="85.8" height="18" rx="4" fill="#2e3340"/>
109
- <text x="546.6" y="414" fill="#d0d0d0" xml:space="preserve">[ details ]</text>
110
- <rect x="24.0" y="419" width="70.2" height="18" rx="4" fill="#2e3340"/>
111
- <text x="24.0" y="433" fill="#d0d0d0" xml:space="preserve">[ Close ]</text>
39
+ <text x="24.0" y="167" fill="#d0d0d0" xml:space="preserve">Pin next </text>
40
+ <rect x="109.8" y="153" width="109.2" height="18" rx="4" fill="#2e3340"/>
41
+ <text x="109.8" y="167" fill="#d0d0d0" xml:space="preserve">[ ▶ high 88% ]</text>
42
+ <rect x="226.8" y="153" width="101.4" height="18" rx="4" fill="#2e3340"/>
43
+ <text x="226.8" y="167" fill="#d0d0d0" xml:space="preserve">[ medium 7% ]</text>
44
+ <rect x="336.0" y="153" width="78.0" height="18" rx="4" fill="#2e3340"/>
45
+ <text x="336.0" y="167" fill="#d0d0d0" xml:space="preserve">[ low 3% ]</text>
46
+ <rect x="421.8" y="153" width="93.6" height="18" rx="4" fill="#2e3340"/>
47
+ <text x="421.8" y="167" fill="#d0d0d0" xml:space="preserve">[ micro 2% ]</text>
48
+ <text x="523.2" y="167" fill="#7c7c7c" xml:space="preserve"> next turn only</text>
49
+ <text x="24.0" y="205" fill="#5fafd7" font-weight="700" xml:space="preserve">SESSION</text>
50
+ <text x="78.6" y="205" fill="#7c7c7c" xml:space="preserve"> · since 14:18 · 86 routed replies · 9 route switches</text>
51
+ <text x="39.6" y="224" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
52
+ <text x="47.4" y="224" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
53
+ <text x="55.2" y="224" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
54
+ <text x="63.0" y="224" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
55
+ <text x="70.8" y="224" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
56
+ <text x="78.6" y="224" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
57
+ <text x="86.4" y="224" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
58
+ <text x="94.2" y="224" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
59
+ <text x="102.0" y="224" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
60
+ <text x="109.8" y="224" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
61
+ <text x="117.6" y="224" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
62
+ <text x="125.4" y="224" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
63
+ <text x="133.2" y="224" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
64
+ <text x="141.0" y="224" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
65
+ <text x="148.8" y="224" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
66
+ <text x="156.6" y="224" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
67
+ <text x="164.4" y="224" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
68
+ <text x="172.2" y="224" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
69
+ <text x="180.0" y="224" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
70
+ <text x="187.8" y="224" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
71
+ <text x="195.6" y="224" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
72
+ <text x="203.4" y="224" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
73
+ <text x="211.2" y="224" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
74
+ <text x="219.0" y="224" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
75
+ <text x="226.8" y="224" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
76
+ <text x="234.6" y="224" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
77
+ <text x="242.4" y="224" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
78
+ <text x="250.2" y="224" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
79
+ <text x="258.0" y="224" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
80
+ <text x="265.8" y="224" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
81
+ <text x="273.6" y="224" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
82
+ <text x="281.4" y="224" fill="#5f9fe0" font-weight="700" xml:space="preserve">█</text>
83
+ <text x="289.2" y="224" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
84
+ <text x="297.0" y="224" fill="#d7af5f" font-weight="700" xml:space="preserve">█</text>
85
+ <text x="304.8" y="224" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
86
+ <text x="312.6" y="224" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
87
+ <text x="320.4" y="224" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
88
+ <text x="328.2" y="224" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
89
+ <text x="336.0" y="224" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
90
+ <text x="343.8" y="224" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
91
+ <text x="351.6" y="224" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
92
+ <text x="359.4" y="224" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
93
+ <text x="367.2" y="224" fill="#e0708a" font-weight="700" xml:space="preserve">█</text>
94
+ <text x="375.0" y="224" fill="#7c7c7c" xml:space="preserve"> 2 replies per cell</text>
95
+ <text x="39.6" y="243" fill="#5f9fe0" font-weight="700" xml:space="preserve">■ </text>
96
+ <text x="55.2" y="243" fill="#d0d0d0" xml:space="preserve">low 41 </text>
97
+ <text x="117.6" y="243" fill="#d7af5f" font-weight="700" xml:space="preserve">■ </text>
98
+ <text x="133.2" y="243" fill="#d0d0d0" xml:space="preserve">medium 12 </text>
99
+ <text x="219.0" y="243" fill="#e0708a" font-weight="700" xml:space="preserve">■ </text>
100
+ <text x="234.6" y="243" fill="#d0d0d0" xml:space="preserve">high 33 </text>
101
+ <text x="39.6" y="262" fill="#d7875f" font-style="italic" xml:space="preserve">coding</text>
102
+ <text x="86.4" y="262" fill="#7c7c7c" xml:space="preserve"> 45 · </text>
103
+ <text x="133.2" y="262" fill="#d7875f" font-style="italic" xml:space="preserve">running</text>
104
+ <text x="187.8" y="262" fill="#7c7c7c" xml:space="preserve"> 26 · </text>
105
+ <text x="234.6" y="262" fill="#d7875f" font-style="italic" xml:space="preserve">exploring</text>
106
+ <text x="304.8" y="262" fill="#7c7c7c" xml:space="preserve"> 15</text>
107
+ <text x="39.6" y="281" fill="#7c7c7c" xml:space="preserve">last switch 15:38 </text>
108
+ <text x="187.8" y="281" fill="#d7af5f" font-weight="700" xml:space="preserve">medium</text>
109
+ <text x="234.6" y="281" fill="#7c7c7c" xml:space="preserve"> → </text>
110
+ <text x="258.0" y="281" fill="#e0708a" font-weight="700" xml:space="preserve">high</text>
111
+ <text x="289.2" y="281" fill="#7c7c7c" xml:space="preserve"> · </text>
112
+ <text x="312.6" y="281" fill="#d7875f" font-style="italic" xml:space="preserve">coding</text>
113
+ <text x="39.6" y="300" fill="#d0d0d0" xml:space="preserve">Routing saved </text>
114
+ <text x="148.8" y="300" fill="#6fcf97" font-weight="700" xml:space="preserve">$4.17 (39%)</text>
115
+ <text x="234.6" y="300" fill="#d0d0d0" xml:space="preserve"> vs your model</text>
116
+ <text x="343.8" y="300" fill="#7c7c7c" xml:space="preserve"> · switch writes $0.19</text>
117
+ <rect x="531.0" y="286" width="70.2" height="18" rx="4" fill="#2e3340"/>
118
+ <text x="531.0" y="300" fill="#d0d0d0" xml:space="preserve">[ Usage ]</text>
119
+ <text x="24.0" y="338" fill="#5fafd7" font-weight="700" xml:space="preserve">TODAY</text>
120
+ <text x="63.0" y="338" fill="#7c7c7c" xml:space="preserve"> · 104 routed replies · 12 route switches</text>
121
+ <text x="39.6" y="357" fill="#d0d0d0" xml:space="preserve">Routing saved </text>
122
+ <text x="148.8" y="357" fill="#6fcf97" font-weight="700" xml:space="preserve">$5.16 (40%)</text>
123
+ <text x="234.6" y="357" fill="#d0d0d0" xml:space="preserve"> vs your model</text>
124
+ <text x="343.8" y="357" fill="#7c7c7c" xml:space="preserve"> · switch writes $0.23</text>
125
+ <rect x="531.0" y="343" width="70.2" height="18" rx="4" fill="#2e3340"/>
126
+ <text x="531.0" y="357" fill="#d0d0d0" xml:space="preserve">[ Usage ]</text>
127
+ <text x="24.0" y="395" fill="#5fafd7" font-weight="700" xml:space="preserve">WORTH A LOOK</text>
128
+ <text x="117.6" y="395" fill="#7c7c7c" xml:space="preserve"> · today</text>
129
+ <text x="39.6" y="414" fill="#d7875f" font-style="italic" xml:space="preserve">coding</text>
130
+ <text x="86.4" y="414" fill="#7c7c7c" xml:space="preserve"> · </text>
131
+ <text x="109.8" y="414" fill="#e0708a" font-weight="700" xml:space="preserve">high</text>
132
+ <text x="141.0" y="414" fill="#d0d0d0" xml:space="preserve"> carried 61% of the cost</text>
133
+ <text x="328.2" y="414" fill="#7c7c7c" xml:space="preserve"> · mostly Opus 5.5 · xhigh</text>
134
+ <rect x="546.6" y="400" width="78.0" height="18" rx="4" fill="#2e3340"/>
135
+ <text x="546.6" y="414" fill="#d0d0d0" xml:space="preserve">[ Routes ]</text>
136
+ <text x="24.0" y="452" fill="#87d787" xml:space="preserve">Context ██████░░░░░░░░░░ 40% ~402.9K / 1.00M</text>
137
+ <text x="24.0" y="471" fill="#87d787" xml:space="preserve">Cache </text>
138
+ <text x="94.2" y="471" fill="#87d787" xml:space="preserve">100% reused on the last reply</text>
139
+ <text x="320.4" y="471" fill="#7c7c7c" xml:space="preserve"> · </text>
140
+ <text x="359.4" y="471" fill="#d0d0d0" xml:space="preserve">cost $18.003 </text>
141
+ <text x="460.8" y="471" fill="#7c7c7c" xml:space="preserve">by Claude </text>
142
+ <rect x="546.6" y="457" width="85.8" height="18" rx="4" fill="#2e3340"/>
143
+ <text x="546.6" y="471" fill="#d0d0d0" xml:space="preserve">[ details ]</text>
144
+ <rect x="24.0" y="476" width="70.2" height="18" rx="4" fill="#2e3340"/>
145
+ <text x="24.0" y="490" fill="#d0d0d0" xml:space="preserve">[ Close ]</text>
112
146
  </svg>
@@ -1,12 +1,12 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 672 819" role="img" aria-labelledby="title desc">
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 649 800" role="img" aria-labelledby="title desc">
2
2
  <title id="title">Router pane, Usage tab, What if</title>
3
3
  <desc id="desc">This session by tier, with What if: the same tokens on Haiku 5.5, Sonnet 5.5 and Opus 5.5 alone against what routing spent.</desc>
4
4
  <style>
5
5
  text { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace; font-size: 13px; }
6
6
  .cap { font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 12px; fill: #9a988f; }
7
7
  </style>
8
- <rect width="672" height="819" rx="8" fill="#1c1c1c"/>
9
- <rect x="10" y="10" width="652" height="799" rx="6" fill="none" stroke="#3f5f8f"/>
8
+ <rect width="649" height="800" rx="8" fill="#1c1c1c"/>
9
+ <rect x="10" y="10" width="629" height="780" rx="6" fill="none" stroke="#3f5f8f"/>
10
10
  <text x="24.0" y="34" fill="#5fafd7" font-weight="700" xml:space="preserve">ROUTING</text>
11
11
  <rect x="94.2" y="20" width="62.4" height="18" rx="4" fill="#87afff"/>
12
12
  <text x="94.2" y="34" fill="#0d1016" font-weight="700" xml:space="preserve">[ ◉ on ]</text>
@@ -41,28 +41,28 @@
41
41
  <text x="24.0" y="110" fill="#7c7c7c" xml:space="preserve">this session · your model </text>
42
42
  <text x="226.8" y="110" fill="#e0708a" font-weight="700" xml:space="preserve">Opus 5.5 · xhigh</text>
43
43
  <text x="24.0" y="148" fill="#d0d0d0" xml:space="preserve">Routing saved </text>
44
- <text x="133.2" y="148" fill="#6fcf97" font-weight="700" xml:space="preserve">$1.34 (46%)</text>
44
+ <text x="133.2" y="148" fill="#6fcf97" font-weight="700" xml:space="preserve">$4.17 (39%)</text>
45
45
  <text x="219.0" y="148" fill="#d0d0d0" xml:space="preserve"> vs your model</text>
46
46
  <text x="55.2" y="186" fill="#d0d0d0" xml:space="preserve">Your model</text>
47
- <text x="211.2" y="186" fill="#d0d0d0" xml:space="preserve"> $2.92</text>
47
+ <text x="211.2" y="186" fill="#d0d0d0" xml:space="preserve"> $10.62</text>
48
48
  <text x="304.8" y="186" fill="#e0708a" font-weight="700" xml:space="preserve">Opus 5.5 · xhigh</text>
49
49
  <text x="24.0" y="205" fill="#7c7c7c" xml:space="preserve"> − </text>
50
50
  <text x="55.2" y="205" fill="#d0d0d0" xml:space="preserve">Cheaper models</text>
51
- <text x="211.2" y="205" fill="#6fcf97" xml:space="preserve"> $1.40</text>
51
+ <text x="211.2" y="205" fill="#6fcf97" xml:space="preserve"> $4.36</text>
52
52
  <text x="24.0" y="224" fill="#7c7c7c" xml:space="preserve"> + </text>
53
53
  <text x="55.2" y="224" fill="#d0d0d0" xml:space="preserve">Stronger models</text>
54
54
  <text x="211.2" y="224" fill="#d0d0d0" xml:space="preserve"> $0.00</text>
55
55
  <text x="24.0" y="243" fill="#7c7c7c" xml:space="preserve"> + </text>
56
56
  <text x="55.2" y="243" fill="#d0d0d0" xml:space="preserve">Switch cache writes</text>
57
- <text x="211.2" y="243" fill="#f0b429" xml:space="preserve"> $0.06</text>
58
- <text x="304.8" y="243" fill="#7c7c7c" xml:space="preserve">3 route switches · 4% of the saving</text>
57
+ <text x="211.2" y="243" fill="#f0b429" xml:space="preserve"> $0.19</text>
58
+ <text x="304.8" y="243" fill="#7c7c7c" xml:space="preserve">9 route switches · 4% of the saving</text>
59
59
  <text x="24.0" y="262" fill="#7c7c7c" xml:space="preserve"> = </text>
60
60
  <text x="55.2" y="262" fill="#d0d0d0" font-weight="700" xml:space="preserve">Routed</text>
61
- <text x="211.2" y="262" fill="#d0d0d0" font-weight="700" xml:space="preserve"> $1.58</text>
62
- <text x="304.8" y="262" fill="#5fafd7" xml:space="preserve">████████████</text>
63
- <text x="398.4" y="262" fill="#7c7c7c" xml:space="preserve">░░░░░░░░░░</text>
64
- <text x="476.4" y="262" fill="#7c7c7c" xml:space="preserve"> 54% of your model</text>
65
- <text x="24.0" y="300" fill="#7c7c7c" xml:space="preserve"> 24 replies · 8 turns · input 1.66M · cache hit 90% · output 21.6K</text>
61
+ <text x="211.2" y="262" fill="#d0d0d0" font-weight="700" xml:space="preserve"> $6.45</text>
62
+ <text x="304.8" y="262" fill="#5fafd7" xml:space="preserve">█████████████</text>
63
+ <text x="406.2" y="262" fill="#7c7c7c" xml:space="preserve">░░░░░░░░░</text>
64
+ <text x="476.4" y="262" fill="#7c7c7c" xml:space="preserve"> 61% of your model</text>
65
+ <text x="24.0" y="300" fill="#7c7c7c" xml:space="preserve"> 86 replies · 86 turns · input 5.93M · cache hit 90% · output 77.4K</text>
66
66
  <text x="24.0" y="338" fill="#5fafd7" font-weight="700" xml:space="preserve">BY </text>
67
67
  <rect x="55.2" y="324" width="93.6" height="18" rx="4" fill="#2e3340"/>
68
68
  <text x="55.2" y="338" fill="#d0d0d0" xml:space="preserve">[ Activity ]</text>
@@ -73,61 +73,56 @@
73
73
  <text x="304.8" y="338" fill="#7c7c7c" xml:space="preserve"> g next</text>
74
74
  <text x="24.0" y="357" fill="#7c7c7c" xml:space="preserve"> replies cost vs yours mostly on</text>
75
75
  <text x="39.6" y="376" fill="#d0d0d0" xml:space="preserve">▸</text>
76
- <text x="55.2" y="376" fill="#d7af5f" font-weight="700" xml:space="preserve">medium</text>
77
- <text x="211.2" y="376" fill="#d0d0d0" xml:space="preserve"> 10 $0.80</text>
78
- <text x="351.6" y="376" fill="#6fcf97" xml:space="preserve"> −$0.50</text>
79
- <text x="437.4" y="376" fill="#7c7c7c" xml:space="preserve"> Sonnet 5.5 · high</text>
76
+ <text x="55.2" y="376" fill="#e0708a" font-weight="700" xml:space="preserve">high</text>
77
+ <text x="211.2" y="376" fill="#d0d0d0" xml:space="preserve"> 33 $4.29</text>
78
+ <text x="351.6" y="376" fill="#d0d0d0" xml:space="preserve"> $0.00</text>
79
+ <text x="437.4" y="376" fill="#7c7c7c" xml:space="preserve"> Opus 5.5 · xhigh</text>
80
80
  <text x="39.6" y="395" fill="#d0d0d0" xml:space="preserve">▸</text>
81
- <text x="55.2" y="395" fill="#e0708a" font-weight="700" xml:space="preserve">high</text>
82
- <text x="211.2" y="395" fill="#d0d0d0" xml:space="preserve"> 4 $0.52</text>
83
- <text x="351.6" y="395" fill="#d0d0d0" xml:space="preserve"> $0.00</text>
84
- <text x="437.4" y="395" fill="#7c7c7c" xml:space="preserve"> Opus 5.5 · xhigh</text>
81
+ <text x="55.2" y="395" fill="#5f9fe0" font-weight="700" xml:space="preserve">low</text>
82
+ <text x="211.2" y="395" fill="#d0d0d0" xml:space="preserve"> 41 $1.20</text>
83
+ <text x="351.6" y="395" fill="#6fcf97" xml:space="preserve"> −$3.57</text>
84
+ <text x="437.4" y="395" fill="#7c7c7c" xml:space="preserve"> Haiku 5.5 · high</text>
85
85
  <text x="39.6" y="414" fill="#d0d0d0" xml:space="preserve">▸</text>
86
- <text x="55.2" y="414" fill="#5f9fe0" font-weight="700" xml:space="preserve">low</text>
87
- <text x="211.2" y="414" fill="#d0d0d0" xml:space="preserve"> 8 $0.23</text>
88
- <text x="351.6" y="414" fill="#6fcf97" xml:space="preserve"> −$0.69</text>
89
- <text x="437.4" y="414" fill="#7c7c7c" xml:space="preserve"> Haiku 5.5 · high</text>
90
- <text x="39.6" y="433" fill="#d0d0d0" xml:space="preserve">▸</text>
91
- <text x="55.2" y="433" fill="#5fd7af" font-weight="700" xml:space="preserve">micro</text>
92
- <text x="211.2" y="433" fill="#d0d0d0" xml:space="preserve"> 2 $0.02</text>
93
- <text x="351.6" y="433" fill="#6fcf97" xml:space="preserve"> −$0.16</text>
94
- <text x="437.4" y="433" fill="#7c7c7c" xml:space="preserve"> Haiku 5.5 · low</text>
95
- <text x="24.0" y="471" fill="#5fafd7" font-weight="700" xml:space="preserve">WHAT IF</text>
96
- <text x="78.6" y="471" fill="#7c7c7c" xml:space="preserve"> · the same tokens on one model </text>
97
- <rect x="343.8" y="457" width="70.2" height="18" rx="4" fill="#2e3340"/>
98
- <text x="343.8" y="471" fill="#d0d0d0" xml:space="preserve">[ Trend ]</text>
99
- <text x="39.6" y="490" fill="#d0d0d0" xml:space="preserve">Haiku 5.5</text>
100
- <text x="211.2" y="490" fill="#7c7c7c" xml:space="preserve">████</text>
101
- <text x="382.8" y="490" fill="#d0d0d0" xml:space="preserve"> $0.58</text>
102
- <text x="453.0" y="490" fill="#6fcf97" xml:space="preserve"> −$2.34</text>
86
+ <text x="55.2" y="414" fill="#d7af5f" font-weight="700" xml:space="preserve">medium</text>
87
+ <text x="211.2" y="414" fill="#d0d0d0" xml:space="preserve"> 12 $0.96</text>
88
+ <text x="351.6" y="414" fill="#6fcf97" xml:space="preserve"> −$0.60</text>
89
+ <text x="437.4" y="414" fill="#7c7c7c" xml:space="preserve"> Sonnet 5.5 · high</text>
90
+ <text x="24.0" y="452" fill="#5fafd7" font-weight="700" xml:space="preserve">WHAT IF</text>
91
+ <text x="78.6" y="452" fill="#7c7c7c" xml:space="preserve"> · the same tokens on one model </text>
92
+ <rect x="343.8" y="438" width="70.2" height="18" rx="4" fill="#2e3340"/>
93
+ <text x="343.8" y="452" fill="#d0d0d0" xml:space="preserve">[ Trend ]</text>
94
+ <text x="39.6" y="471" fill="#d0d0d0" xml:space="preserve">Haiku 5.5</text>
95
+ <text x="211.2" y="471" fill="#7c7c7c" xml:space="preserve">████</text>
96
+ <text x="382.8" y="471" fill="#d0d0d0" xml:space="preserve"> $2.12</text>
97
+ <text x="453.0" y="471" fill="#6fcf97" xml:space="preserve"> −$8.50</text>
98
+ <text x="39.6" y="490" fill="#d0d0d0" xml:space="preserve">Sonnet 5.5</text>
99
+ <text x="211.2" y="490" fill="#7c7c7c" xml:space="preserve">█████████████</text>
100
+ <text x="382.8" y="490" fill="#d0d0d0" xml:space="preserve"> $6.37</text>
101
+ <text x="453.0" y="490" fill="#6fcf97" xml:space="preserve"> −$4.25</text>
103
102
  <text x="39.6" y="509" fill="#d0d0d0" font-weight="700" xml:space="preserve">Routed</text>
104
- <text x="211.2" y="509" fill="#5fafd7" xml:space="preserve">████████████</text>
105
- <text x="382.8" y="509" fill="#d0d0d0" xml:space="preserve"> $1.58</text>
106
- <text x="39.6" y="528" fill="#d0d0d0" xml:space="preserve">Sonnet 5.5</text>
107
- <text x="211.2" y="528" fill="#7c7c7c" xml:space="preserve">█████████████</text>
108
- <text x="382.8" y="528" fill="#d0d0d0" xml:space="preserve"> $1.75</text>
109
- <text x="453.0" y="528" fill="#6fcf97" xml:space="preserve"> −$1.17</text>
110
- <text x="39.6" y="547" fill="#d0d0d0" xml:space="preserve">Opus 5.5 · yours</text>
111
- <text x="211.2" y="547" fill="#7c7c7c" xml:space="preserve">██████████████████████</text>
112
- <text x="382.8" y="547" fill="#d0d0d0" xml:space="preserve"> $2.92</text>
113
- <text x="453.0" y="547" fill="#7c7c7c" xml:space="preserve"> —</text>
114
- <text x="24.0" y="566" fill="#7c7c7c" xml:space="preserve"> same tokens and output on each model alone · answer quality not measured</text>
115
- <text x="24.0" y="604" fill="#5fafd7" font-weight="700" xml:space="preserve">WORTH A LOOK</text>
116
- <text x="117.6" y="604" fill="#7c7c7c" xml:space="preserve"> · from the numbers; answer quality is not measured</text>
117
- <text x="39.6" y="623" fill="#d7875f" font-style="italic" xml:space="preserve">coding</text>
118
- <text x="86.4" y="623" fill="#7c7c7c" xml:space="preserve"> · </text>
119
- <text x="109.8" y="623" fill="#d7af5f" font-weight="700" xml:space="preserve">medium</text>
120
- <text x="156.6" y="623" fill="#d0d0d0" xml:space="preserve"> carried 51% of the cost</text>
121
- <text x="343.8" y="623" fill="#7c7c7c" xml:space="preserve"> · mostly Sonnet 5.5 · high</text>
122
- <rect x="570.0" y="609" width="78.0" height="18" rx="4" fill="#2e3340"/>
123
- <text x="570.0" y="623" fill="#d0d0d0" xml:space="preserve">[ Routes ]</text>
124
- <text x="24.0" y="661" fill="#5fafd7" font-weight="700" xml:space="preserve">SUBAGENTS · across sessions</text>
125
- <text x="234.6" y="661" fill="#7c7c7c" xml:space="preserve"> subagent routing on</text>
126
- <text x="24.0" y="680" fill="#7c7c7c" xml:space="preserve"> no subagents yet</text>
127
- <text x="24.0" y="718" fill="#7c7c7c" xml:space="preserve"> API list prices · same tokens and output length · not a bill;</text>
128
- <text x="24.0" y="737" fill="#7c7c7c" xml:space="preserve"> on a Claude plan it stands for quota · answer quality not measured</text>
129
- <rect x="24.0" y="761" width="140.4" height="18" rx="4" fill="#2e3340"/>
130
- <text x="24.0" y="775" fill="#7c7c7c" xml:space="preserve">[ Delete history ]</text>
131
- <rect x="24.0" y="780" width="70.2" height="18" rx="4" fill="#2e3340"/>
132
- <text x="24.0" y="794" fill="#d0d0d0" xml:space="preserve">[ Close ]</text>
103
+ <text x="211.2" y="509" fill="#5fafd7" xml:space="preserve">█████████████</text>
104
+ <text x="382.8" y="509" fill="#d0d0d0" xml:space="preserve"> $6.45</text>
105
+ <text x="39.6" y="528" fill="#d0d0d0" xml:space="preserve">Opus 5.5 · yours</text>
106
+ <text x="211.2" y="528" fill="#7c7c7c" xml:space="preserve">██████████████████████</text>
107
+ <text x="382.8" y="528" fill="#d0d0d0" xml:space="preserve"> $10.62</text>
108
+ <text x="453.0" y="528" fill="#7c7c7c" xml:space="preserve"> —</text>
109
+ <text x="24.0" y="547" fill="#7c7c7c" xml:space="preserve"> same tokens and output on each model alone · answer quality not measured</text>
110
+ <text x="24.0" y="585" fill="#5fafd7" font-weight="700" xml:space="preserve">WORTH A LOOK</text>
111
+ <text x="117.6" y="585" fill="#7c7c7c" xml:space="preserve"> · from the numbers; answer quality is not measured</text>
112
+ <text x="39.6" y="604" fill="#d7875f" font-style="italic" xml:space="preserve">coding</text>
113
+ <text x="86.4" y="604" fill="#7c7c7c" xml:space="preserve"> · </text>
114
+ <text x="109.8" y="604" fill="#e0708a" font-weight="700" xml:space="preserve">high</text>
115
+ <text x="141.0" y="604" fill="#d0d0d0" xml:space="preserve"> carried 67% of the cost</text>
116
+ <text x="328.2" y="604" fill="#7c7c7c" xml:space="preserve"> · mostly Opus 5.5 · xhigh</text>
117
+ <rect x="546.6" y="590" width="78.0" height="18" rx="4" fill="#2e3340"/>
118
+ <text x="546.6" y="604" fill="#d0d0d0" xml:space="preserve">[ Routes ]</text>
119
+ <text x="24.0" y="642" fill="#5fafd7" font-weight="700" xml:space="preserve">SUBAGENTS · across sessions</text>
120
+ <text x="234.6" y="642" fill="#7c7c7c" xml:space="preserve"> subagent routing on</text>
121
+ <text x="24.0" y="661" fill="#7c7c7c" xml:space="preserve"> no subagents yet</text>
122
+ <text x="24.0" y="699" fill="#7c7c7c" xml:space="preserve"> API list prices · same tokens and output length · not a bill;</text>
123
+ <text x="24.0" y="718" fill="#7c7c7c" xml:space="preserve"> on a Claude plan it stands for quota · answer quality not measured</text>
124
+ <rect x="24.0" y="742" width="140.4" height="18" rx="4" fill="#2e3340"/>
125
+ <text x="24.0" y="756" fill="#7c7c7c" xml:space="preserve">[ Delete history ]</text>
126
+ <rect x="24.0" y="761" width="70.2" height="18" rx="4" fill="#2e3340"/>
127
+ <text x="24.0" y="775" fill="#d0d0d0" xml:space="preserve">[ Close ]</text>
133
128
  </svg>