<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Samiha Elmansouri</title>
    <description>The latest articles on DEV Community by Samiha Elmansouri (@samiha_elmansouri_248ff3a).</description>
    <link>https://dev.to/samiha_elmansouri_248ff3a</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4215331%2Fff217fcf-b911-4fe8-9f36-dd8dff03ab09.png</url>
      <title>DEV Community: Samiha Elmansouri</title>
      <link>https://dev.to/samiha_elmansouri_248ff3a</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/samiha_elmansouri_248ff3a"/>
    <language>en</language>
    <item>
      <title>Amazon Didn't Buy a Cheaper Model. It Bought a Decider.</title>
      <dc:creator>Samiha Elmansouri</dc:creator>
      <pubDate>Wed, 11 Nov 2026 22:41:01 +0000</pubDate>
      <link>https://dev.to/samiha_elmansouri_248ff3a/amazon-didnt-buy-a-cheaper-model-it-bought-a-decider-131</link>
      <guid>https://dev.to/samiha_elmansouri_248ff3a/amazon-didnt-buy-a-cheaper-model-it-bought-a-decider-131</guid>
      <description>&lt;p&gt;Last week I &lt;a href="https://dev.to/samiha_elmansouri_248ff3a/the-price-spread-is-now-80x-is-your-agents-model-choice-still-a-default-f8"&gt;argued that the price spread between models&lt;/a&gt; is an 80x gradient you route on, and that the saving is only real where your validator is deterministic.&lt;/p&gt;

&lt;p&gt;Amazon just ran that experiment at a scale nobody else can. The result is stranger than "they used a cheaper model."&lt;/p&gt;

&lt;p&gt;They replaced Claude Sonnet 4.6 with a 2-billion-parameter model on one of the largest internal ticketing systems in the world (20 categories, high volume, production traffic) and reported the same quality at 98% less cost. Cost per ticket went from $0.0222 to roughly $0.0005. Per million tickets, about $22,200 to about $500.&lt;/p&gt;

&lt;p&gt;The obvious headline is "small model beats frontier model on cost". That is the wrong lesson.&lt;/p&gt;

&lt;p&gt;They did not buy cheaper tokens. They deleted the generation step. The output went from 170 tokens to one.&lt;/p&gt;

&lt;h2&gt;
  
  
  What actually changed
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fx0.at%2FzCbY.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fx0.at%2FzCbY.png" alt="Before and after: output tokens per ticket fall from 170 to 1, total tokens from 6,724 to 2,010, latency from 4,215 ms to 897 ms" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Metric&lt;/th&gt;
&lt;th&gt;Sonnet 4.6&lt;/th&gt;
&lt;th&gt;Decider E4B&lt;/th&gt;
&lt;th&gt;Change&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Average time per call&lt;/td&gt;
&lt;td&gt;4,215 ms&lt;/td&gt;
&lt;td&gt;897 ms&lt;/td&gt;
&lt;td&gt;-78%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Input tokens per ticket&lt;/td&gt;
&lt;td&gt;6,554&lt;/td&gt;
&lt;td&gt;2,009&lt;/td&gt;
&lt;td&gt;-69%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Output tokens per ticket&lt;/td&gt;
&lt;td&gt;170&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;1&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;-99%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Total tokens per ticket&lt;/td&gt;
&lt;td&gt;6,724&lt;/td&gt;
&lt;td&gt;2,010&lt;/td&gt;
&lt;td&gt;-70%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cost per ticket&lt;/td&gt;
&lt;td&gt;$0.0222&lt;/td&gt;
&lt;td&gt;~$0.0005&lt;/td&gt;
&lt;td&gt;-98%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cost per million tickets&lt;/td&gt;
&lt;td&gt;~$22,200&lt;/td&gt;
&lt;td&gt;~$500&lt;/td&gt;
&lt;td&gt;~44x&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Read the output row again. Sonnet produced 170 tokens per ticket: a JSON label plus a sentence of reasoning. The decider produces one token, the index of a chosen option.&lt;/p&gt;

