<?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: sunny</title>
    <description>The latest articles on DEV Community by sunny (@z_jc_37f8254a1cb25bff22ed).</description>
    <link>https://dev.to/z_jc_37f8254a1cb25bff22ed</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%2F4185272%2Fcfef467d-4037-4cf5-9ba6-dfa9dcb976fb.png</url>
      <title>DEV Community: sunny</title>
      <link>https://dev.to/z_jc_37f8254a1cb25bff22ed</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/z_jc_37f8254a1cb25bff22ed"/>
    <language>en</language>
    <item>
      <title>Same Model, Different Agents: Comparing Token Usage, Cost, and Task Success</title>
      <dc:creator>sunny</dc:creator>
      <pubDate>Wed, 14 Oct 2026 18:16:29 +0000</pubDate>
      <link>https://dev.to/z_jc_37f8254a1cb25bff22ed/same-model-different-agents-comparing-token-usage-cost-and-task-success-h67</link>
      <guid>https://dev.to/z_jc_37f8254a1cb25bff22ed/same-model-different-agents-comparing-token-usage-cost-and-task-success-h67</guid>
      <description>&lt;p&gt;Does using the same model mean similar token usage across coding agents?&lt;/p&gt;

&lt;p&gt;We compared Codex, SunnyCode Base and SunnyCode CodeMode on eight tasks from p-queue, Click and markdown-it. All used GPT-6 Astra with medium reasoning and Fast off. Each configuration ran each task three times, with shared primary acceptance checks and failed runs retained.&lt;/p&gt;

&lt;p&gt;I develop SunnyCode, so this is a developer-run comparison, not an independent benchmark.&lt;/p&gt;

&lt;h2&gt;
  
  
  Results
&lt;/h2&gt;

&lt;p&gt;Means across 24 runs per configuration, including failures:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Configuration&lt;/th&gt;
&lt;th&gt;Tokens&lt;/th&gt;
&lt;th&gt;Estimated cost/run&lt;/th&gt;
&lt;th&gt;Checks passed&lt;/th&gt;
&lt;th&gt;Time&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Codex&lt;/td&gt;
&lt;td&gt;725,185&lt;/td&gt;
&lt;td&gt;$1.440&lt;/td&gt;
&lt;td&gt;21/24&lt;/td&gt;
&lt;td&gt;222.6 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SunnyCode Base&lt;/td&gt;
&lt;td&gt;281,080&lt;/td&gt;
&lt;td&gt;$0.785&lt;/td&gt;
&lt;td&gt;23/24&lt;/td&gt;
&lt;td&gt;297.1 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SunnyCode CodeMode&lt;/td&gt;
&lt;td&gt;165,566&lt;/td&gt;
&lt;td&gt;$0.669&lt;/td&gt;
&lt;td&gt;23/24&lt;/td&gt;
&lt;td&gt;232.2 s&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  The biggest gap was cached input
&lt;/h2&gt;

&lt;p&gt;Cached input accounted for 96.5% of Codex’s additional recorded tokens relative to CodeMode. These totals include context processed across requests—not just generated code.&lt;/p&gt;

&lt;p&gt;Because cached input is discounted, CodeMode’s 77.2% reduction in tokens translated to a smaller 53.5% reduction in estimated cost.&lt;/p&gt;

&lt;p&gt;Codex still had the fastest overall mean completion time. Fewer tokens did not automatically mean faster execution.&lt;/p&gt;

&lt;p&gt;Costs are API-equivalent estimates, not subscription bills, using frozen rates of $10/M uncached input, $1/M cached input and $50/M output.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this does—and doesn’t—show
&lt;/h2&gt;

&lt;p&gt;Agent configuration is worth measuring alongside model choice. Separate cached input, uncached input and output, and compare acceptance and time alongside cost.&lt;/p&gt;

&lt;p&gt;But this is eight tasks, not a general ranking. System prompts differed, Base runs were collected later, and provider/cache conditions were not randomized. Supplemental checks also found defects beyond the primary acceptance results.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.sunnycode.pro/blog/reducing-ai-coding-token-usage/" rel="noopener noreferrer"&gt;Methodology, per-run results and source data&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>productivity</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
