<?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: Daniel Huxham</title>
    <description>The latest articles on DEV Community by Daniel Huxham (@danhuxham).</description>
    <link>https://dev.to/danhuxham</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%2F4032117%2F54ede45d-487b-4a7d-a4b1-cc98195589b5.png</url>
      <title>DEV Community: Daniel Huxham</title>
      <link>https://dev.to/danhuxham</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/danhuxham"/>
    <language>en</language>
    <item>
      <title>AI token efficiency, and why it matters</title>
      <dc:creator>Daniel Huxham</dc:creator>
      <pubDate>Thu, 16 Jul 2026 16:59:12 +0000</pubDate>
      <link>https://dev.to/danhuxham/ai-token-efficiency-and-why-it-matters-g58</link>
      <guid>https://dev.to/danhuxham/ai-token-efficiency-and-why-it-matters-g58</guid>
      <description>&lt;h2&gt;
  
  
  Efficiency effects cost
&lt;/h2&gt;

&lt;p&gt;Cost per token gets talked about a lot when evaluating AI coding models — but that doesn't really tell us the full story.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A cheaper model that uses significantly more tokens to complete a task can still work out more expensive overall.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;When we factor in that model performance varies significantly at different thinking levels, the situation gets even more complicated to understand.&lt;/p&gt;

&lt;p&gt;To understand cost properly we have to consider the models token efficiency.&lt;/p&gt;

&lt;p&gt;This is where benchmarks like DeepSWE v1.1 really shine.&lt;/p&gt;




&lt;h2&gt;
  
  
  What is DeepSWE
&lt;/h2&gt;

&lt;p&gt;DeepSWE is a well-regarded third-party benchmark that measures AI coding agents on real, long-horizon software engineering tasks.&lt;/p&gt;

&lt;p&gt;Crucially it reports performance alongside average cost per task.&lt;/p&gt;

&lt;p&gt;The chart plots models on two axes — '&lt;em&gt;pass rate&lt;/em&gt;' vs '&lt;em&gt;average cost&lt;/em&gt;'.&lt;/p&gt;

&lt;p&gt;The ideal zone is the top-right corner — the closer a model gets, the more performant and cost-efficient it is.&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkpmzyu9s78l17g2ajhsd.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkpmzyu9s78l17g2ajhsd.png" alt="Chart depicting AI model benchmarks broken out by thinking level" width="800" height="577"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Note — Some models have been omitted in the above screenshot for chart readability.&lt;/p&gt;




&lt;h2&gt;
  
  
  Surprising results!
&lt;/h2&gt;

&lt;p&gt;At the &lt;strong&gt;High&lt;/strong&gt; thinking level (which many developers use day-to-day), Opus 4.8 wins against Sonnet 5 on both axes simultaneously.&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffinfr3rl7n2xmmmplbxy.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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffinfr3rl7n2xmmmplbxy.png" alt="Chart depicting AI model benchmarks of Opus 4.8 vs Sonnet 5" width="799" height="577"&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;Model&lt;/th&gt;
&lt;th&gt;Pass Rate&lt;/th&gt;
&lt;th&gt;Avg Cost/Task&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;claude-opus-4.8 [high]&lt;/td&gt;
&lt;td&gt;52%&lt;/td&gt;
&lt;td&gt;$4.28&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;claude-sonnet-5 [high]&lt;/td&gt;
&lt;td&gt;48%&lt;/td&gt;
&lt;td&gt;$7.43&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;This makes Opus 4.8 more performant &lt;em&gt;AND&lt;/em&gt; cheaper when With efficiency considered. That's not what most people would expect.&lt;/p&gt;

&lt;p&gt;Additionally, Sonnet 5 at the &lt;strong&gt;Max&lt;/strong&gt; thinking level works out far more expensive than Opus 4.8 at any thinking level. Also unexpected.&lt;/p&gt;




&lt;h2&gt;
  
  
  A caveat worth noting
&lt;/h2&gt;

&lt;p&gt;Not all benchmarks are independent, and results won't perfectly mirror every real-world use case. But the underlying point stands: models vary wildly in token efficiency, and that has very real effects on cost — even at small scales.&lt;/p&gt;




&lt;h2&gt;
  
  
  The takeaway
&lt;/h2&gt;

&lt;p&gt;These charts give you a sharper lens to make more informed decisions.&lt;/p&gt;

&lt;p&gt;For full and up-to-date results see the DeepSWE website.&lt;/p&gt;

&lt;p&gt;👉 deepswe.datacurve.ai/blog/deepswe-v1-1&lt;/p&gt;

</description>
      <category>ai</category>
    </item>
  </channel>
</rss>