&lt;p&gt;Everything else follows. Input tokens fell 69% because the prompt no longer had to explain &lt;em&gt;how&lt;/em&gt; to decide, only what the options were. Latency fell 78% because a 2B model scored twenty candidates instead of writing a paragraph. Cost fell 98% because nobody was paying output prices for text nobody read.&lt;/p&gt;

&lt;p&gt;Do the arithmetic on the old setup. 170 output tokens at $15 per million is $0.00255. The input at 6,554 tokens and $3 is $0.0197. So the reasoning text was never the point. It was a side effect of how the model was asked to answer. Change the answer format, and the bill changes with it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why a 2B model can win a job a frontier model was doing
&lt;/h2&gt;

&lt;p&gt;It is not doing the same job.&lt;/p&gt;

&lt;p&gt;A decider takes three inputs: state, question, and a list of options. It returns a probability for each one, plus a confidence score. There is no free text anywhere in the output. In the 2B build described by the team: a Qwen3.5 torso with the language-model head removed and replaced by a roughly 1M-parameter pointer head, rank-16 LoRA, and a 4,096-token window.&lt;/p&gt;

&lt;p&gt;Remove the ability to write sentences and you remove the ability to write a plausible sentence that is wrong. What is left is a scoring problem, and a 2B model can be very good at a scoring problem when the options are closed.&lt;/p&gt;

&lt;p&gt;One more thing that rarely gets mentioned: you get a confidence number back. A generative model gives you a label and you hope. A decider gives you a label and &lt;code&gt;0.83&lt;/code&gt;, which you can threshold. The team tuned a confidence threshold before applying a label, so uncertain tickets go somewhere else instead of being silently mislabeled.&lt;/p&gt;

&lt;p&gt;Most LLM pipelines don't have that. They have "the model said so".&lt;/p&gt;

&lt;h2&gt;
  
  
  The economics changed shape
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Sonnet 4.6 (Bedrock)&lt;/th&gt;
&lt;th&gt;Decider E4B (SageMaker)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Billing unit&lt;/td&gt;
&lt;td&gt;per token&lt;/td&gt;
&lt;td&gt;per instance-hour&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Price&lt;/td&gt;
&lt;td&gt;$3.00 in / $15.00 out per 1M&lt;/td&gt;
&lt;td&gt;$1.408 per &lt;code&gt;ml.g5.xlarge&lt;/code&gt; hour&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Capacity&lt;/td&gt;
&lt;td&gt;elastic&lt;/td&gt;
&lt;td&gt;~5,600 tickets/hour/instance&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cost of call #5,601&lt;/td&gt;
&lt;td&gt;$0.0222&lt;/td&gt;
&lt;td&gt;a second instance&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cheapest at low volume&lt;/td&gt;
&lt;td&gt;yes&lt;/td&gt;
&lt;td&gt;no&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cheapest at high volume&lt;/td&gt;
&lt;td&gt;no&lt;/td&gt;
&lt;td&gt;yes&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The rule to remember: with token billing, your cost scales with traffic. With instance billing, it scales with variance.&lt;/p&gt;

&lt;p&gt;Sonnet at $0.0222 per ticket means ten tickets an hour costs you 22 cents an hour. A g5.xlarge costs $1.408 an hour whether it processes ten tickets or five thousand six hundred. So there is a floor, and nobody published it:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Break-even = $1.408 / $0.0222 = 63 tickets per hour.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Below roughly 63 tickets per hour, one always-on instance costs more than just calling Sonnet. That is under 1.1% of the instance's capacity, so it is irrelevant at Amazon's volume. It is not irrelevant for a pilot, an internal tool, or a product that hasn't found traffic yet.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fx0.at%2F8Xp4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fx0.at%2F8Xp4.png" alt="Cost per hour against ticket rate: flat $1.408 for one instance, a rising line for Sonnet, crossing at 63 tickets per hour" width="800" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The second half of the shape is utilization. One instance saturates at about 5,600 tickets per hour, so at full utilization the cost is $1.408 / 5,600, roughly &lt;strong&gt;$251 per million tickets&lt;/strong&gt;. Amazon reports about &lt;strong&gt;$500 per million&lt;/strong&gt; on real traffic.&lt;/p&gt;

&lt;p&gt;That 2x gap is not waste. It is the price of burstiness. Traffic arrives in spikes, and you provision for the spike, not for the average. So the honest way to evaluate this migration is never "cost per ticket". It is cost per ticket at your p95 rate, and that number only exists in your own logs.&lt;/p&gt;

&lt;p&gt;I am keeping my arithmetic visibly separate from theirs for a reason. The 63.4 and the $251 are mine, derived from their published inputs. The 98% is theirs.&lt;/p&gt;

&lt;h2&gt;
  
  
  The three-way switch
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fx0.at%2FxLRl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fx0.at%2FxLRl.png" alt="Three modes - BEDROCK, DUAL, DECIDER - selected by one config value, with a 45-second rollback path" width="800" height="347"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is the most reusable thing in the whole write-up. It is four lines of config.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;labeling_mode&lt;/code&gt; lives in AppConfig and has three values:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;BEDROCK&lt;/code&gt;&lt;/strong&gt;: Sonnet labels everything. The decider is deployed but never called.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;DUAL&lt;/code&gt;&lt;/strong&gt;: both run in parallel on live traffic. Sonnet's result ships; the decider's choice and confidence are logged beside it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;DECIDER&lt;/code&gt;&lt;/strong&gt;: the decider labels everything. Bedrock is not called.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Rollback is a 45-second config change. That is the entire risk model.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# labeling.py — the migration is one config read and one diff&lt;/span&gt;
&lt;span class="no"&gt;MODE&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;config&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"labeling_mode"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;# "BEDROCK" | "DUAL" | "DECIDER"&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;label&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ticket&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;options&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;incumbent&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;lambda&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;sonnet_label&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ticket&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;options&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;challenger&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;lambda&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;decider&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;choose&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="n"&gt;state&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;ticket&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;question&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="no"&gt;QUESTION&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;options&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nf"&gt;sort_keys&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;options&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;   &lt;span class="c1"&gt;# key order moves probabilities&lt;/span&gt;
    &lt;span class="p"&gt;)&lt;/span&gt;

    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="no"&gt;MODE&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"BEDROCK"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;incumbent&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="no"&gt;MODE&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"DECIDER"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;challenger&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;choice&lt;/span&gt;

    &lt;span class="c1"&gt;# DUAL: ship the incumbent, log the challenger, judge the gap later&lt;/span&gt;
    &lt;span class="n"&gt;shipped&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;incumbent&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;candidate&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;challenger&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="nf"&gt;log_disagreement&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ticket&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;shipped&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;candidate&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;choice&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;candidate&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;confidence&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;shipped&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;DUAL&lt;/code&gt; is the actual contribution. Every disagreement is a labelled example you didn't pay an annotator for, drawn from the traffic that matters. The team's own phrasing is that it "told us more than any offline eval would have". You are not testing whether the small model is good in general. You are testing whether it is good on your queue, this week.&lt;/p&gt;

&lt;p&gt;A clean switch plus a week of dual-run beats any benchmark you could build in a quarter.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two traps worth stealing
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. The 4,096-token window rewrote the spec.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Twenty category descriptions, written for a frontier model, did not fit. They were rewritten as one-or-two-sentence criteria, plus an explicit "none" option.&lt;/p&gt;

&lt;p&gt;That looks like a constraint and behaves like a gift. A lot of "the model got it wrong" complaints are really someone else's model being asked to infer a boundary the label never defined. Compressing a label into a sentence forces you to say what it means. My suspicion is that part of the reported quality gain came from the rewrite rather than the architecture. I cannot verify that, which is why it stays a suspicion.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. JSON key order moved the probabilities by up to 0.19.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Same content, same options, different key order in the serialized object, and the returned probabilities shifted by as much as 0.19. They sort keys now.&lt;/p&gt;

&lt;p&gt;If you A/B two prompts, two versions, or two vendors and the input serialization differs by so much as a field order, you are partly measuring the serializer. Before comparing two decision outputs, normalize: sorted keys, fixed whitespace, stable option ordering, canonical casing. Determinism is not a property of the model. It is a property of the entire call.&lt;/p&gt;

&lt;h2&gt;
  
  
  When this does not work
&lt;/h2&gt;

&lt;p&gt;Their own list is refreshingly honest:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;labels need explanation text, not just a choice&lt;/li&gt;
&lt;li&gt;the catalog changes weekly&lt;/li&gt;
&lt;li&gt;the context will not fit in a few thousand tokens&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I would add two:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;low volume&lt;/strong&gt;: see the 63 tickets per hour&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;you need a rationale&lt;/strong&gt;: a probability is not an explanation. If a human reviewer, an auditor, or a regulator needs the &lt;em&gt;why&lt;/em&gt;, a decider gives you a number and nothing to quote&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That is the general shape. A decision model does not replace your LLM, it partitions your calls. Closed-set choice from a known catalog, high volume, latency-sensitive, no rationale required. That is a decider. Everything else stays on a generative model.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Monday test
&lt;/h2&gt;

&lt;p&gt;Do not start with the model. Start with the count.&lt;/p&gt;

&lt;p&gt;Sample 200 calls from last week's logs and ask one question per call. Does the prompt end with "choose one of:"?&lt;/p&gt;

&lt;p&gt;If that is true for a third of your traffic, you have a classification problem you are paying generation prices for. Run the open 2B decider against those logged calls, offline, and count agreements. One afternoon, no production risk, and it produces the only number that matters: how much of your bill is a decision wearing a costume.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this post is not
&lt;/h2&gt;

&lt;p&gt;I did not run this model and I have no access to Amazon's ticket queue. Every figure attributed to Amazon comes from their engineering write-up of 9 November 2026. The 63 tickets per hour and the $251 per million are my arithmetic on their published inputs.&lt;/p&gt;

&lt;p&gt;It is also a vendor post about a vendor product used inside the vendor. There is no independent accuracy percentage in it. "Just as well" is not a benchmark. Treat the cost claim as solid, because it is arithmetic. Treat the quality claim as a claim.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Amazon engineering write-up, 9 Nov 2026: &lt;a href="https://strandsagents.com/blog/amazon-saves-millions-replacing-sonnet-with-strands-decider/" rel="noopener noreferrer"&gt;Amazon saves millions by replacing Sonnet 4.6 with Strands Decider&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Model architecture and benchmarks: &lt;a href="https://strandsagents.com/blog/introducing-strands-decider/" rel="noopener noreferrer"&gt;Introducing Strands Decider 2B&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Instance pricing used above: AWS SageMaker &lt;code&gt;ml.g5.xlarge&lt;/code&gt;, us-east-1 on-demand, $1.408/hour. Verify before you quote it.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Your turn
&lt;/h2&gt;

&lt;p&gt;The question I want answered is not which model you use.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What share of your LLM calls are actually decisions, meaning a closed choice from a list you control?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you don't have the number, sample 100 calls and count. That percentage is your ceiling on this entire line of savings, and it decides whether the 98% is available to you or merely interesting.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>discuss</category>
      <category>architecture</category>
      <category>business</category>
    </item>
    <item>
      <title>The Price Spread Is Now 80x. Is Your Agent's Model Choice Still a Default?</title>
      <dc:creator>Samiha Elmansouri</dc:creator>
      <pubDate>Wed, 11 Nov 2026 00:35:50 +0000</pubDate>
      <link>https://dev.to/samiha_elmansouri_248ff3a/the-price-spread-is-now-80x-is-your-agents-model-choice-still-a-default-f8</link>
      <guid>https://dev.to/samiha_elmansouri_248ff3a/the-price-spread-is-now-80x-is-your-agents-model-choice-still-a-default-f8</guid>
      <description>&lt;p&gt;Last week the floor of the model market moved. The ceiling did not.&lt;/p&gt;

&lt;p&gt;On 9 November, Anthropic shipped Claude Fable 5.2 at &lt;strong&gt;$8.00&lt;/strong&gt; per million input tokens. The same day, Meta shipped Muse Ember at &lt;strong&gt;$0.10&lt;/strong&gt;. That is an 80× spread between two models that will both read your file, call your tool, and return JSON.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Bottom line:&lt;/strong&gt; an 80× price spread is not a discount you take. It is a gradient you route on — and the only thing stopping most teams is a single line of config nobody has revisited.&lt;/p&gt;

&lt;h2&gt;
  
  
  The spread, in one table
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fx0.at%2FhV8O.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fx0.at%2FhV8O.png" alt="USD per 1M input tokens — an 80× spread between Claude Fable 5.2 at $8.00 and Muse Ember at $0.10" width="800" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;List prices, verified 11 November 2026.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Input /MTok&lt;/th&gt;
&lt;th&gt;Output /MTok&lt;/th&gt;
&lt;th&gt;Cache read&lt;/th&gt;
&lt;th&gt;Long-context behaviour&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Claude Fable 5.2&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$8.00&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;$40.00&lt;/td&gt;
&lt;td&gt;$0.20 (2.5%)&lt;/td&gt;
&lt;td&gt;1M, flat pricing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude Opus 5.5&lt;/td&gt;
&lt;td&gt;$4.00&lt;/td&gt;
&lt;td&gt;$20.00&lt;/td&gt;
&lt;td&gt;$0.20 (5%)&lt;/td&gt;
&lt;td&gt;1M, flat pricing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude Sonnet 5.5&lt;/td&gt;
&lt;td&gt;$2.00&lt;/td&gt;
&lt;td&gt;$10.00&lt;/td&gt;
&lt;td&gt;$0.10 (5%)&lt;/td&gt;
&lt;td&gt;1M, flat pricing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude Haiku 5.5&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$0.10&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;$0.50&lt;/td&gt;
&lt;td&gt;$0.01 (10%)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;5× above a 100k prompt&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Meta Muse Ember&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$0.10&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;$0.50&lt;/td&gt;
&lt;td&gt;$0.004 (4%)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;3× above a 200k prompt&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;OpenAI GPT-6 Luna&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$0.10&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;$0.50&lt;/td&gt;
&lt;td&gt;$0.01 (10%)&lt;/td&gt;
&lt;td&gt;2× above a 272k prompt&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Sources: Anthropic's pricing page, Meta's Model API pricing, and an independent pricing table for Luna. Prices change weekly. Re-check before you paste them into a budget.&lt;/p&gt;

&lt;h2&gt;
  
  
  "But the 80× is not a fair comparison"
&lt;/h2&gt;

&lt;p&gt;Correct. It isn't. Fable 5.2 is built for long-horizon work; Ember is built for the busywork &lt;em&gt;inside&lt;/em&gt; an agent: reading files, running tests, making small fixes, parsing documents. Comparing them per token is like comparing a taxi to a bus per seat.&lt;/p&gt;

&lt;p&gt;That is exactly the point. A router exists to exploit an unfair comparison. The question is not "which model is better" — it is "which task deserves which tier", and almost nobody is answering it per task. They are answering it once, at project setup, with a &lt;code&gt;const&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  So what does the spread cost?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fx0.at%2FlEtW.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fx0.at%2FlEtW.png" alt="Cost of one 200-step agent session: $16.00 on Fable 5.2, $0.20 on Muse Ember" width="800" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Take one agent session: 200 tool calls, ~8,000 input tokens each (1.6M in), 400 output tokens each (80k out).&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tier&lt;/th&gt;
&lt;th&gt;Cost per session&lt;/th&gt;
&lt;th&gt;Cost per 1,000 sessions&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Fable 5.2&lt;/td&gt;
&lt;td&gt;$16.00&lt;/td&gt;
&lt;td&gt;$16,000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Opus 5.5&lt;/td&gt;
&lt;td&gt;$8.00&lt;/td&gt;
&lt;td&gt;$8,000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sonnet 5.5&lt;/td&gt;
&lt;td&gt;$4.00&lt;/td&gt;
&lt;td&gt;$4,000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Haiku 5.5 / Ember / Luna&lt;/td&gt;
&lt;td&gt;$0.20&lt;/td&gt;
&lt;td&gt;$200&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Same work. Two orders of magnitude between the top row and the bottom row.&lt;/p&gt;

&lt;p&gt;Now the honest part: &lt;strong&gt;those two rows are not doing the same job.&lt;/strong&gt; The top row is buying a higher ceiling on what you can hand over &lt;em&gt;without checking&lt;/em&gt;. The bottom row is buying volume. If you buy the top row for the 80% of steps that only need volume, you are paying 80× for confidence you already have.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 80× is the least interesting number here
&lt;/h2&gt;

&lt;p&gt;Three details matter more, and they are the ones that actually break budgets.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Caching does not close the gap
&lt;/h3&gt;

&lt;p&gt;Everyone's first instinct: cache the prompt, the discount will fix it. It won't. At a 90% cache-hit rate, the effective input price is:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Effective input /MTok at 90% hits&lt;/th&gt;
&lt;th&gt;Discount vs list&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Fable 5.2&lt;/td&gt;
&lt;td&gt;$0.98&lt;/td&gt;
&lt;td&gt;8.2×&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Opus 5.5&lt;/td&gt;
&lt;td&gt;$0.58&lt;/td&gt;
&lt;td&gt;6.9×&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sonnet 5.5&lt;/td&gt;
&lt;td&gt;$0.29&lt;/td&gt;
&lt;td&gt;6.9×&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Haiku 5.5&lt;/td&gt;
&lt;td&gt;$0.019&lt;/td&gt;
&lt;td&gt;5.3×&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Muse Ember&lt;/td&gt;
&lt;td&gt;$0.014&lt;/td&gt;
&lt;td&gt;7.4×&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Caching is a 5–8× cut for everyone, roughly equally. It changes your invoice. It does not change your ranking.&lt;/p&gt;

&lt;p&gt;One genuinely under-reported detail though: Anthropic made Fable 5.2 cache reads &lt;strong&gt;2.5%&lt;/strong&gt; of list price, while Opus 5.5 sits at 5%. So on a cache-heavy loop the 2× gap between them narrows to about 1.7×. The frontier model is deliberately better at being &lt;em&gt;repeated&lt;/em&gt; than the mid tier is. Read that as a signal about who they built it for.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. The one-token cliff
&lt;/h3&gt;

&lt;p&gt;This is the trap that costs real money.&lt;/p&gt;

&lt;p&gt;Haiku 5.5 is $0.10 per million input tokens — up to a 100,000-token prompt. Above that, the whole request reprices at $0.50 in and $2.50 out. Muse Ember is $0.10 up to 200,000 tokens, then the entire request bills at $0.30 in and $1.50 out.&lt;/p&gt;

&lt;p&gt;Watch the arithmetic. A request with 200,000 input and 10,000 output tokens on Ember costs &lt;strong&gt;2.5 cents&lt;/strong&gt;. Add &lt;strong&gt;one&lt;/strong&gt; input token and the whole request bills at the long-context rate: &lt;strong&gt;7.5 cents&lt;/strong&gt;. A 3× jump for one token.&lt;/p&gt;

&lt;p&gt;Which means your router cannot classify on task type alone. It has to classify on &lt;code&gt;task_type × prompt_size&lt;/code&gt;. A model that is 80× cheaper at 40k tokens is only 27× cheaper at 210k, and if you are not measuring prompt size per call, you will find out from the invoice.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. The model is only half of the price
&lt;/h3&gt;

&lt;p&gt;The same model costs different amounts depending on how you call it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Batch API:&lt;/strong&gt; −50% on input and output.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fast mode:&lt;/strong&gt; +100% (Fable 5.2 goes $8 → $16, Opus 5.5 goes $4 → $8).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;US-only inference:&lt;/strong&gt; +10% on everything for Claude 4.6 and later.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So "which model" is at best a 4× decision. "Which model, at which speed, in which mode, on which prompt size" is the 80× one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three decisions, not one
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fx0.at%2F9jMw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fx0.at%2F9jMw.png" alt="Classifier → Tier 1 → Validator → ship, with a dashed escalation path back to the next tier" width="799" height="373"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A router is smaller than it sounds. Three decisions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Classify&lt;/strong&gt; — cheap, deterministic rules. If the task is a rename, an extraction, a format, a summarisation or a lookup, it goes to Tier 1. No model needed for the classifier itself.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Validate&lt;/strong&gt; — a deterministic check: tests, a JSON schema, a type check, a lint rule, a diff-size limit.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Escalate&lt;/strong&gt; — exactly one tier on failure, and log the event.
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// costs.ts — the file most agent repos are missing&lt;/span&gt;

&lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="nc"&gt;Tier&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"cheap"&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="s2"&gt;"standard"&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="s2"&gt;"frontier"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;// USD per 1M tokens, verified 11 Nov 2026. Re-check monthly.&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="no"&gt;PRICES&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Record&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Tier&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;number&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;out&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;number&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;maxPrompt&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;number&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;cliff&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;number&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;cheap&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;    &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;out&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.50&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;maxPrompt&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;200_000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;   &lt;span class="n"&gt;cliff&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;// muse-ember-1.0&lt;/span&gt;
  &lt;span class="n"&gt;standard&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;4.00&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;out&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;20.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;maxPrompt&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1_000_000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;cliff&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;// claude-opus-5-5&lt;/span&gt;
  &lt;span class="n"&gt;frontier&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;8.00&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;out&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;40.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;maxPrompt&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1_000_000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;cliff&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;// claude-fable-5-2&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;costOf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;tier&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Tier&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;inTok&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;number&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;outTok&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;number&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;number&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="no"&gt;PRICES&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;tier&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="c1"&gt;// the cliff reprices the whole request, not just the excess&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;k&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;inTok&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;maxPrompt&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;cliff&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;inTok&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mf"&gt;1e6&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;outTok&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mf"&gt;1e6&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;out&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;k&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;classify&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;task&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;files&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;number&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;needsJudgement&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;boolean&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Tier&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;task&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;needsJudgement&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="n"&gt;task&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;files&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s2"&gt;"standard"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;mechanical&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"rename"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"format"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"extract"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"summarise"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"lookup"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;mechanical&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;includes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;task&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="s2"&gt;"cheap"&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"standard"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="no"&gt;NEXT&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Record&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Tier&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;Tier&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;cheap&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"standard"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;standard&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"frontier"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;frontier&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"frontier"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;run&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="no"&gt;T&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="n"&gt;task&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;files&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;number&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;needsJudgement&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;boolean&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;tokens&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;number&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;attempt&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;tier&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Tier&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;Promise&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="no"&gt;T&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;validate&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;out&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;T&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="kt"&gt;boolean&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;log&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;tier&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Tier&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;ok&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;boolean&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;usd&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;number&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;escalated&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;boolean&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="k"&gt;void&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;tier&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;classify&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;task&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;escalated&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="o"&gt;++&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;out&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;attempt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;tier&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;ok&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;validate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;out&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="n"&gt;tier&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="n"&gt;ok&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="n"&gt;usd&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;costOf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;tier&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;task&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tokens&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;round&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;task&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tokens&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mf"&gt;0.05&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="n"&gt;escalated&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ok&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;out&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;tier&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;tier&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="s2"&gt;"frontier"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;break&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="n"&gt;tier&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="no"&gt;NEXT&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;tier&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="n"&gt;escalated&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;

  &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"failed at every tier: this is a task problem, not a model problem"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Look at what is &lt;strong&gt;not&lt;/strong&gt; in there: no LLM judge. &lt;code&gt;validate&lt;/code&gt; has to be deterministic — tests, a schema, a type check, a lint rule. An LLM judging an LLM is how teams convince themselves an 80× saving is real when it is actually an 80× increase in unreviewed output.&lt;/p&gt;

&lt;h2&gt;
  
  
  The counter-argument, which is fair
&lt;/h2&gt;

&lt;p&gt;Routing costs you something real:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;two sets of prompts and two eval suites instead of one;&lt;/li&gt;
&lt;li&gt;the latency of an escalation round-trip on the tasks that fail;&lt;/li&gt;
&lt;li&gt;a new failure mode where the cheap tier returns something &lt;em&gt;plausible&lt;/em&gt; and your validator is too weak to catch it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those are legitimate. And they point at the actual thesis:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The 80× is only real where your validator is deterministic.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Where the check is "tests pass", "the schema validates", "the types compile", a cheap tier plus escalation is genuinely 80× cheaper per unit of work. Where the check is a human reading a diff and thinking &lt;em&gt;"is this right?"&lt;/em&gt; — that is the most expensive token in your system, and moving the generation to a cheaper model just moves the cost to the person who has to trust it.&lt;/p&gt;

&lt;p&gt;So route on task class, not on ambition. The mechanical 80% is where the money is.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 30-minute audit
&lt;/h2&gt;

&lt;p&gt;Do this before you refactor anything:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Count your model IDs.&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   grep -rn &lt;span class="s2"&gt;"claude-\|gpt-6\|gemini-"&lt;/span&gt; --include=*.ts --include=*.py src/ &lt;span class="o"&gt;|&lt;/span&gt; wc -l
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every hit is a decision someone made once and nobody revisited.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Log cost per task.&lt;/strong&gt; One line: tier, input tokens, output tokens, USD, duration. If you cannot print cost per task, you cannot route.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Measure the escalation rate.&lt;/strong&gt; Take 100 real tasks, run them on Tier 1, validate deterministically, count the failures. That number is your architecture.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Move only what passes.&lt;/strong&gt; Escalation rate under ~20%: route it. Above that: either your classifier is wrong or your validator is weak. Neither is solved by a cheaper model.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What this post is not
&lt;/h2&gt;

&lt;p&gt;I did not run a single API call for this piece. Every number here is a published list price, and the arithmetic is reproducible on the back of an envelope:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cost = (tokens_in / 1e6) × price_in + (tokens_out / 1e6) × price_out
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Vendor benchmarks — including Anthropic's own claim that Fable 5.2 at High effort lands near Opus 5.5 at Max for about half the cost per task — are vendor claims. Your repo is the only benchmark that matters.&lt;/p&gt;

&lt;h2&gt;
  
  
  Your turn
&lt;/h2&gt;

&lt;p&gt;Here is the question I actually want answered, and it is not "which model do you use":&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is your escalation rate?&lt;/strong&gt; Not the model pinned in your config — the share of tasks that failed the cheap tier and had to move up.&lt;/p&gt;

&lt;p&gt;If you don't know the number, that is not a gap in this post. That is the post.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>discuss</category>
      <category>architecture</category>
      <category>business</category>
    </item>
  </channel>
</rss>
