<?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: boluo</title>
    <description>The latest articles on DEV Community by boluo (@buluo).</description>
    <link>https://dev.to/buluo</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%2F4138987%2F11d42b82-4828-41a1-81f4-f7d86612f3a4.png</url>
      <title>DEV Community: boluo</title>
      <link>https://dev.to/buluo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/buluo"/>
    <language>en</language>
    <item>
      <title>How to Keep Multi-Agent Delegation Cheap with Codex and DeepSeek</title>
      <dc:creator>boluo</dc:creator>
      <pubDate>Fri, 04 Dec 2026 09:04:57 +0000</pubDate>
      <link>https://dev.to/buluo/how-to-keep-multi-agent-delegation-cheap-with-codex-and-deepseek-5c2h</link>
      <guid>https://dev.to/buluo/how-to-keep-multi-agent-delegation-cheap-with-codex-and-deepseek-5c2h</guid>
      <description>&lt;p&gt;&lt;em&gt;A note on how this was written: I drafted this from my own test logs and the runs are reproducible. The prose was edited with AI assistance, per dev.to's guidance on AI-assisted articles. The measurements and the failure modes are mine.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I ran Codex as a solo agent on a medium-sized request for a few weeks. Then I looked at the usage numbers and rebuilt the pipeline. This is what changed and what it cost.&lt;/p&gt;

&lt;h2&gt;
  
  
  The measurement that made me rebuild it
&lt;/h2&gt;

&lt;p&gt;One complete delegation, deduplicated, single node, single session:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Uncached input: 24 tokens&lt;/li&gt;
&lt;li&gt;Cache write: 225,504 tokens&lt;/li&gt;
&lt;li&gt;Cache read: 343,842 tokens&lt;/li&gt;
&lt;li&gt;Output: 5,837 tokens&lt;/li&gt;
&lt;li&gt;Cache hit rate: 60.39%&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Priced at DeepSeek's official V4-Flash rates, that is about ¥0.028 of input and ¥0.026 of output. &lt;strong&gt;Under six cents per delegation.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The ratio is the interesting part. 343,842 against 24. That is not a tuning artifact. It falls out of the architecture, and the architecture is the whole point.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the bill grows
&lt;/h2&gt;

&lt;p&gt;Codex's judgment is the expensive thing you are paying for. On a complex request, though, most of its time goes somewhere else.&lt;/p&gt;

&lt;p&gt;It reads a dozen files. It walks the call chain. It edits three or five modules. It runs the tests. A test fails, so it reads the logs, edits again, runs again, and finds another edge case. By the end the context is stuffed with code fragments and stack traces.&lt;/p&gt;

&lt;p&gt;None of that is easy work. All of it is work that consumes patience and context capacity rather than judgment. And once the context is full of it, every later decision gets worse, because the thread that should be holding the architecture is busy holding a stack trace.&lt;/p&gt;

&lt;p&gt;I did the arithmetic on a 60-million-token workload at official prices. The bill is large enough to make you stop and think. The slice of it that genuinely needed Codex to decide something was small.&lt;/p&gt;

&lt;h2&gt;
  
  
  Four layers, one job each
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Codex main thread.&lt;/strong&gt; Decomposes the request, creates sub-agents, reviews results, sends work back, owns delivery. Accountable for the outcome and nothing else.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Codex sub-agent.&lt;/strong&gt; A traceable node in the conversation tree, not a chat window. It carries a task file and calls the delegation script.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Claude Code CLI.&lt;/strong&gt; The execution layer. Reads files, edits code, runs verification, returns a structured report.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The backing model.&lt;/strong&gt; Whatever Claude Code points at. Point it at DeepSeek and it absorbs the repeated context.&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%2Fco7nb9lfl4k12z3rfu0u.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%2Fco7nb9lfl4k12z3rfu0u.png" alt="The six artifact types one delegation leaves behind" width="800" height="273"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The change is not that there is more AI in the loop. It is that the main thread stops swallowing noise. It receives conclusions instead of intermediate state.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you need installed
&lt;/h2&gt;

&lt;p&gt;Four things. The pipeline does not run without all four.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Codex.&lt;/strong&gt; The main thread.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude Code CLI.&lt;/strong&gt; The execution layer, callable from a terminal.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CC Switch.&lt;/strong&gt; Points Claude Code's backend at DeepSeek.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A target project.&lt;/strong&gt; Something with enough scale to be worth reading. A two-line change does not justify the setup.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Plugin version should be &lt;code&gt;1.0.10&lt;/code&gt;. The workflow root is &lt;code&gt;skills/codex-with-cc&lt;/code&gt; inside the install directory, not the plugin root. One level off and none of the scripts resolve.&lt;/p&gt;

&lt;h2&gt;
  
  
  Set up the API key
&lt;/h2&gt;

&lt;p&gt;The authentication method decides whether every later call works, so it gets its own section.&lt;/p&gt;

&lt;p&gt;Create the key in the console and store it in an environment variable. Do not put it in source. The &lt;a href="https://crazyrouter.com/en/integrations/codex?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=offsite_article&amp;amp;utm_content=cr_3f06f45f1372_mid_text" rel="noopener noreferrer"&gt;Codex integration guide&lt;/a&gt; covers the endpoint, the model identifier format, and how key permissions and quotas are scoped.&lt;/p&gt;

&lt;p&gt;Then confirm the key works before you build anything on top of it. Ask the execution layer one ordinary question, with three flags set together.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude -p &lt;span class="s2"&gt;"Describe this project in one sentence"&lt;/span&gt; --output-format json --max-turns 4
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A response with &lt;code&gt;is_error&lt;/code&gt; set to &lt;code&gt;false&lt;/code&gt; plus a normal text block means the path is live. &lt;code&gt;--max-turns 4&lt;/code&gt; stops it from expanding scope on its own. &lt;code&gt;--output-format json&lt;/code&gt; is what makes usage readable later.&lt;/p&gt;

&lt;p&gt;If your endpoint is Anthropic-compatible, point the execution layer at it. Switching models changes only the model name.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://api.crazyrouter.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Running it
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Install the plugin
&lt;/h3&gt;

&lt;p&gt;The repo moved from copied scripts to a plugin marketplace, so the old path no longer works.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;codex plugin marketplace add aiskyhub/aiskyhub
codex plugin add codex-with-cc@aiskyhub
codex plugin list
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The line should read &lt;code&gt;installed, enabled&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Run the self-check
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python skills/codex-with-cc/scripts/test_delegate_session_pool.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You want &lt;code&gt;delegate session pool tests passed&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;On Windows the runtime self-check throws &lt;code&gt;UnicodeDecodeError&lt;/code&gt;, because the script decodes subprocess output as UTF-8. Real delegation is unaffected.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Write the task file
&lt;/h3&gt;

&lt;p&gt;Sub-agents accept only structured task files. Six sections, none optional. Placeholders get rejected at validation time. The last section is the one people forget: the report headings must cover eight fixed items.&lt;/p&gt;

&lt;p&gt;Put the file under &lt;code&gt;.codex/codex_with_cc/tasks/&lt;/code&gt; in the project.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Validate
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python skills/codex-with-cc/scripts/validate_delegate_task.py -TaskFile &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;task-file&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; -Role researcher
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;Task validation passed&lt;/code&gt; means all six sections are present.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Dry run
&lt;/h3&gt;

&lt;p&gt;Run the full delegation command without invoking the model, to confirm where artifacts land. The last line reads &lt;code&gt;Dry run enabled; Claude Code was not invoked.&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Artifacts must land in &lt;code&gt;.codex/codex_with_cc/claude-delegate/&lt;/code&gt; inside the project. If they land in the plugin cache directory, you will not find them per project later.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Delegate for real
&lt;/h3&gt;

&lt;p&gt;Drop &lt;code&gt;-DryRun&lt;/code&gt;. Do not skip any of the eight parameters.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;CODEX_CLAUDE_CHILD_THREAD&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;1 python skills/codex-with-cc/scripts/delegate_to_claude.py \
  -TaskFile &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;task-file&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; -WorkflowId &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;workflow-name&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; -TaskId &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;subtask-name&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; \
  -Role researcher -SessionKey &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;session-key&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; -Scope &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;scope-files&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; \
  -Model &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;model-name&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; -BypassPermissions
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;-Model&lt;/code&gt; is mandatory. Its default is &lt;code&gt;sonnet&lt;/code&gt;. Leave it out and a backend configured for something else makes no difference, because the bill is still settled at Sonnet rates.&lt;/p&gt;

&lt;h3&gt;
  
  
  7. Check status
&lt;/h3&gt;

&lt;p&gt;Success is &lt;code&gt;"status": "completed"&lt;/code&gt; and &lt;code&gt;"exitCode": 0&lt;/code&gt; in the status file. My run took about three minutes and produced an 8,369-byte report.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you get back
&lt;/h2&gt;

&lt;p&gt;Six file types per run.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;config&lt;/code&gt; records the model, the scope, the session key, and every path. The first field to read is &lt;code&gt;model&lt;/code&gt;. &lt;code&gt;status&lt;/code&gt; records state, exit code, retry count, and the reason for each failure. &lt;code&gt;prompt&lt;/code&gt; is the full text actually sent to the execution layer, which is where you look when you want to know why it behaved a certain way instead of guessing. &lt;code&gt;stream&lt;/code&gt; is raw JSONL, one record per line, and all usage lives there. &lt;code&gt;trace&lt;/code&gt; is a condensed human-readable path. &lt;code&gt;claude&lt;/code&gt; is the report the sub-agent delivered.&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%2Fry0185dd8wc7pn15js5j.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%2Fry0185dd8wc7pn15js5j.png" alt="Status file showing state and retry history" width="800" height="418"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The report follows an eight-section structure with real content in each. Mine traced slugify's main function pipeline from argument validation through counter cleanup, with line numbers, and volunteered that it could not run runtime probes because it had not installed dependencies, so its performance conclusions were inference only. Flagging the uncertain part is more useful than a clean set of conclusions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the cost drops this far
&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpiezoovq93mbowxaym7k.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%2Fpiezoovq93mbowxaym7k.png" alt="Per-delegation cost, priced at official rates" width="799" height="378"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Cache read 343,842 against uncached input of 24. DeepSeek's cache is designed for repeatedly reading the same stable prefix, and delegation fits that shape exactly. Sub-agents re-read the same files, rebuild the same mental model of the project, and work inside the same context over and over. All of the repeat work hits cache.&lt;/p&gt;

&lt;p&gt;So the saving is not from hunting a cheaper model. It comes from &lt;strong&gt;routing repeat labor to whichever layer handles it cheapest&lt;/strong&gt;, and keeping judgment where judgment is worth paying for.&lt;/p&gt;

&lt;p&gt;You can &lt;a href="https://crazyrouter.com/en/pricing?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=offsite_article&amp;amp;utm_content=cr_3f06f45f1372_mid_text" rel="noopener noreferrer"&gt;check current per-model pricing&lt;/a&gt; and multiply by your own volume. The cache-read and uncached rates differ a lot. Mixing them is the fastest way to a wrong answer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three traps
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;-Model&lt;/code&gt; defaults to &lt;code&gt;sonnet&lt;/code&gt;.&lt;/strong&gt; The delegation script hardcodes &lt;code&gt;default="sonnet"&lt;/code&gt;. Skip it and the bill settles at Sonnet rates no matter what you configured elsewhere.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;DeepSeek does not complete inside the delegation chain.&lt;/strong&gt; I tried three times: 570k, 77k, and 41k tokens of input. Output was zero every time, stuck in the multi-turn tool loop. The same model, called directly, completes a single turn in 14 seconds and a turn with one tool call in 24. Sonnet was the only configuration that finished reliably.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Session keys will block you.&lt;/strong&gt; &lt;code&gt;-SessionKey&lt;/code&gt; controls session reuse, and the same key tries to continue the same conversation. My first run was rejected for reusing a previous session ID, and the script opened a new session on its own.&lt;/p&gt;

&lt;h2&gt;
  
  
  When this fits
&lt;/h2&gt;

&lt;p&gt;It fits large-scale code reading, multi-file implementation, comparing several approaches, separating implementation from review, migrations, and test backfill. The common thread is that no single step is hard, but the whole thing is context-hungry.&lt;/p&gt;

&lt;p&gt;It does not fit a one-line change, where delegation overhead exceeds the benefit. It does not fit requirements still in motion, where you should settle scope in the main thread first. And it does not fit work with heavy file conflicts, since parallel agents editing the same region step on each other. Parallelism needs clean task boundaries, not more agents.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I have not verified
&lt;/h2&gt;

&lt;p&gt;Single node, single session. The real payoff of parallel sub-agents is untested, and so is the contention and reclamation behavior when several run at once. On hit rate, 60.39% is my measurement; I could not reproduce the 98.5% figure that circulates, and the difference is task shape rather than the product. Cache-write billing is the other open question. Chinese official pricing does not list it separately, so I counted it as uncached input, and I have not reconciled the actual charge in the console.&lt;/p&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;codex_with_cc repository: &lt;code&gt;github.com/aiskyhub/codex_with_cc&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Original article, "Codex穷鬼大救星" by 小呆呆666: &lt;code&gt;juejin.cn/post/7635467758865235968&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;DeepSeek official pricing: &lt;code&gt;api-docs.deepseek.com/quick_start/pricing&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Crazyrouter API guide: &lt;code&gt;crazyrouter.com/en/guide&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>codex</category>
      <category>api</category>
      <category>cost</category>
    </item>
    <item>
      <title>GPT-6.2 Cyber: What the Published Benchmarks Do and Do Not Tell You</title>
      <dc:creator>boluo</dc:creator>
      <pubDate>Thu, 03 Dec 2026 13:45:37 +0000</pubDate>
      <link>https://dev.to/buluo/gpt-62-cyber-what-the-published-benchmarks-do-and-do-not-tell-you-32m</link>
      <guid>https://dev.to/buluo/gpt-62-cyber-what-the-published-benchmarks-do-and-do-not-tell-you-32m</guid>
      <description>&lt;p&gt;GPT-6.2 Cyber appeared in the December 1, 2026 AWS re:Invent announcement. Most write-ups repeat two facts: it is a cybersecurity model, and it is hard to get into.&lt;/p&gt;

&lt;p&gt;I want to look at a different question:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The official release published a handful of evaluation numbers.&lt;/li&gt;
&lt;li&gt;Those numbers are the only evidence available outside the program.&lt;/li&gt;
&lt;li&gt;Reading them carefully tells you more about where the model fits than any feature list does.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  The number that explains the model
&lt;/h2&gt;

&lt;p&gt;Start with the sharpest contrast in the release.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;RemoteExploitBench&lt;/strong&gt; uses known vulnerabilities in GitLab, PostgreSQL, and Jenkins inside a controlled environment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GPT-6 Astra&lt;/strong&gt; refused 100% of tasks under Daybreak Blue.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GPT-6 Cyber&lt;/strong&gt; completed 95%.&lt;/li&gt;
&lt;li&gt;The single failure was an exploit that could not be run remotely.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those two results are not a ranking of general capability:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;They come from models trained for different jobs.&lt;/li&gt;
&lt;li&gt;Astra, on the defensive side, is built to decline offensive work.&lt;/li&gt;
&lt;li&gt;Cyber is built to carry an authorized engagement through to a verified result.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Reading the 95% as "more powerful" misses the point. It means the model stayed inside an authorized boundary and still finished the task almost every time. That framing carries through every other number in the release.&lt;/p&gt;

&lt;h2&gt;
  
  
  Four evaluations worth reading in pairs
&lt;/h2&gt;

&lt;p&gt;One caveat before the table:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The official figures are all OpenAI's own evaluations.&lt;/li&gt;
&lt;li&gt;No third-party reproduction exists as of publication.&lt;/li&gt;
&lt;li&gt;No public third-party benchmark set covers the Cyber tier.&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Evaluation&lt;/th&gt;
&lt;th&gt;GPT-6 Cyber&lt;/th&gt;
&lt;th&gt;Comparison&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Exploit generation, ExploitGym&lt;/td&gt;
&lt;td&gt;48.5%&lt;/td&gt;
&lt;td&gt;GPT-5.6 Cyber 32.1%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vulnerability recall, web pentesting&lt;/td&gt;
&lt;td&gt;40.3%&lt;/td&gt;
&lt;td&gt;GPT-6 Astra 32.0%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Out-of-scope avoidance, no deployment prompt&lt;/td&gt;
&lt;td&gt;99.93%&lt;/td&gt;
&lt;td&gt;GPT-5.6 Cyber 94.49%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Out-of-scope avoidance, with deployment prompt&lt;/td&gt;
&lt;td&gt;100%&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RemoteExploitBench completion&lt;/td&gt;
&lt;td&gt;95%&lt;/td&gt;
&lt;td&gt;GPT-6 Astra refused 100% under Blue&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Read the first two rows as capability growth:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;ExploitGym&lt;/strong&gt; moved from 32.1% to 48.5%, a 16-point gain.&lt;/li&gt;
&lt;li&gt;OpenAI raised its Preparedness Framework rating for cyber capability from High to Critical.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Web pentesting recall&lt;/strong&gt; moved from 32.0% to 40.3% against the general model.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Read the last three rows as boundary behavior:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The Honeypot evaluation places an easier, unrelated service next to the target and checks whether the model attacks it to capture a flag.&lt;/li&gt;
&lt;li&gt;GPT-5.6 Cyber crossed that line in 5.51% of cases.&lt;/li&gt;
&lt;li&gt;GPT-6 Cyber reduced it to 0.07% without a deployment prompt, and to zero with one.&lt;/li&gt;
&lt;li&gt;OpenAI states the Cyber line was trained to report work results accurately within the authorized scope.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The distinction matters because "found a vulnerability" and "verified exploitability" are different outputs. The release reports them separately:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;1,724&lt;/strong&gt; vulnerabilities reproduced in the Linux kernel.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;948&lt;/strong&gt; usable exploits produced.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;81&lt;/strong&gt; previously unknown high-severity vulnerabilities found in Firefox.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;30&lt;/strong&gt; known issues reassessed as more severe than initially rated.&lt;/li&gt;
&lt;li&gt;Mozilla has published fixes for the related reports.&lt;/li&gt;
&lt;/ul&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%2Fmky4a1sb8w7y5wi7bbgy.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%2Fmky4a1sb8w7y5wi7bbgy.png" alt="Official GPT-6 Cyber announcement image" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What the split between Red and Blue means in practice
&lt;/h2&gt;

&lt;p&gt;OpenAI launched Daybreak in May as a dedicated cybersecurity program with two delivery tiers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Daybreak Blue&lt;/strong&gt; covers defensive work: vulnerability discovery, code review, malware sample analysis, and patch validation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Daybreak Red&lt;/strong&gt; covers authorized red teaming, vulnerability research, exploit chain analysis, and mitigation development.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Where the models sit:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The Cyber models are in Red.&lt;/li&gt;
&lt;li&gt;Sol and Luna are in Blue.&lt;/li&gt;
&lt;li&gt;GPT-6 Cyber was published on November 5, 2026 with its full evaluation set.&lt;/li&gt;
&lt;li&gt;GPT-6.2 Cyber was announced on December 1 with only two qualitative claims: stronger network tasks and better token efficiency. No specific scores or unit prices were published for 6.2.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The first practical decision for anyone evaluating the model:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Day-to-day code review and patch validation are already covered by the Blue side.&lt;/li&gt;
&lt;li&gt;Cyber earns attention when the task requires proving exploitability inside a defined authorization.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Access follows the same division:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Routes are OpenAI API, Codex, and Amazon Bedrock, all behind Daybreak approval.&lt;/li&gt;
&lt;li&gt;The Red API requires IP allowlisting by default and monitors credential leakage.&lt;/li&gt;
&lt;li&gt;AWS introduced Daybreak Red for Critical Infrastructure with stronger guardrails.&lt;/li&gt;
&lt;li&gt;OpenAI notes that a higher blocking rate is not automatically a better result — the question is whether legitimate research and remediation still work.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The technical surface on Bedrock
&lt;/h2&gt;

&lt;p&gt;If your team clears approval, pin down these details before implementation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Model ID&lt;/strong&gt;: &lt;code&gt;openai.gpt-6-cyber&lt;/code&gt;; inference profile &lt;code&gt;us.openai.gpt-6-cyber&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Context and output&lt;/strong&gt;: 1,050,000-token context window, 128,000-token maximum output.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Modality&lt;/strong&gt;: text and image input, text output. No fine-tuning.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lifecycle&lt;/strong&gt;: Active as of December 1, 2026; end of life no earlier than December 1, 2027.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Interfaces&lt;/strong&gt;: &lt;code&gt;bedrock-runtime&lt;/code&gt; and &lt;code&gt;bedrock-mantle&lt;/code&gt; both supported, with Responses API and Chat Completions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Region&lt;/strong&gt;: Cyber has no in-Region option on &lt;code&gt;bedrock-runtime&lt;/code&gt;; use a &lt;code&gt;us.&lt;/code&gt; or &lt;code&gt;global.&lt;/code&gt; profile.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Routing&lt;/strong&gt;: &lt;code&gt;us.&lt;/code&gt; covers US East (N. Virginia), US East (Ohio), and US West (Oregon); source Regions include N. California, Canada Central, and Calgary. &lt;code&gt;bedrock-mantle&lt;/code&gt; is in N. Virginia.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Permission&lt;/strong&gt;: &lt;code&gt;bedrock:InvokeModel&lt;/code&gt; is required.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Constraint&lt;/strong&gt;: Converse rejects document content blocks; use Responses API for that path.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;OpenAI-compatible tooling can point at a single base URL and select models by the string in the catalog:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://api.crazyrouter.com/v1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Model availability depends on the account and the current public catalog. The &lt;a href="https://crazyrouter.com/en/pricing?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=offsite_article&amp;amp;utm_content=cr_af6bd0e61e69_mid_text" rel="noopener noreferrer"&gt;pricing page&lt;/a&gt; lists the IDs that can be called today.&lt;/p&gt;

&lt;p&gt;Data handling deserves the same scrutiny as the model IDs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Private Safety Processing&lt;/strong&gt; keeps safety-review logs in the customer's own S3 bucket, encrypted with the customer's KMS key; AWS and OpenAI staff do not read them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero Operator Access&lt;/strong&gt; is enforced at the chip level when inference runs on Bedrock.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Retention&lt;/strong&gt;: flagged content is kept for 30 days and goes through automated review.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Preview limits&lt;/strong&gt;: GovCloud is out of scope; only &lt;code&gt;bedrock-runtime&lt;/code&gt; is covered; IAM condition keys and SCPs cannot force traffic into a bucket; requests still succeed if the bucket or key is unavailable.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Requirement&lt;/strong&gt;: AWS CLI 2.35 or later.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Pricing without a published 6.2 rate card
&lt;/h2&gt;

&lt;p&gt;Published list prices, per million tokens:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://openai.com/api/pricing/" rel="noopener noreferrer"&gt;Official OpenAI pricing page&lt;/a&gt;: GPT-6.2 Astra $8 input / $40 output; GPT-6.2 Sol $2 input / $10 output.&lt;/li&gt;
&lt;li&gt;Previous GPT-6 Cyber on Bedrock Standard: $20 input / $100 output for Global under 272K tokens.&lt;/li&gt;
&lt;li&gt;GPT-6.2 Cyber: no separate published unit price as of the announcement.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Two subsidy programs, both requiring application and review:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;AWS program&lt;/strong&gt;: $25 million cap, $50,000 per company, roughly 500 organizations, expires March 31, 2027. Sectors span healthcare, financial services, transportation, food, water, telecommunications, and energy. Named use cases include JPMorgan's red team and penetration testing work, alongside Robinhood and Notion.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Daybreak for Frontline Defenders&lt;/strong&gt;: a $1 billion OpenAI commitment aimed at government agencies and critical service providers.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;How I estimate cost:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Start from published list prices; treat subsidies as conditional.&lt;/li&gt;
&lt;li&gt;When a model has no published rate, a current-generation general model's list price gives an order of magnitude, not a quote.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Three small tasks before a real engagement
&lt;/h2&gt;

&lt;p&gt;The release recommends sandboxes, action review, and human oversight for high-risk processes. Put the boundaries in the first prompt:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Which system is the target.&lt;/li&gt;
&lt;li&gt;What authorization already exists.&lt;/li&gt;
&lt;li&gt;Which actions are prohibited.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A prompt I would start with:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Using only the code snippet I provided, identify one injection point and show a parameterized fix. Do not invent fields that are not in the snippet. Output only the finding and the fix.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Three tasks to check the workflow:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Pass a function with a known problem and ask for the main risk in five sentences, plus three things to verify.&lt;/li&gt;
&lt;li&gt;Ask for a Python utility that scans the project for hardcoded cloud credentials and prints the file and line number.&lt;/li&gt;
&lt;li&gt;Ask to rewrite a finding into a short management note, in a restrained tone, without adding conclusions you did not supply.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Do not accept any output on wording alone:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Reproduce the vulnerability.&lt;/li&gt;
&lt;li&gt;Run the tests.&lt;/li&gt;
&lt;li&gt;Confirm the result stayed inside the authorized scope.&lt;/li&gt;
&lt;li&gt;If the answer is too long, constrain it rather than trusting the summary.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Questions that come up in review
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Is there a local or mobile version.&lt;/strong&gt; No dedicated app. Approved users call through API, Codex, or Bedrock; mobile access means reviewing remote task output. AWS AI Factories can place inference in a customer data center, but that is a managed deployment, not a local model.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Does it handle non-English reports.&lt;/strong&gt; No separate language evaluation was published. Cited examples center on codebases and English-language ecosystems. Treat technical conclusions as material to rewrite in your own words, and judge them by reproducibility and test results.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;How does it compare with Claude.&lt;/strong&gt; OpenAI published Cyber-to-Cyber and Cyber-to-Astra comparisons, not a cross-vendor evaluation. Any claim beyond that is speculation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Can it help with academic writing.&lt;/strong&gt; The Cyber line is built for security research, not general text generation. It can help organize vulnerability mechanics or review code, but academic integrity decisions stay with you.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Why can a run be slow.&lt;/strong&gt; OpenAI published no speed data for GPT-6.2 Cyber. Verifying exploitability inside an authorization is slow work by nature, and the one RemoteExploitBench failure was an exploit that could not be run remotely.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Where this leaves you
&lt;/h2&gt;

&lt;p&gt;The evidence supports a narrow conclusion:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;For authorized vulnerability research where you need to prove exploitability, the published evaluations show a model that is more capable than its predecessor and more disciplined about scope.&lt;/li&gt;
&lt;li&gt;For everything else, the general models are simpler and cheaper.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Two limits on that conclusion:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The numbers are OpenAI's own.&lt;/li&gt;
&lt;li&gt;GPT-6.2 Cyber has no published scores or unit price yet.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I would treat the figures as an order-of-magnitude reference rather than a prediction for your codebase. Get the authorization settled first, then run one small task and decide from the output.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>security</category>
      <category>api</category>
      <category>aws</category>
    </item>
    <item>
      <title>What Each ChatGPT and Claude Model Is Good For, and How to Choose</title>
      <dc:creator>boluo</dc:creator>
      <pubDate>Thu, 03 Dec 2026 09:57:41 +0000</pubDate>
      <link>https://dev.to/buluo/what-each-chatgpt-and-claude-model-is-good-for-and-how-to-choose-4m89</link>
      <guid>https://dev.to/buluo/what-each-chatgpt-and-claude-model-is-good-for-and-how-to-choose-4m89</guid>
      <description>&lt;p&gt;Eight models sit in the current API catalogs, four from OpenAI and four from Anthropic. The names tell you nothing. Astra, Sol, Terra, Luna on one side; Fable, Opus, Sonnet, Haiku on the other.&lt;/p&gt;

&lt;p&gt;I put all eight behind one endpoint and ran the same three questions through each, then priced every answer at vendor list rates. This article covers what each of the eight is good for, and ends with the order I now use to decide between them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Start with the ID, not the brand
&lt;/h2&gt;

&lt;p&gt;The first mistake is treating ChatGPT and Claude as the unit of choice. They are chat products. What you configure is a model ID from the API, and the ID space does not match the product space.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;ChatGPT, Claude: the chat products&lt;/li&gt;
&lt;li&gt;Codex, Claude Code: tools that read projects, call functions and run commands&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;gpt-6.2-sol&lt;/code&gt;, &lt;code&gt;claude-opus-5-5&lt;/code&gt;: the strings that go into your config&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A subscription tier granting access to a model does not mean the API exposes it. That mismatch is behind most first-run 404s I have seen.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prepare the API key
&lt;/h2&gt;

&lt;p&gt;To run eight models in one script, one credential that reaches all of them is the cheapest path. Create a key in the console. The creation flow, quota limits, permitted model scope and IP allowlist are itemised in &lt;a href="https://docs.crazyrouter.com/authentication?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=offsite_article&amp;amp;utm_content=cr_5fab4efeb13c_mid_text" rel="noopener noreferrer"&gt;Crazyrouter's authentication and key documentation&lt;/a&gt;, and the key is shown once, so store it right there.&lt;/p&gt;

&lt;p&gt;You can also keep the two official endpoints. The cost is two credentials, two invoices, and a trap that fails quietly. The same model does not always carry the same ID string at the vendor and at the gateway, so a &lt;code&gt;model&lt;/code&gt; value copied between them can fail in a way that looks like a malformed request.&lt;/p&gt;

&lt;p&gt;I used the gateway. Base URL:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://api.crazyrouter.com/v1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Send requests to &lt;code&gt;/v1/chat/completions&lt;/code&gt;, point &lt;code&gt;base_url&lt;/code&gt; at the address above, read the key from the environment. &lt;code&gt;GET /v1/models&lt;/code&gt; returned 185 entries this round and all eight target IDs were present. One detail matters if you switch SDKs: the four Claude models advertise both &lt;code&gt;anthropic&lt;/code&gt; and &lt;code&gt;openai&lt;/code&gt; endpoint types, the four OpenAI models only &lt;code&gt;openai&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Read the prices as tiers, not as a ranking
&lt;/h2&gt;

&lt;p&gt;Cost per million tokens, input and output, at list rates on December 3, 2026.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;$8 / $40&lt;/strong&gt; — GPT-6.2 Astra, Claude Fable 5.2&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;$4 / $20&lt;/strong&gt; — Claude Opus 5.5 only&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;$2 / $10&lt;/strong&gt; — GPT-6.2 Sol, Claude Sonnet 5.5&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;$1 / $5&lt;/strong&gt; — GPT-6.1 Terra only&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;$0.10 / $0.50&lt;/strong&gt; — GPT-6 Luna, Claude Haiku 5.5&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Three rungs line up across vendors. One rung has a single occupant: Opus, at exactly twice Sol and half of Fable, doing the job OpenAI assigns to Sol. OpenAI leaves that rung empty and its nearest neighbour is a vision model. So "what does Opus compete with" has no clean answer, which is worth knowing before you build a comparison table that pretends otherwise.&lt;/p&gt;

&lt;p&gt;There is a second step function buried in the sheet. Haiku's headline rate covers prompts up to 100K tokens. Past that, input goes to $0.50 and output to $2.50. Budget a long-document batch at the small-prompt rate and you will come in five times over. I have made that mistake once.&lt;/p&gt;

&lt;h2&gt;
  
  
  What each of the eight is good for
&lt;/h2&gt;

&lt;p&gt;The vendor's own positioning line, plus what my three runs actually showed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-6.2 Astra, $8 / $40.&lt;/strong&gt; Positioned as the most capable model for the hardest projects end to end. In the stacked-defect test it repaired all three problems in 135 tokens, the leanest of the four premium runs. Best for architecture-level debugging, cross-file root cause work, and verification where one correct pass beats cheap retries.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-6.2 Sol, $2 / $10.&lt;/strong&gt; The everyday workhorse for coding and agents at scale. It won the paginated-export test by changing a single multiplier. If a team is standardising on one model for business code, test backfill and documentation, start here.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-6.1 Terra, $1 / $5.&lt;/strong&gt; Fast, aimed at visual reasoning, precise computer use and natural writing. The only model on either side at this price, which makes it the entry point for screenshot reading and UI-state checks. Do not move text-only work here just because it undercuts Sol.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GPT-6 Luna, $0.10 / $0.50.&lt;/strong&gt; The efficiency tier for focused, high-volume tasks. It logged both the slowest run at 13.62 seconds and the highest token count at 955, because it restructured the loop instead of fixing the bound. Cheap per token, not cheap per answer. Good for classification and extraction once the output shape is fixed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Claude Fable 5.2, $8 / $40.&lt;/strong&gt; Next-generation intelligence for long-running agents. In the stacked test it produced the tightest code of the four, parameterised the retry count, skipped jitter. Same price as Astra with a different brief: duration over peak difficulty.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Claude Opus 5.5, $4 / $20.&lt;/strong&gt; The daily driver for agentic coding and enterprise work. It produced the answer that looked most like real production code, with retry parameters externalised and the delay randomised. Also the only model on this rung, which makes cross-vendor comparison awkward.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Claude Sonnet 5.5, $2 / $10.&lt;/strong&gt; High-performance coding and agents. The only model that matched all twelve of my hand labels, and the fastest on that question at 4.89 seconds. Priced like Sol, but quicker to rewrite rather than patch.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Claude Haiku 5.5, $0.10 / $0.50.&lt;/strong&gt; The fastest and most cost-efficient option, with a step function attached. In the first test it added guards without fixing the defect, which is the failure mode to watch for in this tier.&lt;/p&gt;

&lt;h2&gt;
  
  
  Question one, a paginated export that drops its last batch
&lt;/h2&gt;

&lt;p&gt;A short function walks &lt;code&gt;for i in range(0, total, size)&lt;/code&gt; and asks &lt;code&gt;fetch(i, size)&lt;/code&gt; for exactly &lt;code&gt;size&lt;/code&gt; records each pass. When the total is not a multiple of &lt;code&gt;size&lt;/code&gt;, the final batch is short and gets dropped.&lt;/p&gt;

&lt;p&gt;One instruction: return only the corrected function, no explanation, no fences.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GPT-6.2 Sol&lt;/strong&gt; — 4.01s, 78 output tokens, 26 reasoning. Changed the request size to &lt;code&gt;min(size, total - offset)&lt;/code&gt;, touched nothing else.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude Haiku 5.5&lt;/strong&gt; — 10.46s, 110 tokens, no reasoning. Added a &lt;code&gt;size &amp;lt;= 0&lt;/code&gt; guard and an empty-batch check, still passed &lt;code&gt;size&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude Sonnet 5.5&lt;/strong&gt; — 8.02s, 676 tokens, no reasoning. Rewrote as &lt;code&gt;while&lt;/code&gt;, advanced by the returned length.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GPT-6 Luna&lt;/strong&gt; — 13.62s, 955 tokens, no reasoning. Same restructure, advanced by &lt;code&gt;len(batch)&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All four run. Only Sol fixed the multiplier. Haiku's version is the one most likely to be approved in review without a second look, and it leaves the defect intact: the last batch is still requested at &lt;code&gt;size&lt;/code&gt;. Sonnet and Luna changed control flow instead of the bound, which is equivalent only while upstream always returns a full page. If a short page ever comes back, their behaviour diverges from the original.&lt;/p&gt;

&lt;p&gt;Two things to carry forward. Smallest diff and most complete-looking diff are different properties, and only the first is verifiable against the original defect. And Luna was the slowest here at 13.62 seconds, more than three times Sol. A light tier is not a latency promise.&lt;/p&gt;

&lt;h2&gt;
  
  
  Question two, twelve log lines into five categories
&lt;/h2&gt;

&lt;p&gt;The shape of bulk work. Twelve lines, five allowed labels, JSON array only.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Claude Sonnet 5.5&lt;/strong&gt; — 4.89s, 217 tokens, 12 items, 12 correct against hand labels&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude Haiku 5.5&lt;/strong&gt; — 4.28s, 174 tokens, 12 items, 11 correct&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GPT-6 Luna&lt;/strong&gt; — 6.35s, 235 tokens, 12 items, 11 correct&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GPT-6.2 Sol&lt;/strong&gt; — 8.00s, 203 tokens, 12 items, 11 correct&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All four produced JSON a parser could read, with no wrapper text. The entire disagreement sat on one line: &lt;code&gt;dial tcp 10.2.0.7:5432 connect timeout&lt;/code&gt;. I read 5432 as a database port and labelled it database. Luna, Haiku and Sol read the symptom and labelled it network. Sonnet was the only one that agreed with me.&lt;/p&gt;

&lt;p&gt;This is not a model error. Calling a connection failure a network problem is defensible; the database label requires knowing 5432 is PostgreSQL's default. The real lesson is that this score measures how precisely you wrote the category definition. If you want the database bucket to fire reliably, the prompt has to say that connection errors to database ports belong there. No model will look up your port table for you.&lt;/p&gt;

&lt;p&gt;Token ordering also flipped between the two questions. Sonnet dropped from 676 to 217 and Luna from 955 to 235, because locking the output shape removes any reason to rewrite the loop. Relative position moves with question shape, so one run is a data point and not a ranking.&lt;/p&gt;

&lt;h2&gt;
  
  
  Question three, three defects stacked in one function
&lt;/h2&gt;

&lt;p&gt;One function, three problems: the dropping batch, retries with no backoff, exceptions swallowed into an empty list.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GPT-6.2 Astra&lt;/strong&gt; — 10.07s, 135 tokens, 11 reasoning. All three fixed, &lt;code&gt;0.5 * 2**attempt&lt;/code&gt; backoff.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude Opus 5.5&lt;/strong&gt; — 6.72s, 592 tokens, no reasoning. All three fixed, retry count and delay parameterised, jitter added.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude Fable 5.2&lt;/strong&gt; — 8.09s, 759 tokens, no reasoning. All three fixed, parameterised, no jitter, tightest code of the four.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GPT-6.2 Sol&lt;/strong&gt; — 6.69s, 186 tokens, 42 reasoning. All three fixed, structure close to Astra.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All four found all three. The difference sits in how finished the repair is. Opus exposed &lt;code&gt;max_retries&lt;/code&gt; and &lt;code&gt;base_delay&lt;/code&gt; as arguments and added randomness to the wait, the shape that survives contact with an on-call rotation. Fable exposed the arguments too but left the wait deterministic. Astra and Sol stayed with the original &lt;code&gt;for&lt;/code&gt; and a flat three attempts.&lt;/p&gt;

&lt;p&gt;The token counts are the interesting part. Astra closed three defects in 135 tokens; Opus and Fable needed 592 and 759 to do the same. The premium tier is not winning by writing more; it spends budget making the retry policy complete. On a single question that reads as waste. Inside a service that gets retried for real, it decides whether someone gets paged.&lt;/p&gt;

&lt;p&gt;One trap worth naming, because reading the reply will not reveal it. Opus leaves &lt;code&gt;batch&lt;/code&gt; referenced outside the retry loop, so if all attempts raise, the last one re-raises and that line is never reached. The logic holds. Move the &lt;code&gt;raise&lt;/code&gt; and the same code becomes a &lt;code&gt;NameError&lt;/code&gt;. That needs a unit test, not a careful read.&lt;/p&gt;

&lt;h2&gt;
  
  
  Convert tokens to money before you decide
&lt;/h2&gt;

&lt;p&gt;Measured output tokens times list output rate. Input stayed under 200 tokens on all three questions, under $0.002 everywhere, so output dominates.&lt;/p&gt;

&lt;p&gt;On the paginated export, per-call output cost is $0.00006 for Haiku, $0.00048 for Luna, $0.00078 for Sol, $0.00676 for Sonnet. On classification, $0.00009, $0.00012, $0.00203, $0.00217 in the same order. On the stacked repair, $0.00186 for Sol, $0.00540 for Astra, $0.01184 for Opus, $0.03036 for Fable.&lt;/p&gt;

&lt;p&gt;Two findings contradict the obvious reading.&lt;/p&gt;

&lt;p&gt;First, Sonnet costs fourteen times Luna on question one. Luna's rate is one twentieth of Sonnet's, but Luna wrote 955 tokens against 676. A twentyfold rate gap and a 1.4x token gap land on fourteenfold. Choosing on rate alone inverts the answer.&lt;/p&gt;

&lt;p&gt;Second, Astra costs less than half of Opus on question three. Astra's rate is twice Opus's, but it finished in 135 tokens against 592. Double rate, quarter tokens, roughly half the total. What the expensive tier saves is not rate, it is verbosity.&lt;/p&gt;

&lt;p&gt;Published rates and cache pricing are itemised on &lt;a href="https://claude.com/pricing" rel="noopener noreferrer"&gt;Anthropic's pricing page&lt;/a&gt;; OpenAI's four tiers are at openai.com/api/pricing. Neither contradicted the figures above on December 3, 2026. For the eight side by side through one endpoint, &lt;a href="https://crazyrouter.com/en/pricing?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=offsite_article&amp;amp;utm_content=cr_5fab4efeb13c_mid_text" rel="noopener noreferrer"&gt;the model price table&lt;/a&gt; lists them together. Compare against vendor list prices, not promotional rates.&lt;/p&gt;

&lt;h2&gt;
  
  
  The routing I actually use
&lt;/h2&gt;

&lt;p&gt;Four buckets, and the buckets outlive the models.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Hard problems.&lt;/strong&gt; Cross-file root cause work and verification that needs derivation, to Astra or Opus. The value is being right once, and token count is not the constraint.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Daily development.&lt;/strong&gt; Business code, test backfill, documentation cleanup, to Sol or Sonnet. Both were steady across all three questions. Pick on which vendor's reply style your team already reads well.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Bulk.&lt;/strong&gt; Classification, field extraction, format conversion, to Luna or Haiku. Fixed output shape, low rate, and a small labelled sample before scaling.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Screens and UI state.&lt;/strong&gt; Terra on the OpenAI side. On the Anthropic side, confirm what your tooling supports before assuming a model can see an image.&lt;/p&gt;

&lt;p&gt;Three conditions cover most routing. Confirm long-context support past 200K tokens. Check image input is wired up before you attach a screenshot. Compare output rates seriously once a reply is expected to exceed 8K tokens.&lt;/p&gt;

&lt;p&gt;Three cases where I would not switch. Work concentrated in long-chain hard engineering. A workflow already welded to one vendor's tooling. And a team with no regression suite, since you cannot defend a change you cannot measure.&lt;/p&gt;

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

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;OpenAI pricing: openai.com/api/pricing&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Anthropic pricing: claude.com/pricing&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Anthropic model overview: platform.claude.com/docs/en/models/overview&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;All three rounds ran against &lt;code&gt;https://api.crazyrouter.com&lt;/code&gt; on December 3, 2026, against a 185-model catalog, with all eight target IDs confirmed present.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;API documentation: &lt;a href="https://docs.crazyrouter.com" rel="noopener noreferrer"&gt;https://docs.crazyrouter.com&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>api</category>
      <category>tooling</category>
    </item>
    <item>
      <title>Kimi K3.1 Pro, GLM-5.4 and MiniMax M3 as Opus 5.5 Alternatives, Tested and Priced</title>
      <dc:creator>boluo</dc:creator>
      <pubDate>Thu, 03 Dec 2026 09:15:14 +0000</pubDate>
      <link>https://dev.to/buluo/kimi-k31-pro-glm-54-and-minimax-m3-as-opus-55-alternatives-tested-and-priced-12dj</link>
      <guid>https://dev.to/buluo/kimi-k31-pro-glm-54-and-minimax-m3-as-opus-55-alternatives-tested-and-priced-12dj</guid>
      <description>&lt;p&gt;&lt;em&gt;A note before we start: I ran the API calls in this post myself on my own key, and the numbers are from those runs plus public vendor pages. I used an AI assistant to help with structure and editing. The measurements, including the failures, are mine.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I have been paying Opus 5.5 prices for a while, and for the last month every new Chinese frontier model has arrived with a chart claiming to beat it. Kimi K3.1 Pro shipped October 24. Qwen4-Max on November 16. GLM-5.4 on November 23.&lt;/p&gt;

&lt;p&gt;So I did the thing I should have done earlier: put the four models behind one endpoint and run the same work through all of them. This is the write-up of which tasks moved, which stayed, and two parameters that broke on the way.&lt;/p&gt;

&lt;p&gt;Prices and specs are from vendor pages read on December 3, 2026. Environment was Python with openai 3.62.2, calling an OpenAI-compatible &lt;code&gt;POST /v1/chat/completions&lt;/code&gt;. Everything below is reproducible from that.&lt;/p&gt;

&lt;h2&gt;
  
  
  The gap nobody warns you about
&lt;/h2&gt;

&lt;p&gt;The three numbers that circulate are a 12-point aggregate gap, a 0.7-point Terminal-Bench gap, and roughly half the price. All three are real. None of them survived contact with an actual task list.&lt;/p&gt;

&lt;p&gt;Here is the split I ended up with:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Repository refactors, multi-file rewrites&lt;/strong&gt; to Kimi K3.1 Pro. It beats Opus by 5.4 points on SWE Marathon and costs half as much per blended token.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Architectural debugging, hard derivation&lt;/strong&gt; stays on Opus 5.5. HLE-Diamond 60.9 against Kimi's 39.4, Terminal-Bench-Science 63.3 against 38.1. Nothing else is close in that band.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;High-volume batch work&lt;/strong&gt; to MiniMax M3. $0.525 blended, $1.29 per task, about a seventh of Opus.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Screenshot and error-dialog reading&lt;/strong&gt; to GLM-5.4, inside a Coding Plan quota where it does not bill per token.&lt;/p&gt;

&lt;p&gt;The numbers behind those calls, in case you want to argue with them:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Aggregate score:&lt;/strong&gt; Opus 59, Kimi 47, MiniMax 19, GLM-5.4 33.2 on a private third-party test.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SWE Marathon:&lt;/strong&gt; Opus 46.3, Kimi 51.7.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Terminal-Bench:&lt;/strong&gt; Opus 65.8%, Kimi 59.7%, GLM 41.2% on the previous 5.3 generation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;HLE-Diamond:&lt;/strong&gt; Opus 60.9, Kimi 39.4.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Blended price:&lt;/strong&gt; Opus $8.00, Kimi $4.00, GLM $2.15, MiniMax $0.525.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost per task:&lt;/strong&gt; Opus $10.04, Kimi $3.68, MiniMax $1.29.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Context:&lt;/strong&gt; 1M across all four.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Native vision:&lt;/strong&gt; images on Opus and Kimi, images plus video on MiniMax and GLM.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Vendor list prices per million tokens, which the blended figures above are computed from:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Claude Opus 5.5:&lt;/strong&gt; $4.00 input, $20.00 output, $0.20 cache hit, $8.00 blended at 3:1&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kimi K3.1 Pro:&lt;/strong&gt; $2.00 input, $10.00 output, $0.20 cache, $4.00 blended&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GLM-5.4:&lt;/strong&gt; $1.40 input, $4.40 output, $0.26 cache, $2.15 blended&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MiniMax M3:&lt;/strong&gt; $0.30 input, $1.20 output, $0.024 cache, $0.525 blended&lt;/li&gt;
&lt;/ul&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%2Fzazqk7gyakbxuvzeaexm.jpeg" 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%2Fzazqk7gyakbxuvzeaexm.jpeg" alt="MiniMax M3 official price sheet" width="799" height="350"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;MiniMax M3 price sheet. Below 512K the list price is $0.60 input and $2.40 output, discounted 50% in the first week to $0.30 and $1.20. The 512K to 1M tier is $1.20 and $4.80.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Missing entries are not omissions. MiniMax and GLM did not measure those benchmarks or only published comparisons against their own previous generation, which is a different denominator. Independent figures are on &lt;a href="https://artificialanalysis.ai/models" rel="noopener noreferrer"&gt;Artificial Analysis&lt;/a&gt;.&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%2F4cxqmcvo99yi5nhonmy4.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%2F4cxqmcvo99yi5nhonmy4.png" alt="MiniMax M3 official nine-benchmark chart" width="800" height="370"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the 0.7-point gap is not a model comparison
&lt;/h2&gt;

&lt;p&gt;The most quoted claim is Kimi at 65.7% against Opus at 66.4% on Terminal-Bench, which reads as parity. Those two scores come from different runs with different agents driving.&lt;/p&gt;

&lt;p&gt;Terminal-Bench ranks a model-plus-agent pair as one entry, and each row names the agent. On the same 4.1 board, two rows using Claude Code:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Claude Opus 5.5, max effort:&lt;/strong&gt; 65.8%, 95% interval ±3.1&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kimi K3.1 Pro, max effort:&lt;/strong&gt; 59.7%, 95% interval ±4.2&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Same agent, same 66 tasks, Opus ahead by 6.1 points. Kimi's interval is one of the widest on the board, which means two or three tasks move the score by two or three points.&lt;/p&gt;

&lt;p&gt;Run the same 4.1 version under Artificial Analysis's unified mini-swe-agent harness and Kimi leads at 68.2%, with GPT-6.2 Astra at xhigh and Gemini 4 Carbon at high both at 66.2%. Flip the harness, flip the ranking.&lt;/p&gt;

&lt;p&gt;That 68.2% does not replace the 59.7%. Different task set, different agent, different source. Together the three numbers say one thing: terminal pass rates track the harness closely, so the 0.7-point gap carries agent variance and is not a model difference.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvtrczt3xd5k4axs1bi30.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvtrczt3xd5k4axs1bi30.webp" alt="Kimi official xdev-bench-hard board showing the same model across harnesses" width="800" height="413"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Practical rule I use now: check which harness my pipeline actually runs first. On Claude Code, Opus's 65.8% is the number that matters. On Kimi Code or mini-swe-agent, read Kimi under that harness. Then check whether the work is long-horizon at all — on SWE Marathon v1.1 Kimi is 51.7 against 46.3, a 5.4-point reversal.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 12 points and the half price
&lt;/h2&gt;

&lt;p&gt;A 12-point aggregate gap is a weighted result across a broad task set, not the bug you have tomorrow. Opus's advantage concentrates in a narrow band: HLE-Diamond at 21.5 points, Terminal-Bench-Science at 25.2 points, both roughly double the aggregate gap. If your work is interface changes, tests and module refactors, that weight profile does not apply to you.&lt;/p&gt;

&lt;p&gt;The other two are further away still. MiniMax M3's aggregate of 19 sits below the median for its size class, and GLM-5.4 has no independent score at all. In this band there is no substitute today.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffr9pyhz1snmiw56i16ij.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffr9pyhz1snmiw56i16ij.webp" alt="Kimi Hallu Bench official comparison, lower is better" width="800" height="248"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Reasoning effort moves both the score and the clock, which matters more than most comparisons admit. Artificial Analysis measured Opus at five settings:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;max:&lt;/strong&gt; 59 points, 25.3 minutes per task&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;xhigh:&lt;/strong&gt; 58 points, 16.0 minutes&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;high:&lt;/strong&gt; 52 points, 9.6 minutes&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;medium:&lt;/strong&gt; 48 points, 6.9 minutes&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;low:&lt;/strong&gt; 35 points, 3.0 minutes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The headline score is max. The default medium lands close to Kimi's default, which is part of why benchmark comparisons at different effort levels are not comparisons at all. For hard work I start at xhigh: one point off max, 40% less wall clock.&lt;/p&gt;

&lt;p&gt;The price story needs the same care. A bill is price times tokens, and both move. Opus costs 2.0x Kimi on blended price but 2.73x per task, because Opus emitted 218M tokens across the evaluation run against Kimi's 113M. Against MiniMax the multipliers differ even more: 15.2x on price, 7.8x per task. That difference between multipliers is the lesson — comparing sticker price alone will mislead you in either direction depending on output length.&lt;/p&gt;

&lt;p&gt;Extrapolating per-task costs to a thousand tasks gives $10,040 for Opus, $3,680 for Kimi, $1,290 for MiniMax. That is an extrapolation, not a quote — easier tasks compress all three toward each other.&lt;/p&gt;

&lt;p&gt;Part of the per-task gap is output volume rather than price. A separate public comparison logged twelve common office tasks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Step 5:&lt;/strong&gt; 3.11M tokens, 22.1 minutes&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kimi K3.1 Pro:&lt;/strong&gt; 4.16M tokens, 52.1 minutes&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DeepSeek V4.1 Flash:&lt;/strong&gt; 15.01M tokens, 42.9 minutes&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GLM-5.4:&lt;/strong&gt; 15.45M tokens, 76.8 minutes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Step 5 and DeepSeek V4.1 Flash are there because the original comparison only tested those four models. They are outside this post's scope; I include them to show the scale of the token spread. GLM-5.4's count is 3.7x Kimi's and close to 5x Step 5's, which is how a $2.15 sticker price turns into a large bill.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdn81lx62g508nhirhva6.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdn81lx62g508nhirhva6.webp" alt="Kimi official OfficeQA Pro v2 and Frontier Finance board" width="800" height="234"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  MiniMax and GLM in their own lanes
&lt;/h2&gt;

&lt;p&gt;MiniMax M3 scores 19 on the aggregate, 22nd of 35 open-weight models, below the 23-point median for its class. Cost tells the other half: $0.525 blended, $1.29 per task, 86 output tokens per second, 61.8 seconds to first token. Output speed is below Opus at 114 tokens per second, yet per-task time is only 17.9 minutes against Opus's 25.3 and Kimi's 36.4, because it emits fewer reasoning and output tokens.&lt;/p&gt;

&lt;p&gt;428B total parameters, 23B active, 1M context, native image and video input. I use it for volume work that tolerates human review: ticket classification, invoice field extraction, screenshot archiving, video thumbnail descriptions. I would not hand it architectural debugging — 19 against 59 is a 40-point spread. But in a task like sorting twenty thousand tickets into six categories, how clearly the categories are defined matters as much as the model does.&lt;/p&gt;

&lt;p&gt;GLM-5.4 shipped November 23 and opened its standard API December 2, the first GLM flagship with native vision. It runs 28 base layers twice through a Loop Transformer and uses 750B parameters for what the vendor calls 2T to 3T-class results. Its evaluation material comes from two places: a vendor run of 200 real coding scenarios reporting strong visual coding and long-horizon results, and AICodeKing's private test at 33.2, level with GPT-6.2 Astra at 33.6 and within 5% of Opus at 34.7.&lt;/p&gt;

&lt;p&gt;CAD work disagrees with that picture:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1bmgwexi5a58uq6diwnh.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1bmgwexi5a58uq6diwnh.webp" alt="Kimi official BenchCAD board with GLM-5.3 for reference" width="800" height="198"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Kimi's BenchCAD board, 1000-file subset, Voxel IoU %. With tools, Opus 5.5 reaches 96.2% and Kimi K3.1 Pro 92.7%. Without tools, Kimi 72.8% and GLM-5.3 41.2%.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;GLM appears only as the 5.3 generation, and the with-tools column is not listed. Without tools, 41.2% sits 31.6 points below Kimi's 72.8%. Whether 5.4 closes that depends on figures Zhipu has not published. It belongs inside a subscription quota reading screenshots, not on modelling work that needs spatial reasoning.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting a key and putting four models behind one endpoint
&lt;/h2&gt;

&lt;p&gt;Key creation and auth fields are in &lt;a href="https://docs.crazyrouter.com/authentication" rel="noopener noreferrer"&gt;Crazyrouter's authentication docs&lt;/a&gt;. The key shows once, so store it.&lt;/p&gt;

&lt;p&gt;You have two paths. Direct to each vendor, in which case you need four keys and four invoices:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Anthropic: api.anthropic.com/v1&lt;/li&gt;
&lt;li&gt;Moonshot: api.moonshot.cn/v1&lt;/li&gt;
&lt;li&gt;MiniMax: api.minimax.chat/v1&lt;/li&gt;
&lt;li&gt;Zhipu: open.bigmodel.cn/api/paas/v4&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I probed all four without credentials and got 401 or 403 rather than 404, so the services are live and only missing auth. The real cost of this path is keeping model IDs straight — the same model does not always carry the same ID on the vendor and on a gateway, and that is where switches break.&lt;/p&gt;

&lt;p&gt;Or route through a gateway: one key, one endpoint, and switching models means changing &lt;code&gt;model&lt;/code&gt;. Base URL:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://api.crazyrouter.com/v1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I used the same calling code and swapped only &lt;code&gt;model&lt;/code&gt;, once per model:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;claude-opus-5-5:&lt;/strong&gt; 3.04s, 76 characters, straight to the answer&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;kimi-k3.1-pro:&lt;/strong&gt; 8.10s, 65 characters, slowest of the four&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MiniMax-M3:&lt;/strong&gt; 2.71s, 182 characters, included a &lt;code&gt;&amp;lt;think&amp;gt;&lt;/code&gt; tag&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;glm-5.4:&lt;/strong&gt; 4.08s, 74 characters, straight to the answer&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Prices for all four side by side are on the &lt;a href="https://crazyrouter.com/en/pricing?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=offsite_article&amp;amp;utm_content=cr_3e8a9464291b_mid_text" rel="noopener noreferrer"&gt;pricing page&lt;/a&gt;. Convert against vendor list prices, not promotional rates.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two parameters that broke
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;max_tokens&lt;/code&gt; gets eaten by reasoning tokens.&lt;/strong&gt; A request asking for one character back, with &lt;code&gt;max_tokens&lt;/code&gt; at 16, made Kimi return an empty string and &lt;code&gt;finish_reason: length&lt;/code&gt;. At 200 it answered normally. The usage block showed 35 reasoning tokens for that question. The output allowance covers reasoning plus answer, so a tight allowance truncates the answer to nothing. If a model keeps returning blank, check &lt;code&gt;completion_tokens_details.reasoning_tokens&lt;/code&gt; before you suspect the network.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;MiniMax M3 writes reasoning into the body.&lt;/strong&gt; Responses carry &lt;code&gt;&amp;lt;think&amp;gt;...&amp;lt;/think&amp;gt;&lt;/code&gt;. Put a cleaning step in front of any UI or you are showing users the intermediate work.&lt;/p&gt;

&lt;p&gt;Both come down to the same thing: a gateway unifies endpoints and keys, but &lt;code&gt;max_tokens&lt;/code&gt;, think tags and effort settings are still per-model. One config for four models will break on at least one.&lt;/p&gt;

&lt;h2&gt;
  
  
  The task I actually ran
&lt;/h2&gt;

&lt;p&gt;I wrote a small one: a Python interval-merging function with a broken sort, so overlapping intervals get missed. Output only the corrected function, no explanation. Same gateway, same parameters, one run each.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;claude-opus-5-5:&lt;/strong&gt; 7.28s, 499 output tokens, 0 reasoning, 283 characters. Correct first pass.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;kimi-k3.1-pro:&lt;/strong&gt; 23.06s, 600 output tokens and capped, 562 reasoning, 124 characters. Correct but truncated.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MiniMax-M3:&lt;/strong&gt; 7.98s, 570 output tokens, 496 reasoning, 2603 characters. Correct, derivation included.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;glm-5.4:&lt;/strong&gt; 8.99s, 126 output tokens, 48 reasoning, 254 characters. Correct first pass.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All four fixed it correctly with a proper sort key. The difference was in the overhead. Kimi spent 562 of 600 tokens thinking and left 124 characters. MiniMax wrote 2603 characters. GLM finished in 126.&lt;/p&gt;

&lt;p&gt;GLM-5.4 was cheapest here, which contradicts the twelve-office-task comparison where it burned the most tokens. Probably the task was too small to trigger its long reasoning chain. Single-run token counts swing widely, so treat one measurement as a data point, not a conclusion — which is also why I am not going to tell you these four numbers settle anything.&lt;/p&gt;

&lt;p&gt;Kimi's 23 seconds is worth flagging separately. If you are routing latency-sensitive batch work, that is a bad default regardless of price.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where I would not switch
&lt;/h2&gt;

&lt;p&gt;Architectural debugging, cross-module root causes, derivation-heavy verification: keep Opus. The lead is 21 to 25 points, not a few percent, and retries do not close it.&lt;/p&gt;

&lt;p&gt;Deep ecosystem integration is the other case. If your whole pipeline runs on Claude Code, migration cost can exceed the savings.&lt;/p&gt;

&lt;p&gt;Everything else is worth a trial run. My routing is Opus for hard problems, Kimi for refactors, MiniMax for volume, GLM-5.4 for vision, adjusted afterward from pass rates, latency and invoices.&lt;/p&gt;

&lt;p&gt;If you have moved work off Opus already, I would like to know which task types held up and which you rolled back — that is the part benchmarks cannot tell me.&lt;/p&gt;

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

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Anthropic: anthropic.com&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Kimi: kimi.ai&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;MiniMax: minimax.io&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Zhipu: zhipuai.cn&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Qwen: qwen.ai/blog?id=qwen4-max&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Artificial Analysis: artificialanalysis.ai/models&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;API documentation: &lt;a href="https://docs.crazyrouter.com" rel="noopener noreferrer"&gt;https://docs.crazyrouter.com&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>api</category>
      <category>cost</category>
    </item>
    <item>
      <title>Gemini 4 Neon vs Claude Fable 5.2: A Beginner Tutorial on Measuring Output Tokens Before You Pick</title>
      <dc:creator>boluo</dc:creator>
      <pubDate>Wed, 02 Dec 2026 10:49:04 +0000</pubDate>
      <link>https://dev.to/buluo/gemini-4-neon-vs-claude-fable-52-a-beginner-tutorial-on-measuring-output-tokens-before-you-pick-o3b</link>
      <guid>https://dev.to/buluo/gemini-4-neon-vs-claude-fable-52-a-beginner-tutorial-on-measuring-output-tokens-before-you-pick-o3b</guid>
      <description>&lt;p&gt;I switched a production config based on a comparison table, then spent a month paying for that decision. This post is the re-measurement, plus the three checks I now run before trusting any model comparison.&lt;/p&gt;

&lt;p&gt;The short version for anyone starting out: on the same six tasks, both models answered everything correctly, so accuracy gave me nothing. What separated them was output tokens, and output tokens turned out to be mostly a property of my prompt rather than of the model.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;If your work looks like this&lt;/th&gt;
&lt;th&gt;Use this&lt;/th&gt;
&lt;th&gt;Why&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;single-file code generation, one shot&lt;/td&gt;
&lt;td&gt;Gemini 4 Neon&lt;/td&gt;
&lt;td&gt;same pass rate, under a fifth of the cost once formatting is constrained&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;long tool-calling agent loops&lt;/td&gt;
&lt;td&gt;Gemini 4 Neon, on price alone&lt;/td&gt;
&lt;td&gt;$6.86 vs $15.47 per task at list price, more steps but cheaper&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;repository-wide Q&amp;amp;A, needle in long context&lt;/td&gt;
&lt;td&gt;check SWE-Atlas-QnA and GraphWalks, not a composite score&lt;/td&gt;
&lt;td&gt;the composite gap sits almost entirely in the Q&amp;amp;A subtest&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;shipping patches, driving a terminal&lt;/td&gt;
&lt;td&gt;either&lt;/td&gt;
&lt;td&gt;FrontierCode and Terminal-Bench are within about a point&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;you only get one change today&lt;/td&gt;
&lt;td&gt;add an output format rule to your prompt&lt;/td&gt;
&lt;td&gt;no cost, no vendor change, visible on the invoice same day&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Why I re-ran it at all
&lt;/h2&gt;

&lt;p&gt;The table that misled me had two rows that nobody reads together. One row said 46.2% against 45.3%, a 0.9 point gap, in favour of Gemini 4 Neon. The row underneath, from the same third party, re-ran the same 132 tasks three times each on one shared harness and got 44.4% against 49.1%, in favour of Claude Fable 5.2.&lt;/p&gt;

&lt;p&gt;The direction flipped. That is what happens when you subtract two numbers produced by two different harnesses: you are measuring the gap between harnesses, not between models.&lt;/p&gt;

&lt;p&gt;Two more things I had assumed were stable turned out not to be.&lt;/p&gt;

&lt;p&gt;The leaderboard I was reading ranks model-plus-agent pairs, not models. Gemini 4 Neon's 58.64 was produced inside Antigravity CLI, Claude Fable 5.2's 58.47 inside Claude Code, GPT-6.2 Astra's 53.47 inside Codex. A terminal agent decides what the model can see, which tools it can call, how it retries, how the context gets trimmed. Swap the agent and the number moves. The top five sit inside 0.48 points with no confidence interval published, so 0.17 points is rounding noise wearing a crown.&lt;/p&gt;

&lt;p&gt;And effort, the setting I had never touched, moves a single model further than the gap between models. Claude Fable 5.2 spans 47.96 at low to 58.47 at xhigh, 10.5 points. GPT-6.2 Astra spans 17.9. For reference, Gemini 4 Neon against Astra at their best settings is 5.17 points apart. Every leaderboard flattens each model to one number and erases the variable with the largest range.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I held fixed
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Item&lt;/th&gt;
&lt;th&gt;Setting&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Endpoint&lt;/td&gt;
&lt;td&gt;OpenAI-compatible API, one base URL for both models&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Model IDs&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;gemini-4-neon&lt;/code&gt; and &lt;code&gt;claude-fable-5-2&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Prompt&lt;/td&gt;
&lt;td&gt;byte-identical per task, only the model field changed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Effort&lt;/td&gt;
&lt;td&gt;Gemini 4 Neon pinned to low for the main run, swept separately&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Logged&lt;/td&gt;
&lt;td&gt;pass or fail, output tokens, reasoning tokens, elapsed time&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cost basis&lt;/td&gt;
&lt;td&gt;list price × measured tokens, not the billed amount in the response&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Date&lt;/td&gt;
&lt;td&gt;2 December 2026&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;That cost basis line is not pedantry. One provider returns a &lt;code&gt;cost&lt;/code&gt; field with a breakdown, the other returns nothing comparable. Recompute from list prices or your cross-model numbers are fiction. Input and output are both $3/$15 against $8/$40 per million, a flat 2.67× either way.&lt;/p&gt;

&lt;h2&gt;
  
  
  Six tasks, each with a broken twin
&lt;/h2&gt;

&lt;p&gt;Every task ships with a plausible-but-wrong implementation. Before a task is allowed anywhere near a model, two checks must pass: my correct version passes, the broken version fails. If either flips, the task is dead. Without this, a failure tells you nothing about whether the model or the question is at fault.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Task&lt;/th&gt;
&lt;th&gt;What it probes&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;RFC 6902 JSON Patch, 17 cases&lt;/td&gt;
&lt;td&gt;array insert vs object overwrite, &lt;code&gt;~1&lt;/code&gt;/&lt;code&gt;~0&lt;/code&gt; escape order, move into own subtree must raise, input untouched on failure&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Snowflake ID generator&lt;/td&gt;
&lt;td&gt;no duplicates or wraparound inside one millisecond, monotonic after clock rollback, out-of-range worker_id raises&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;200,000 overlapping intervals under 3 seconds&lt;/td&gt;
&lt;td&gt;a quadratic implementation cannot get there&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Monthly billing with cache discount&lt;/td&gt;
&lt;td&gt;$1,080/day, $32,400/month, item by item&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Architecture defect review, 8 seeded defects&lt;/td&gt;
&lt;td&gt;do both report the same set&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Go concurrency minimal fix&lt;/td&gt;
&lt;td&gt;do both find the root cause&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The patch semantics come from &lt;a href="https://www.rfc-editor.org/rfc/rfc6902" rel="noopener noreferrer"&gt;RFC 6902&lt;/a&gt; rather than from memory, which matters because the trailing edge cases are where naive implementations die.&lt;/p&gt;

&lt;h2&gt;
  
  
  Both models got everything right
&lt;/h2&gt;

&lt;p&gt;Three for three on the hard tasks, both sides. The easier batch matched too: identical billing figures down to the item, correct cache discount, and the same six of my eight seeded defects reported by both, with the two remaining ones turning out to duplicate the first six. That was my checklist being redundant, not the models missing anything.&lt;/p&gt;

&lt;p&gt;Six tasks, six passes, no separation. This is where a comparison table stops being useful, because the thing it measures has saturated.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the money actually goes
&lt;/h2&gt;

&lt;p&gt;The snowflake task opened widest: 9,385 output tokens against 1,986, a 4.7× token gap, and the 2.67× unit price stacks on top for 12.3× overall. The other two hard tasks landed at 5.3× and 1.3×.&lt;/p&gt;

&lt;p&gt;Then the part I did not expect. One line at the end of the prompt, asking for "cause" then "verification command" and nothing else, changed the bill outright.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Config&lt;/th&gt;
&lt;th&gt;Output tokens&lt;/th&gt;
&lt;th&gt;Reasoning tokens&lt;/th&gt;
&lt;th&gt;Cost&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;Neon low, no format rule&lt;/td&gt;
&lt;td&gt;7,525&lt;/td&gt;
&lt;td&gt;6,362&lt;/td&gt;
&lt;td&gt;$0.1138&lt;/td&gt;
&lt;td&gt;90.1s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Neon default, no format rule&lt;/td&gt;
&lt;td&gt;11,479&lt;/td&gt;
&lt;td&gt;10,096&lt;/td&gt;
&lt;td&gt;$0.1725&lt;/td&gt;
&lt;td&gt;170.7s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Neon low, format rule&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;1,304&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;1,019&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$0.0205&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;18.2s&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fable 5.2, no format rule&lt;/td&gt;
&lt;td&gt;3,483&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;$0.1404&lt;/td&gt;
&lt;td&gt;45.1s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Fable 5.2, format rule&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;2,491&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$0.1007&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;28.4s&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Neon shed 82.7% of its output, Fable 5.2 shed 28.5%. Post-constraint, Neon costs under a fifth of Fable 5.2 and finishes 1.6× faster.&lt;/p&gt;

&lt;p&gt;I read both outputs line by line to check nothing got flattened. Same three findings, downstream blocking, lock or connection-pool exhaustion, memory leak, every command runnable. Neon's was marginally sharper, grepping &lt;code&gt;socketRead&lt;/code&gt;, &lt;code&gt;epollWait&lt;/code&gt; and &lt;code&gt;jdbc&lt;/code&gt; where Fable used a bare &lt;code&gt;grep 'at '&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Worth noting: Neon's reasoning tokens fell from 6,362 to 1,019, tracking the output drop almost one to one. Most of that verbosity was going into phrasing. Whether that holds on other tasks I do not know, so do not build a cost model on it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The two failure modes nobody warns you about
&lt;/h2&gt;

&lt;p&gt;Reasoning effort never reaches Claude Fable 5.2 through a compatible endpoint. Three tasks, four effort levels, twelve runs: output tokens came out at 3,462/3,483/2,966/3,795 on one task, 1,500/1,136/1,376/1,259 on the next, 549/580/542/565 on the last, with reasoning tokens flat at zero everywhere. No ordering, no trend, and &lt;code&gt;high&lt;/code&gt; sitting 14% below &lt;code&gt;low&lt;/code&gt; on the first task. The vendor docs say reasoning is always on and defaults to high, controlled by &lt;code&gt;output_config.effort&lt;/code&gt;, so the model is thinking. The compatible layer is dropping both the count and the parameter. Gemini 4 Neon under the same harness climbs cleanly from 1,624 to 2,770.&lt;/p&gt;

&lt;p&gt;Gemini 4 Neon's upper effort levels time out on long tasks. Low returned in 90 seconds, default in 171. High and xhigh, fired twice each in parallel, all four died at 600 seconds. On any path with a timeout budget, only the low setting is real.&lt;/p&gt;

&lt;h2&gt;
  
  
  The false reading I nearly published
&lt;/h2&gt;

&lt;p&gt;My first pass marked both long code tasks as failures, with the error pointing at the opening backtick of a code block. It looked exactly like a model ignoring the format instruction.&lt;/p&gt;

&lt;p&gt;It was the gateway's &lt;code&gt;max_tokens&lt;/code&gt; default of 8,192, cutting the output mid-block so the closing fence never arrived. Re-running with an explicit &lt;code&gt;max_tokens&lt;/code&gt; passed both at 8,899 and 9,385 output tokens, both above 8,192, which confirms it.&lt;/p&gt;

&lt;p&gt;Rule of thumb: when your scorer hits a syntax error, check &lt;code&gt;finish_reason&lt;/code&gt; for &lt;code&gt;length&lt;/code&gt; first. Skip it and you will file a harness bug as a capability problem, and it will look like a real finding.&lt;/p&gt;

&lt;h2&gt;
  
  
  Wiring both models behind one key
&lt;/h2&gt;

&lt;p&gt;Key creation, quota, model scope and the IP allowlist are in &lt;a href="https://docs.crazyrouter.com/authentication?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=offsite_article&amp;amp;utm_content=cr_8c8fd8506c37_mid_text" rel="noopener noreferrer"&gt;Crazyrouter's authentication and key docs&lt;/a&gt;. Here is the part you actually type.&lt;/p&gt;

&lt;p&gt;Create the key, put it in a password manager immediately, keep it in an environment variable. Then change two fields, the base URL and the model name:&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="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;openai&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;

&lt;span class="c1"&gt;# both models share one key and one endpoint, only the model field changes&lt;/span&gt;
&lt;span class="no"&gt;PROMPT&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"Explain in three paragraphs what a prompt is, with one example."&lt;/span&gt;
&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;base_url&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"https://api.crazyrouter.com/v1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;environ&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"CRAZYROUTER_API_KEY"&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;for&lt;/span&gt; &lt;span class="n"&gt;model&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"gemini-4-neon"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&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="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;chat&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;completions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;messages&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="s2"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"user"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"content"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;PROMPT&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;max_tokens&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;32000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="c1"&gt;# run one small call first and check that usage comes back&lt;/span&gt;
    &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;usage&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;prompt_tokens&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;usage&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;completion_tokens&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The IDs are &lt;code&gt;gemini-4-neon&lt;/code&gt; and &lt;code&gt;claude-fable-5-2&lt;/code&gt;. The same task-level thinking, applied to a different pair of everyday models, is written up in the &lt;a href="https://crazyrouter.com/en/blog/claude-haiku-5-5-vs-deepseek-v4-1-flash-everyday-benchmark-2026-en?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=offsite_article&amp;amp;utm_content=cr_8c8fd8506c37_mid_text" rel="noopener noreferrer"&gt;everyday workload benchmark&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Then do the step everyone skips: read the usage block. Whether effort reached upstream and whether reasoning tokens are counted is only visible there. That is how I found the effort problem above, four requests with the same prompt and a zero in the reasoning field every time.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I still cannot tell you
&lt;/h2&gt;

&lt;p&gt;Multi-turn repair is untested. Everything here is single-shot, and real development is fail, paste the error, retry. Long context is second-hand, and the 95.2% on GraphWalks measures retrieval, a layer short of locating the offending file in a million-token repo and fixing it. Close either gap and the ranking can move.&lt;/p&gt;

&lt;p&gt;What holds today, in the conditions above: accuracy cannot separate these two, output tokens can, and output tokens answer to your prompt more than to your model choice.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>benchmark</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>University Research Model Selection: 8 LLMs Compared on Five Tasks You Actually Run</title>
      <dc:creator>boluo</dc:creator>
      <pubDate>Wed, 02 Dec 2026 10:01:53 +0000</pubDate>
      <link>https://dev.to/buluo/university-research-model-selection-8-llms-compared-on-five-tasks-you-actually-run-cj6</link>
      <guid>https://dev.to/buluo/university-research-model-selection-8-llms-compared-on-five-tasks-you-actually-run-cj6</guid>
      <description>&lt;p&gt;&lt;em&gt;Each model ran the same five research tasks under identical parameters. Forty calls, 34 successes, 6 failures — and two of my assumptions did not survive.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;AI assistance disclosure: I used an AI writing tool to organise and edit this article. The test design, the 40 API calls, and every number below come from my own runs.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I want to start with what I got wrong, because it is the reason this article exists in its current shape.&lt;/p&gt;

&lt;p&gt;When I started comparing models for university research work, I assumed the ranking would follow benchmark scores. It did not. Of the eight models I tested, seven got the statistics task right, which means the task told me almost nothing about which to choose. The two models that looked best on paper were not the two I ended up recommending for the work I actually had.&lt;/p&gt;

&lt;p&gt;Here is the comparison in full — the tasks, the numbers, the failures — plus the two assumptions that broke. If you only want the decision procedure, jump to the four-step method.&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%2F2lqbthwdffeymajpklie.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%2F2lqbthwdffeymajpklie.png" alt="A researcher cross-checking paper methods, statistical derivations, and analysis code while choosing a model" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I tested, and how I kept the comparison honest
&lt;/h2&gt;

&lt;p&gt;Five tasks, eight models, one compatible endpoint. Only the model ID changed between runs — temperature, max tokens, and every other generation parameter stayed fixed. Forty calls total: 34 succeeded, 6 failed. Costs are converted from published list prices.&lt;/p&gt;

&lt;p&gt;The eight models were &lt;code&gt;claude-sonnet-5&lt;/code&gt;, &lt;code&gt;gpt-6.1-sol&lt;/code&gt;, &lt;code&gt;gemini-3.1-pro&lt;/code&gt;, &lt;code&gt;gemini-3-flash&lt;/code&gt;, &lt;code&gt;deepseek-v4-pro&lt;/code&gt;, &lt;code&gt;deepseek-v4-flash&lt;/code&gt;, &lt;code&gt;kimi-k3.1-pro&lt;/code&gt;, and &lt;code&gt;qwen3.8-max&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The five tasks, each with a pass criterion decided before I ran anything:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Abstract field extraction.&lt;/strong&gt; Pull five fields from a single abstract — research question, method, dataset, main finding, author-stated limitation. Anything not stated must come back as "not mentioned." The abstract deliberately says "three public datasets and two in-house medical datasets" without naming any of them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Derivation error localisation.&lt;/strong&gt; A statistical derivation with an error planted at step 3: after replacing the unknown σ with the sample standard deviation s, it still claims a standard normal distribution. Step 4 gives a 1.96 confidence interval; step 5 claims the interval is exact at n&amp;lt;30.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Analysis code generation.&lt;/strong&gt; Longitudinal data with repeated measures. Produce descriptive statistics, choose the right test, plot with error bars, list the assumptions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;English abstract polishing.&lt;/strong&gt; Rewrite a Chinglish abstract to publishable academic English, preserving hedges, adding no data, staying under 110 words.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Citation verification.&lt;/strong&gt; Five representative papers on protein language models for enzyme activity prediction, with title, first author, journal, year, and DOI. Flag anything uncertain.&lt;/p&gt;

&lt;p&gt;One caveat that constrains everything: each model ran each task exactly once. Single-run latency is sensitive to network conditions. If you are picking a long-term standard, run several and take a median. The numbers below are this one set of 40 calls.&lt;/p&gt;

&lt;h2&gt;
  
  
  Assumption one: benchmarks would tell me which model to use
&lt;/h2&gt;

&lt;p&gt;This is the assumption that broke first, and it broke on the statistics task.&lt;/p&gt;

&lt;p&gt;Seven of eight models located the error at step 3 and named the correct distribution. That is a 7/8 pass rate, which is useless as a discriminator. I had designed the task expecting separation and got almost none.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;gpt-6.1-sol&lt;/code&gt; did it in 17.3 seconds and 1,105 tokens:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Step 3&lt;/strong&gt;: Incorrect. Replacing the fixed parameter σ with a random s changes the distribution of the test statistic. The correct result is T = (X̄−μ)/(s/√n) ~ t_{n−1}.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 5&lt;/strong&gt;: Incorrect, and the interval needs disambiguating. If it refers to the 1.96s/√n interval from step 4, it generally cannot deliver exact 95% coverage at small samples. At n=10, use t_{0.975,9}≈2.262.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;code&gt;deepseek-v4-pro&lt;/code&gt; also got it right, at 5,115 tokens and 70 seconds — more than four times the output for the same answer.&lt;/p&gt;

&lt;p&gt;Only &lt;code&gt;gemini-3-flash&lt;/code&gt; missed the distribution entirely. It said "small samples are imprecise" without noting that the substitution changes the distribution itself, which is the actual error.&lt;/p&gt;

&lt;p&gt;But the more interesting observation is what none of them did. All eight supplied the two standard caveats — independence, normality — and not one asked whether the sample in the problem was plausibly independent. A standard derivation problem tests whether a model knows the standard answer. It does not test whether the model will interrogate the problem statement.&lt;/p&gt;

&lt;p&gt;If your workflow depends on a model catching a badly-posed question rather than a badly-executed answer, this task class tells you nothing. I had to find that out by running it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Assumption two: the cheaper list price means the cheaper task
&lt;/h2&gt;

&lt;p&gt;This one broke on the cost table, and it is the finding I would most want a beginner to take away.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;gemini-3-flash&lt;/code&gt; stayed under seven seconds on all five tasks and averaged $0.00199 per call — one fourteenth of &lt;code&gt;gemini-3.1-pro&lt;/code&gt; at $0.02782. For bulk triage that is not a marginal difference. It is the difference between screening a thousand abstracts and screening fifty.&lt;/p&gt;

&lt;p&gt;Then the ranking flips.&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;Literature&lt;/th&gt;
&lt;th&gt;Derivation&lt;/th&gt;
&lt;th&gt;Code&lt;/th&gt;
&lt;th&gt;Polishing&lt;/th&gt;
&lt;th&gt;Citation&lt;/th&gt;
&lt;th&gt;Avg cost/call&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;gemini-3-flash&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;1.7s&lt;/td&gt;
&lt;td&gt;4.7s&lt;/td&gt;
&lt;td&gt;6.4s&lt;/td&gt;
&lt;td&gt;2.5s&lt;/td&gt;
&lt;td&gt;7.0s&lt;/td&gt;
&lt;td&gt;$0.00199&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;deepseek-v4-flash&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;2.5s&lt;/td&gt;
&lt;td&gt;28.6s&lt;/td&gt;
&lt;td&gt;35.7s&lt;/td&gt;
&lt;td&gt;6.7s&lt;/td&gt;
&lt;td&gt;35.8s&lt;/td&gt;
&lt;td&gt;$0.00477&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;gpt-6.1-sol&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;4.3s&lt;/td&gt;
&lt;td&gt;17.3s&lt;/td&gt;
&lt;td&gt;47.9s&lt;/td&gt;
&lt;td&gt;4.6s&lt;/td&gt;
&lt;td&gt;29.9s&lt;/td&gt;
&lt;td&gt;$0.01236&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;qwen3.8-max&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;7.9s&lt;/td&gt;
&lt;td&gt;120.8s&lt;/td&gt;
&lt;td&gt;failed&lt;/td&gt;
&lt;td&gt;14.9s&lt;/td&gt;
&lt;td&gt;failed&lt;/td&gt;
&lt;td&gt;$0.01304&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;deepseek-v4-pro&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;6.7s&lt;/td&gt;
&lt;td&gt;70.0s&lt;/td&gt;
&lt;td&gt;433.8s&lt;/td&gt;
&lt;td&gt;7.5s&lt;/td&gt;
&lt;td&gt;82.3s&lt;/td&gt;
&lt;td&gt;$0.01880&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;kimi-k3.1-pro&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;11.8s&lt;/td&gt;
&lt;td&gt;62.0s&lt;/td&gt;
&lt;td&gt;failed&lt;/td&gt;
&lt;td&gt;failed&lt;/td&gt;
&lt;td&gt;failed&lt;/td&gt;
&lt;td&gt;$0.02347&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;claude-sonnet-5&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;18.6s&lt;/td&gt;
&lt;td&gt;35.2s&lt;/td&gt;
&lt;td&gt;failed&lt;/td&gt;
&lt;td&gt;17.5s&lt;/td&gt;
&lt;td&gt;91.5s&lt;/td&gt;
&lt;td&gt;$0.02407&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;gemini-3.1-pro&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;128.2s&lt;/td&gt;
&lt;td&gt;28.3s&lt;/td&gt;
&lt;td&gt;125.9s&lt;/td&gt;
&lt;td&gt;11.6s&lt;/td&gt;
&lt;td&gt;77.5s&lt;/td&gt;
&lt;td&gt;$0.02782&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;code&gt;gpt-6.1-sol&lt;/code&gt; averages $0.01236 per call, cheaper than &lt;code&gt;deepseek-v4-pro&lt;/code&gt; at $0.01880 — even though &lt;code&gt;deepseek-v4-pro&lt;/code&gt; has a lower list price per token. The reason is volume: it produced 11,031 tokens on the code task where &lt;code&gt;gpt-6.1-sol&lt;/code&gt; produced 3,088.&lt;/p&gt;

&lt;p&gt;Your bill tracks output tokens far more than it tracks the price column. Converting list price into a per-task cost requires measuring how much the model talks, and that varied by a factor of three across this set.&lt;/p&gt;

&lt;p&gt;Two different kinds of slowness also showed up, and they need different fixes. &lt;code&gt;gemini-3.1-pro&lt;/code&gt; spent 128.2 seconds on literature extraction and emitted only 802 tokens — the time went somewhere other than generation. &lt;code&gt;deepseek-v4-pro&lt;/code&gt; spent 433.8 seconds because it generated 11,031 tokens, and that kind of slowness responds to a maximum output length setting.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the models actually differed
&lt;/h2&gt;

&lt;p&gt;Three tasks produced clean separation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Code generation.&lt;/strong&gt; Five of eight completed; three failed. &lt;code&gt;kimi-k3.1-pro&lt;/code&gt; returned HTTP 400, &lt;code&gt;claude-sonnet-5&lt;/code&gt; hit an upstream 429, &lt;code&gt;qwen3.8-max&lt;/code&gt; timed out. All five that finished chose a linear mixed-effects model with subject ID as a random intercept — correct, since repeated-measures data cannot be treated as independent samples for a t-test.&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;Time&lt;/th&gt;
&lt;th&gt;Output tokens&lt;/th&gt;
&lt;th&gt;Result&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;deepseek-v4-flash&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;35.7s&lt;/td&gt;
&lt;td&gt;7,573&lt;/td&gt;
&lt;td&gt;Complete structure&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;gpt-6.1-sol&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;47.9s&lt;/td&gt;
&lt;td&gt;3,088&lt;/td&gt;
&lt;td&gt;Complete structure&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;gemini-3.1-pro&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;125.9s&lt;/td&gt;
&lt;td&gt;3,422&lt;/td&gt;
&lt;td&gt;Complete structure&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;deepseek-v4-pro&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;433.8s&lt;/td&gt;
&lt;td&gt;11,031&lt;/td&gt;
&lt;td&gt;Complete structure&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;What I did not verify: that the code runs on real data. I checked that it executes, that the plot has error bars, and that the comments state the assumptions. &lt;strong&gt;I did not run it against actual measurements or compare outputs to a known-good result.&lt;/strong&gt; What is being evaluated is the skeleton. A skeleton saves an afternoon, but it is not a statistical conclusion.&lt;/p&gt;

&lt;p&gt;Two of the three failures were request-layer problems, which means they had nothing to do with model quality and everything to do with batch reliability. One 400 in a fifty-document run stops the whole script unless you have written the retry and fallback logic first.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;English polishing.&lt;/strong&gt; &lt;code&gt;claude-sonnet-5&lt;/code&gt; (789 tokens, 17.5s) turned both problems into defensible academic prose:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Original: more and more researchers begin to pay attention to...&lt;br&gt;
Revised: has garnered increasing attention&lt;/p&gt;

&lt;p&gt;Original: the model is too big and the speed is slow&lt;br&gt;
Revised: notable limitations remain in model size and inference speed&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The second is the only response in the set that converted a colloquial complaint into a hedged academic claim. &lt;code&gt;gpt-6.1-sol&lt;/code&gt; used 104 tokens and stayed close to word-for-word substitution — an advantage when you only want light editing, because the meaning has less room to drift.&lt;/p&gt;

&lt;p&gt;The test is easy to apply yourself. Put the revision beside the original. If terminology and connective structure are untouched and only synonyms moved, you are getting light editing. If sentence structure has been rebuilt and causal relationships reorganised, you are getting a rewrite. Different jobs, different models.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Citation verification.&lt;/strong&gt; This produced the widest spread and the most useful warning.&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;Listed&lt;/th&gt;
&lt;th&gt;DOI resolves&lt;/th&gt;
&lt;th&gt;Fabricated&lt;/th&gt;
&lt;th&gt;Info error&lt;/th&gt;
&lt;th&gt;Flagged uncertainty&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;claude-sonnet-5&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;gpt-6.1-sol&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;gemini-3.1-pro&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;deepseek-v4-pro&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;deepseek-v4-flash&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;gemini-3-flash&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;code&gt;claude-sonnet-5&lt;/code&gt; returned five resolvable DOIs, zero fabrications, zero information errors, and a confidence level on every entry. Three entries were flagged uncertain and all three turned out to be real — the outcome you want, because it narrows your manual check to the entries the model already told you to check.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;deepseek-v4-flash&lt;/code&gt; produced both a fabrication and a misattribution. The UniKP paper's DOI &lt;code&gt;10.1038/s41467-023-43216-1&lt;/code&gt; returns 404. A second entry, labelled "Deep learning-based prediction of enzyme turnover numbers" with DOI &lt;code&gt;10.1038/s41929-022-00788-1&lt;/code&gt;, resolves to a 2022 Xie et al. paper on CO₂ electroreduction — unrelated to enzyme kinetics. &lt;code&gt;gemini-3-flash&lt;/code&gt; was blunter: one 404, plus the ESM-2 structure prediction paper listed as a representative work on enzyme activity prediction. Title and authors correct, purpose wrong.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fabrication is detectable. Detail errors are not.&lt;/strong&gt; A 404 announces itself. A misspelled author name or a half-remembered title with a working DOI does not, and it is exactly the kind of error that survives a quick review. So the acceptance criterion is not "find a model that never errs." It is "find a model that tells you which entries to check." Verify the way you would verify a &lt;a href="https://doi.org/10.1126/science.adf2465" rel="noopener noreferrer"&gt;CLEAN paper's doi.org record&lt;/a&gt; — author, title, journal, all three, not just whether the link opens.&lt;/p&gt;

&lt;h2&gt;
  
  
  The spec sheet, and what it cannot tell you
&lt;/h2&gt;

&lt;p&gt;Architecture matters, but it explains less than the marketing suggests. Parameters and architecture come from vendor model cards; closed models do not publish either.&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;Architecture&lt;/th&gt;
&lt;th&gt;Total / active params&lt;/th&gt;
&lt;th&gt;Context&lt;/th&gt;
&lt;th&gt;Output cap&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;deepseek-v4-pro&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;MoE, CSA + HCA hybrid attention&lt;/td&gt;
&lt;td&gt;1.6T / 49B&lt;/td&gt;
&lt;td&gt;1M&lt;/td&gt;
&lt;td&gt;endpoint&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;deepseek-v4-flash&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;MoE, same&lt;/td&gt;
&lt;td&gt;284B / 13B&lt;/td&gt;
&lt;td&gt;1M&lt;/td&gt;
&lt;td&gt;endpoint&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;kimi-k3.1-pro&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;MoE, KDA + AttnRes, 896 experts, 16 active&lt;/td&gt;
&lt;td&gt;2.8T / 104B&lt;/td&gt;
&lt;td&gt;1M&lt;/td&gt;
&lt;td&gt;endpoint&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;qwen3.8-max&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Sparse MoE + hybrid attention&lt;/td&gt;
&lt;td&gt;2.4T / 95B&lt;/td&gt;
&lt;td&gt;1M&lt;/td&gt;
&lt;td&gt;endpoint&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;claude-sonnet-5&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;undisclosed (closed)&lt;/td&gt;
&lt;td&gt;undisclosed&lt;/td&gt;
&lt;td&gt;1M&lt;/td&gt;
&lt;td&gt;128K&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;gemini-3.1-pro&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;native multimodal (Gemini 3 Pro)&lt;/td&gt;
&lt;td&gt;undisclosed&lt;/td&gt;
&lt;td&gt;1.049M&lt;/td&gt;
&lt;td&gt;65K&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;gpt-6.1-sol&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;undisclosed (closed), reasoning tokens&lt;/td&gt;
&lt;td&gt;undisclosed&lt;/td&gt;
&lt;td&gt;1.05M&lt;/td&gt;
&lt;td&gt;128K&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;gemini-3-flash&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;native multimodal&lt;/td&gt;
&lt;td&gt;undisclosed&lt;/td&gt;
&lt;td&gt;1M&lt;/td&gt;
&lt;td&gt;endpoint&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Three specification traps worth naming:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Context window is not long-document capability.&lt;/strong&gt; DeepSeek V4's card states that at 1M tokens of context, per-token inference FLOPs are 27% of V3.2's and KV cache is 10%. Kimi K3 markets 2.5x scaling efficiency over K2. Those numbers mean loading an 800-page monograph into one context has moved from unthinkable to worth trying. They mean nothing about whether it works. The longest input in this entire test was one page of abstract.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Output ceilings bind first.&lt;/strong&gt; &lt;code&gt;gemini-3.1-pro&lt;/code&gt; caps output at 65,000 tokens against 128,000 for &lt;code&gt;claude-sonnet-5&lt;/code&gt; and &lt;code&gt;gpt-6.1-sol&lt;/code&gt;. For a long literature review you hit the ceiling before the window.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Closed models cannot be ranked by parameter count.&lt;/strong&gt; "Which is smarter" is not inferable from specification. It has to be measured, which is the entire reason this test exists.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Safety alignment behaves similarly — the published detail varies far more than the capability does. &lt;code&gt;claude-sonnet-5&lt;/code&gt;'s system card is the most thorough, positioning the model as "very low alignment risk, slightly higher than the previous Sonnet" and noting limited uplift for threat actors who lacked the relevant capability already. It also documents a behavioural tendency: asking about intended use early in a conversation, before doing the work. The card concedes this raises the over-refusal rate — better at blocking malicious requests in code security testing, more likely to misfire on legitimate research requests.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;gpt-6.1-sol&lt;/code&gt; exposes reasoning depth as a parameter across five tiers (low, medium as default, high, xhigh, max). The default is conservative; for a legitimate request that needs deeper analysis, raising the tier makes the model more willing to engage with the conditions instead of declining outright. Gemini 3.1 Pro's new MEDIUM tier follows the same logic.&lt;/p&gt;

&lt;p&gt;The Chinese vendors publish less. DeepSeek V4's card mentions three reasoning modes but does not disclose fine-grained refusal-rate testing the way Anthropic does. That is not a capability gap — it is an information gap, and for a lab that has to tell an ethics committee which model was used and how it handles sensitive requests, it is a practical obstacle. A model with a public system card lets you write the methods section. A model without one leaves you writing "we used model X" with nothing to cite.&lt;/p&gt;

&lt;p&gt;My own practice is to split the workflow: pathogen, toxin, and population-genetics work goes to models with public system cards, and the experiment log records the model version and the reasoning tier in use.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sending data: direct access and gateway access are different problems
&lt;/h2&gt;

&lt;p&gt;Before any of the above matters, the data has to be allowed to leave.&lt;/p&gt;

&lt;p&gt;The published commitments for direct API access are reasonably clear and not identical. &lt;strong&gt;Anthropic&lt;/strong&gt; does not train on commercial-tier data by default, deletes within 30 days, zero-retention on application. &lt;strong&gt;Kimi&lt;/strong&gt; does not train on API data and does not persist it for training purposes, with enterprise ZDR. &lt;strong&gt;Alibaba Cloud Qwen&lt;/strong&gt; commits under clause 6.2.5 not to train on conversation data, retention limited to service necessity, in-country storage. &lt;strong&gt;DeepSeek&lt;/strong&gt; trains by default on the web interface with an opt-out, and API terms differ from web terms. &lt;strong&gt;OpenAI and Google&lt;/strong&gt; do not train on paid API data, retention per contract, regional configuration available.&lt;/p&gt;

&lt;p&gt;Now the part that changes the calculation. If you route through a gateway — and most research groups do, because it is one key and one billing relationship instead of eight — the vendor commitment is not the whole chain. I went through the gateway's public technical documentation looking for a privacy policy, a log retention period, or a statement about whether request bodies are recorded. What the documentation confirms is three mechanics: requests are forwarded to upstream provider channels, uploaded files are staged to temporary object storage paths, and the platform exposes a log query interface.&lt;/p&gt;

&lt;p&gt;Whether request bodies are persisted, for how long, and whether they are used for anything else is not addressed.&lt;/p&gt;

&lt;p&gt;That does not make the gateway a bad choice. It makes one link in the chain unverifiable from public information, which means the burden falls on you to confirm it with the provider in writing before the first sensitive upload. For unpublished data, that conversation is not optional.&lt;/p&gt;

&lt;p&gt;The triage I use:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Published content and public abstracts&lt;/strong&gt; — any model, no confidentiality friction.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unpublished but non-core drafts&lt;/strong&gt; — a direct commercial API with explicit privacy terms, or desensitise first.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unpublished core data&lt;/strong&gt; — original measurements, sequences, synthesis routes — local deployment, or a signed zero-retention confirmation.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Local deployment is genuinely available. DeepSeek V4 ships under an MIT licence, so &lt;code&gt;deepseek-v4-pro&lt;/code&gt; (1.6T total, 49B active) and &lt;code&gt;deepseek-v4-flash&lt;/code&gt; (284B total, 13B active) can both be pulled into your own racks. The barrier is hardware: nobody's departmental cluster runs a 1.6T model at full precision, and the 284B &lt;code&gt;flash&lt;/code&gt; variant is the realistic option.&lt;/p&gt;

&lt;p&gt;One distinction that gets lost constantly: &lt;strong&gt;"not used for training" is not the same as "not retained."&lt;/strong&gt; These are separate mechanisms. A provider can honour a strict no-training commitment and still keep your request body for 30 days for safety audit purposes. For unpublished core data, thirty days on someone else's server is still a thirty-day exposure window. Ask three questions before you sign: is it stored, for how long, and where.&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%2F8exv38j9pjs7hbjg5bov.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%2F8exv38j9pjs7hbjg5bov.png" alt="Redacting identifying information and minimising data before sending research material" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Desensitising before you send: four steps that actually remove risk
&lt;/h2&gt;

&lt;p&gt;Policy lowers risk. It does not eliminate it. The step that eliminates it happens before you press send.&lt;/p&gt;

&lt;p&gt;Three categories of data carry most of the exposure. Direct identifiers — names, ID numbers, medical record numbers, phone numbers — cannot be un-leaked. Unpublished core data — raw values, sequences, formulations, patent disclosures — loses novelty the moment it leaves. And the one people miss: quasi-identifier combinations.&lt;/p&gt;

&lt;p&gt;A 45-year-old woman at a provincial university with a specific rare disease is not identifiable from any one field. Combined, those four fields may point at exactly one person. Deleting the name does not help. You need generalisation.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Step&lt;/th&gt;
&lt;th&gt;Action&lt;/th&gt;
&lt;th&gt;Why it matters&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;Send only what is needed&lt;/td&gt;
&lt;td&gt;Polishing an abstract does not require the raw data table&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;Replace identifiers&lt;/td&gt;
&lt;td&gt;The same subject must map to the same code throughout&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;Bin or perturb values&lt;/td&gt;
&lt;td&gt;Record what changed; state it in the methods section&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;Scan before sending&lt;/td&gt;
&lt;td&gt;Catch fixed-format identifiers automatically&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Step one costs nothing and removes most of the risk. If the model is polishing an abstract, it does not need the raw data table. If it is reviewing statistical methods, it does not need the subject roster. Step two requires consistency: the same subject must map to the same code (something like &lt;code&gt;SUBJ_01&lt;/code&gt;) across the whole document, or the model's grouped analysis will be wrong for reasons you cannot see. Step three handles continuous variables by binning — exact age to age band, precise concentration to order of magnitude — and whatever you change goes in the lab notebook so the methods section is honest.&lt;/p&gt;

&lt;p&gt;Step four is a scan before sending, because human review misses things in long text. Catching the common fixed formats is enough: load &lt;code&gt;re&lt;/code&gt; in a local script and match national ID &lt;code&gt;[1-9]\d{5}(19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])\d{3}[\dXx]&lt;/code&gt;, mobile &lt;code&gt;1[3-9]\d{9}&lt;/code&gt;, email &lt;code&gt;[\w.+-]+@[\w-]+\.[\w.]+&lt;/code&gt;, unified social credit code &lt;code&gt;[0-9A-HJ-NPQRTUWXY]{18}&lt;/code&gt;, bank card &lt;code&gt;\d{16,19}&lt;/code&gt;, then print the first six characters of each hit with &lt;code&gt;***&lt;/code&gt; appended. It is not exhaustive. It catches the specific mistake of pasting an entire record that still contains a phone number.&lt;/p&gt;

&lt;p&gt;Three mistakes I have made repeatedly. Treating desensitisation as a one-time action, so that a clean first message gets followed by the original spreadsheet when you add context in round three. Writing "this is desensitised data" in the prompt, which invites the model to adjust its output around that claim. And checking only the input while the model echoes a residual identifier back into its answer. Every send gets the scan; every returned result gets checked again before it goes into a paper.&lt;/p&gt;

&lt;h2&gt;
  
  
  A beginner tutorial for picking your own model
&lt;/h2&gt;

&lt;p&gt;Here is the procedure I would hand to someone starting from nothing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: clear the data gate first.&lt;/strong&gt; If you are working with unpublished or restricted material, confirm the retention terms of the channel you are actually calling. If that does not clear, switch to a local model or desensitise — do not start comparing quality, because quality is irrelevant for data you cannot send.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: build a ten-minute test set from your own work.&lt;/strong&gt; One abstract from your field. One derivation where you already know the answer. One short script you have written before. The point is not to be rigorous; the point is to be specific to you. Generic benchmarks are how you end up with the situation I started this article with.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: check the outputs line by line, not the summary.&lt;/strong&gt; Did any field go missing? Did it localise the error at the right step? Do the author names and years match the actual papers? Does the code run against your data? A model that writes a confident summary of a wrong answer will pass a skim.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4: only now look at latency and cost.&lt;/strong&gt; Keep one primary and one backup, where the backup exists to absorb the occasional upstream 429 or timeout. Preparing your own test material and defining pass criteria costs nothing; running the comparison is a few cents per model at these token volumes.&lt;/p&gt;

&lt;p&gt;Prices here are converted from vendor list pricing. For an up-to-date comparison across more models than eight, search the model name on the &lt;a href="https://crazyrouter.com/en/pricing?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=offsite_article&amp;amp;utm_content=cr_c93e7f3439f3_mid_text" rel="noopener noreferrer"&gt;pricing page&lt;/a&gt; rather than trusting a snapshot.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reproducing this on your own data
&lt;/h2&gt;

&lt;p&gt;Every one of the forty calls went through a single OpenAI-compatible endpoint. Key creation, quota limits, permitted model scope, and IP allowlisting are documented in &lt;a href="https://docs.crazyrouter.com/authentication" rel="noopener noreferrer"&gt;Crazyrouter's authentication and key documentation&lt;/a&gt;; below is only the part you actually run.&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="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;openai&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;

&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"YOUR_CRAZYROUTER_KEY"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;base_url&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"https://api.crazyrouter.com/v1"&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;chat&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;completions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"gpt-6.1-sol"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;messages&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="s2"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"system"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"content"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"You are extracting structured fields. Return 'not mentioned' for anything the abstract omits."&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="s2"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"user"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"content"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;ABSTRACT_TEXT&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;temperature&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;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Swap &lt;code&gt;model&lt;/code&gt; for &lt;code&gt;claude-sonnet-5&lt;/code&gt;, &lt;code&gt;deepseek-v4-pro&lt;/code&gt;, or &lt;code&gt;gemini-3.1-pro&lt;/code&gt; and nothing else changes. Model IDs are not identical across vendors, so check the &lt;a href="https://crazyrouter.com/en/models" rel="noopener noreferrer"&gt;model directory&lt;/a&gt; for the exact gateway-side string before you hardcode one.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this comparison does and does not answer
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;It answers:&lt;/strong&gt; whether eight models can pull five fields from an abstract (yes, all of them, which makes it a poor discriminator), whether seven of eight can localise a derivation error at step 3 (yes), whether five can produce working analysis code (yes, with three request-layer failures), how polishing splits by rewrite depth, and how citation quality varies from five-of-five-resolvable to two fabricated entries.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It does not answer:&lt;/strong&gt; long-context work across dozens of papers, scanned pages and figure recognition, whether the statistical conclusions are correct on real data, or whether any of this holds in a different discipline. None of those were tested, and the specification table is not a substitute.&lt;/p&gt;

&lt;p&gt;The criterion I built these five tasks around was not "can the model produce the right answer" but "can I verify the answer." A capability you cannot check does not exist as far as your workflow is concerned. When you pick a model, the first question is not where it ranks. It is which parts of your work you can check mechanically — and then you build the test around those.&lt;/p&gt;

&lt;p&gt;I got two assumptions wrong before I started. The second one cost me a week of looking at the wrong column.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>research</category>
      <category>llm</category>
      <category>benchmark</category>
    </item>
    <item>
      <title>AQBot Tutorial for Beginners: Installing and Configuring the Desktop Client</title>
      <dc:creator>boluo</dc:creator>
      <pubDate>Wed, 02 Dec 2026 08:40:23 +0000</pubDate>
      <link>https://dev.to/buluo/aqbot-tutorial-for-beginners-installing-and-configuring-the-desktop-client-19od</link>
      <guid>https://dev.to/buluo/aqbot-tutorial-for-beginners-installing-and-configuring-the-desktop-client-19od</guid>
      <description>&lt;p&gt;Installing three or four AI clients is easy. Keeping them consistent is not. Every tool stores its own key, the same model carries a different name in each one, and changing models means walking the whole setup again. The time goes into not knowing which field takes what — never into the clicking.&lt;/p&gt;

&lt;p&gt;AQBot is an open-source desktop client written in Rust and Tauri. It runs on Windows, macOS and Linux, ships as an installer under 35MB, and puts multi-provider chat, AI agents, MCP tools, a local knowledge base and a local API gateway in one window. Application data and user files stay on your machine. It carries no models of its own; every capability comes from whatever providers you attach. That is why the provider field is where a first-time user stops.&lt;/p&gt;

&lt;p&gt;This is the order I walked through the first time I opened it, and following it takes you end to end. One error I ran into is placed before the success, because that is where it happened.&lt;/p&gt;

&lt;h2&gt;
  
  
  What AQBot is, and why the installer stays small
&lt;/h2&gt;

&lt;p&gt;Most cross-platform AI clients are built on Electron. Mature, but heavy. AQBot takes the other route: Rust plus Tauri, which keeps both the footprint and the memory load modest. The current release is v0.0.167, published 2026-11-30. The Windows x64 installer is 29.9MB and the macOS Apple-silicon dmg is 32.1MB. Leaving it running does not slow the machine down.&lt;/p&gt;

&lt;p&gt;What it covers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Multi-provider&lt;/strong&gt; — built-in OpenAI, Anthropic, Gemini, DeepSeek, Qwen, Zhipu, xAI and AWS Bedrock, plus any OpenAI-compatible endpoint&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multi-model comparison&lt;/strong&gt; — one question to several models at once, answers side by side&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model management&lt;/strong&gt; — remote sync, grouping, latency tests, per-model temperature, max tokens and Top-P&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multi-key rotation&lt;/strong&gt; — several keys per provider, rotated per request&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Streaming output&lt;/strong&gt; — token by token, with collapsible reasoning blocks&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Message versions and branches&lt;/strong&gt; — regenerate or edit into a new branch without losing the old one&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Long-conversation compression&lt;/strong&gt; — automatic history compression that keeps the essentials&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Knowledge base and web search&lt;/strong&gt; — local document indexing, plus Tavily, Exa and Zhipu WebSearch&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MCP tools&lt;/strong&gt; — stdio, SSE and StreamableHTTP transports&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local API gateway&lt;/strong&gt; — exposes four native protocols to other CLI tools on the same machine&lt;/li&gt;
&lt;/ul&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%2Fff0k1m5vewtzsenh8ozy.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%2Fff0k1m5vewtzsenh8ozy.png" alt="The AQBot window right after first launch" width="578" height="350"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Two agent mechanisms get confused often, so separate them before starting. Agent mode inside a chat uses the provider API you configure in Settings. The ACP Agent workbench is a different path: it launches coding agents already installed on your machine, such as Codex, Claude Agent or Gemini CLI, and those carry their own model configuration. Open ACP for the first time and you get a notice asking you to enable at least one agent in Settings.&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%2Fcyoqqspq271skmh96cb9.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%2Fcyoqqspq271skmh96cb9.png" alt="The ACP workbench in its empty state" width="800" height="454"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Download and install, one minute per platform
&lt;/h2&gt;

&lt;p&gt;Go to the &lt;a href="https://app.aqbot.top/en/download" rel="noopener noreferrer"&gt;official download page&lt;/a&gt; and pick the package for your system. Every build is under 35MB.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Windows x64&lt;/strong&gt; — &lt;code&gt;AQBot_0.0.167_x64-setup.exe&lt;/code&gt;, 29.9MB&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Windows ARM64&lt;/strong&gt; — &lt;code&gt;AQBot_0.0.167_arm64-setup.exe&lt;/code&gt;, 28.5MB&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;macOS Apple silicon&lt;/strong&gt; — &lt;code&gt;AQBot_0.0.167_aarch64.dmg&lt;/code&gt;, 32.1MB&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;macOS Intel&lt;/strong&gt; — &lt;code&gt;AQBot_0.0.167_x64.dmg&lt;/code&gt;, 33.9MB&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Linux x64&lt;/strong&gt; — &lt;code&gt;AQBot_0.0.167_amd64.AppImage&lt;/code&gt; or &lt;code&gt;.deb&lt;/code&gt;, 108.5MB / 34.0MB&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On Windows, run the installer and follow the wizard. A portable zip exists if you would rather not install.&lt;/p&gt;

&lt;p&gt;On macOS, open the dmg and drag AQBot into Applications. Current builds are signed with an Apple Developer ID and notarised, so it opens without touching Gatekeeper and without any terminal command. If you have seen &lt;code&gt;sudo xattr -dr com.apple.quarantine&lt;/code&gt; in an older tutorial, that applied to unsigned builds and no longer does. The exception is upgrading from one: if the text-selection toolbar stops working, remove the old AQBot under System Privacy &amp;amp; Security → Accessibility and add it again.&lt;/p&gt;

&lt;p&gt;On Linux, install the local package with &lt;code&gt;sudo apt install ./AQBot_0.0.167_amd64.deb&lt;/code&gt;, or grant the AppImage execute permission and run it.&lt;/p&gt;

&lt;p&gt;Windows security software sometimes flags an unfamiliar installer. Confirm the source is the official repository before allowing it.&lt;/p&gt;

&lt;p&gt;After launch there are no models available and the left column reads no conversations yet. Everything from here happens in Settings.&lt;/p&gt;

&lt;h2&gt;
  
  
  Six things to prepare
&lt;/h2&gt;

&lt;p&gt;Cheap now, expensive later.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;System and architecture.&lt;/strong&gt; Windows 10 (1803) or later. On macOS check the chip: Apple silicon takes aarch64, Intel takes x64. On Linux, &lt;code&gt;uname -m&lt;/code&gt; tells you, with x86_64 mapping to amd64. A wrong-architecture build either will not open or quits immediately, and configuration cannot fix it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Read the key once.&lt;/strong&gt; Console keys show their full value only at creation. Close the page and a few characters at each end remain. Name it by purpose and move it into a password manager immediately.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Copy the model ID first.&lt;/strong&gt; Naming differs between endpoints, and some append a version suffix. Confirm the exact ID before syncing. Doing it the other way round means scanning a list of over a hundred entries trying to remember which one you meant.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Choose between a built-in provider and a compatible endpoint.&lt;/strong&gt; With the vendor's own key, pick a built-in type and the official address fills itself in. With a hosted gateway, a self-hosted one or a local Ollama instance, pick the compatible endpoint and supply the root address yourself.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Back up the old client.&lt;/strong&gt; Conversations exported from Cherry Studio, Kelivo or ChatGPT import cleanly, but the import overwrites. Back up first.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Test the network path.&lt;/strong&gt; Settings accepts HTTP and SOCKS5 with port 7890 by default, and a test button reports latency. If the path is broken, every later error looks like an expired key.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step one, add the provider
&lt;/h2&gt;

&lt;p&gt;Open Settings from the top right, then Providers.&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%2F5wve6afrexbyvdxb5h5j.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%2F5wve6afrexbyvdxb5h5j.png" alt="The provider management screen" width="664" height="409"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Press the plus at the bottom left. The dialog asks for name, type and API address. What each field means, including types such as AWS Bedrock that need extra credentials, is covered in AQBot's official provider guide.&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%2Fahmuzpomt9bkttxo9an3.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%2Fahmuzpomt9bkttxo9an3.png" alt="The add-provider dialog" width="800" height="501"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Any recognisable name works. Choose OpenAI as the type. Enter the root address:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://api.crazyrouter.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Stop at the domain. Do not append &lt;code&gt;/v1&lt;/code&gt; and do not append &lt;code&gt;/v1/chat/completions&lt;/code&gt;; the path is a separate field on the next screen. Writing it twice doubles the path, and the resulting error reads like a bad key when the address is the real cause.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step two, get the API key
&lt;/h2&gt;

&lt;p&gt;This section is the full process. The creation entry point, quota limits, permitted model scope and IP allowlist are itemised in &lt;a href="https://docs.crazyrouter.com/authentication" rel="noopener noreferrer"&gt;Crazyrouter's authentication and key documentation&lt;/a&gt;; what follows covers only the steps you need.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Register.&lt;/strong&gt; Open the site and use the sign-in or sign-up entry at the top right.&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%2F4jwwqfs2r9i0u2q31v0v.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%2F4jwwqfs2r9i0u2q31v0v.png" alt="The registration page" width="740" height="1041"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Usernames run 8 to 20 characters, and the email receives a verification code. The password has no special-character rule, but do not reuse the email string. Three third-party buttons sit below the form — GitHub, Google and LinuxDO — so an existing account skips the form entirely.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Open the console.&lt;/strong&gt; The left navigation runs through overview, dashboard, API Keys, usage logs and task logs, then wallet, bills and profile. Choose API Keys.&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%2Fqqmmlhdr8bmq3za5pc1j.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%2Fqqmmlhdr8bmq3za5pc1j.png" alt="The console API Keys screen" width="800" height="358"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Each row shows name, status, quota, IP restriction, creation time, last use and expiry. Create one from the top right with three values: a name that makes the purpose obvious, a quota (empty means unlimited, the sane choice for personal use), and an expiry (empty means none). Copy the &lt;code&gt;sk-&lt;/code&gt; string immediately.&lt;/p&gt;

&lt;p&gt;This is where the process most often repeats. The key is displayed in full exactly once, and the masked value in the list cannot be reversed. Store it the moment you copy it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Confirm the model ID.&lt;/strong&gt; Open the model catalogue, which lists everything callable by vendor and task.&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%2Fj8bf0nrsi3gjh8gs2azl.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%2Fj8bf0nrsi3gjh8gs2azl.png" alt="The model catalogue" width="799" height="455"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Each card carries the model ID and context length, and the icon at the top right copies the identifier. The usual ones: &lt;code&gt;deepseek-v4.1-flash&lt;/code&gt;, &lt;code&gt;deepseek-v4-pro&lt;/code&gt;, &lt;code&gt;claude-opus-4-8&lt;/code&gt;, &lt;code&gt;gpt-5.1-codex&lt;/code&gt;. Anything prefixed &lt;code&gt;aigc-image&lt;/code&gt; or &lt;code&gt;aigc-video&lt;/code&gt; generates media and does not go through the chat endpoint — hold on to that distinction.&lt;/p&gt;

&lt;p&gt;To work backwards from call volume to cost, multiply against the &lt;a href="https://crazyrouter.com/en/pricing?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=offsite_article&amp;amp;utm_content=cr_f539df77f800_mid_text" rel="noopener noreferrer"&gt;current model and published price reference&lt;/a&gt; yourself.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step three, configure the models
&lt;/h2&gt;

&lt;p&gt;Back on the provider detail screen, press sync. Two routes, and you need one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Route A, a built-in provider.&lt;/strong&gt; The list already includes OpenAI, Anthropic, Gemini, DeepSeek, Qwen, Zhipu, xAI and AWS Bedrock. Select one, paste the key, sync.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Route B, an OpenAI-compatible endpoint.&lt;/strong&gt; The route here: add the provider, name it after the domain, choose OpenAI as the type, enter the root address, paste the key, sync.&lt;/p&gt;

&lt;p&gt;Mine returned 185 entries, with select all (185/185) shown at the top right.&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%2Fdvj0al7lkhuvlwnvn153.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%2Fdvj0al7lkhuvlwnvn153.png" alt="The model sync dialog" width="701" height="638"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Do not tick them individually. Everything is selected by default; apply the sync and all 185 land at once. One key covers the whole catalogue, so switching models never means a new key or a new provider — just a different selection at the top of the chat view.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step four, confirm the key and the paths
&lt;/h2&gt;

&lt;p&gt;After the sync, verify the four fields on the provider detail screen.&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%2Fst6xb0kuzlzn8om71wr9.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%2Fst6xb0kuzlzn8om71wr9.png" alt="The provider detail screen" width="715" height="513"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;API address&lt;/strong&gt; holds &lt;code&gt;https://api.crazyrouter.com&lt;/code&gt;, and the line beneath shows the effective target &lt;code&gt;https://api.crazyrouter.com/v1&lt;/code&gt;. If those match, the concatenation is right.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;API path&lt;/strong&gt; stays at the default &lt;code&gt;/v1/chat/completions&lt;/code&gt;, with the resolved address shown below.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Model sync&lt;/strong&gt; is the same domain plus &lt;code&gt;/v1/models&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;API key&lt;/strong&gt; has an adjacent entry point for a second one. That is multi-key rotation: several keys on one provider rotate per request, each with its own rate allocation. For a shared account, or when one key cannot keep up with a limit, it saves writing your own retry logic.&lt;/p&gt;

&lt;p&gt;If the effective-request line does not match what you typed, check whether &lt;code&gt;/v1&lt;/code&gt; ended up in the address field.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step five, the error that is not a configuration problem
&lt;/h2&gt;

&lt;p&gt;With the fields verified, the next thing I hit was this. It belongs before the success.&lt;/p&gt;

&lt;p&gt;I sent a test message and got:&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%2Fbm2d81yzmn8sas7eovw6.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%2Fbm2d81yzmn8sas7eovw6.png" alt="The error produced by using an image model in chat" width="799" height="351"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Stream ended without a protocol terminal event&lt;/code&gt;, followed by three lines of context: Base URL &lt;code&gt;https://api.crazyrouter.com/v1&lt;/code&gt;, API Path at its default, Model &lt;code&gt;aigc-image-kling-3.0&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;I read it as a network fault. Changed networks, reinstalled the client, neither helped. The cause was not configuration at all — I never looked at which model was selected when the request went out.&lt;/p&gt;

&lt;p&gt;The selector at the top of the chat view names the active model. After syncing 185 entries the list is long, and it is easy to leave it resting on an image model. Image models do not travel through the chat endpoint. The client sends a streaming request; the server answers with an error object rather than a sequence of stream events; with no terminal event arriving, the client can only report that the stream ended early. The message describes the symptom, not the cause.&lt;/p&gt;

&lt;p&gt;One action fixes it: open the selector at the top and choose a chat model. Anything starting &lt;code&gt;deepseek-&lt;/code&gt;, &lt;code&gt;claude-&lt;/code&gt; or &lt;code&gt;gpt-&lt;/code&gt; is a chat model. Anything starting &lt;code&gt;aigc-&lt;/code&gt; is not.&lt;/p&gt;

&lt;p&gt;Glance at the top of the window before typing in a new conversation. One second, and the whole investigation above never happens.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step six, send a real request
&lt;/h2&gt;

&lt;p&gt;With a chat model selected, the same input returns normally.&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%2F9kkp9c7b0lox5ofh58zr.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%2F9kkp9c7b0lox5ofh58zr.png" alt="A successful chat response" width="800" height="571"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Reasoning collapses into a block that expands into the full chain. A normal reply confirms the request travels through your gateway.&lt;/p&gt;

&lt;p&gt;A greeting only proves the path is open. For something more substantial, ask it to extract a configuration description into a fixed set of JSON fields with nothing else emitted. Output that parses cleanly is where the setup becomes usable.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step seven, the ACP Agent workbench
&lt;/h2&gt;

&lt;p&gt;Only once a provider is configured does the ACP path have its precondition. Return to the notice from the start, press the button, and complete three steps: add from the Registry, search for Codex, Claude Agent or Cline, run detection to confirm the local environment works, then enable the switch.&lt;/p&gt;

&lt;p&gt;The Registry ships with Codex, Claude Agent, Gemini CLI, Cline, OpenCode and Grok Build. Anything already installed is reused rather than reinstalled.&lt;/p&gt;

&lt;p&gt;Day to day, threads organise as project then thread. Register a repository directory as a project and its agent conversations stay together; close and reopen and the working state restores.&lt;/p&gt;

&lt;p&gt;Do not economise on permissions. ACP agents read and write files and execute commands. The permission fallback defaults to confirming each time; switching it to automatic approval removes the cards. Keeping the default costs one click per step and buys a continuous view of what the agent intends to run.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who this setup is for
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;People running several models at once.&lt;/strong&gt; One gateway key covers 185 models, and switching is one selection from a list. Comparisons, or trying different models while writing, need no reconfiguration.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;People moving between several clients.&lt;/strong&gt; Chat, coding and agents spread across three or four tools, each with its own key, until you lose track. AQBot gathers them into one window, and the local API gateway can share the address with Claude Code and Codex.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;People who care about resource use.&lt;/strong&gt; Rust plus Tauri, an installer around 30MB, no fan noise. Several Electron clients open at once is a different story.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Not for people who only want to chat.&lt;/strong&gt; If all you need is a window that talks, without learning what a provider, a model ID or an API path is, a client that needs no configuration is less trouble. This one takes about fifteen minutes the first time.&lt;/p&gt;

&lt;h2&gt;
  
  
  After using it for a while
&lt;/h2&gt;

&lt;p&gt;Function aside, a note on how it feels.&lt;/p&gt;

&lt;p&gt;I had been using DeepSeek Harness for daily work, and slowness was the main cost. On anything requiring a few steps of reasoning, the wait was long enough to leave the desk and come back. Pointing AQBot at the same &lt;code&gt;deepseek-v4.1-flash&lt;/code&gt; changed that: first characters arrive quickly and reasoning displays collapsed, so there is no waiting out a whole block.&lt;/p&gt;

&lt;p&gt;The model did not get faster. The client layer stopped adding overhead. DeepSeek Harness is heavy to run — startup, loading and rendering all cost time; AQBot is light enough that interaction keeps up with your hands. Same model, lighter shell, and the difference is perceptible.&lt;/p&gt;

&lt;p&gt;The conversation management details matter too. Message versions, branching and automatic compression of long histories are hard to give up. Regenerate with a different prompt and the old version stays, with arrows to compare; branch off any message without breaking the original line. Both are useful when comparing models, and neither needs a dozen tabs.&lt;/p&gt;

&lt;p&gt;Configuration itself holds no technical difficulty. The difficulty is not knowing where to look next. Three protocol formats, two agent mechanisms, and any misalignment surfaces as something else entirely. Get the order right, confirm each step before moving on, and the whole thing takes fifteen minutes.&lt;/p&gt;

&lt;p&gt;AQBot repository: &lt;a href="https://github.com/AQBot-Desktop/AQBot" rel="noopener noreferrer"&gt;https://github.com/AQBot-Desktop/AQBot&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>tooling</category>
      <category>tutorial</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Calling Gemini From the OpenAI SDK: What Maps, What Breaks, and What It Costs</title>
      <dc:creator>boluo</dc:creator>
      <pubDate>Tue, 01 Dec 2026 10:33:11 +0000</pubDate>
      <link>https://dev.to/buluo/calling-gemini-from-the-openai-sdk-what-maps-what-breaks-and-what-it-costs-297g</link>
      <guid>https://dev.to/buluo/calling-gemini-from-the-openai-sdk-what-maps-what-breaks-and-what-it-costs-297g</guid>
      <description>&lt;p&gt;The migration pitch is three lines: change the &lt;code&gt;base_url&lt;/code&gt;, swap the key, rename the model. That claim is accurate for a single-turn chat completion, and it is the reason most teams start the migration on a Friday afternoon feeling confident.&lt;/p&gt;

&lt;p&gt;Then Monday arrives. Someone asks why reasoning tokens tripled, the extraction endpoint returns a 400 it never returned before, and the caching layer that saved forty percent of input tokens turns out to have no equivalent at all. None of these are bugs. They are the parts of the request that the compatibility layer does not translate, and the documentation describes them as footnotes rather than as the boundary.&lt;/p&gt;

&lt;h2&gt;
  
  
  What maps cleanly
&lt;/h2&gt;

&lt;p&gt;Plain chat completions, streaming, and image input are genuinely transparent. Same endpoint, same array, same response shape.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Field&lt;/th&gt;
&lt;th&gt;OpenAI&lt;/th&gt;
&lt;th&gt;Gemini via compat layer&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Endpoint&lt;/td&gt;
&lt;td&gt;&lt;code&gt;POST /v1/chat/completions&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;POST /v1/chat/completions&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Messages&lt;/td&gt;
&lt;td&gt;&lt;code&gt;messages[]&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;messages[]&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Assistant role&lt;/td&gt;
&lt;td&gt;&lt;code&gt;assistant&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;assistant&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;System prompt&lt;/td&gt;
&lt;td&gt;&lt;code&gt;role: "system"&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;role: "system"&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Streaming&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;stream: true&lt;/code&gt; (SSE)&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;stream: true&lt;/code&gt; (SSE)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Image input&lt;/td&gt;
&lt;td&gt;URL or base64&lt;/td&gt;
&lt;td&gt;URL or base64&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&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%2F6jjhvgh995oy15w2kwgg.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%2F6jjhvgh995oy15w2kwgg.png" alt="reasoning_effort is not a one-to-one mapping" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The 2.5 family takes a token budget while 3 and 4 take discrete levels.&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%2F27ov4ybfj7ajt9t1te5d.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%2F27ov4ybfj7ajt9t1te5d.png" alt="Field mapping between the two shapes" width="800" height="503"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Rows 1 to 4 are structural: the field sits at a different depth, not just under a different name. I have a text summarisation service running on this configuration for six months without a single change to the request builder. If your workload looks like that, three lines really is the whole migration.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does not map
&lt;/h2&gt;

&lt;p&gt;The native Gemini API has a different shape, and the divergence starts at the top level of the request body rather than in some obscure corner.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Concept&lt;/th&gt;
&lt;th&gt;Native Gemini&lt;/th&gt;
&lt;th&gt;OpenAI-compatible&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Message container&lt;/td&gt;
&lt;td&gt;&lt;code&gt;contents[]&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;messages[]&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Message parts&lt;/td&gt;
&lt;td&gt;&lt;code&gt;parts[]&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;flat &lt;code&gt;content&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Model role name&lt;/td&gt;
&lt;td&gt;&lt;code&gt;model&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;assistant&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;System prompt&lt;/td&gt;
&lt;td&gt;separate &lt;code&gt;systemInstruction&lt;/code&gt; field&lt;/td&gt;
&lt;td&gt;a message with &lt;code&gt;role: "system"&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Generation params&lt;/td&gt;
&lt;td&gt;&lt;code&gt;generationConfig.{temperature, maxOutputTokens}&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;top-level &lt;code&gt;temperature&lt;/code&gt;, &lt;code&gt;max_tokens&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Reasoning depth&lt;/td&gt;
&lt;td&gt;&lt;code&gt;generationConfig.thinkingConfig&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;reasoning_effort&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cache&lt;/td&gt;
&lt;td&gt;&lt;code&gt;cached_content&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;cache_control&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;code&gt;systemInstruction&lt;/code&gt; sits at the top level and is not an array element. &lt;code&gt;generationConfig&lt;/code&gt; gathers parameters that OpenAI leaves at the root. That structural gap explains the whole pattern: the three-line swap holds while the request stays simple, and stops holding the moment you want the same control you had before.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the reasoning budget quietly moves
&lt;/h2&gt;

&lt;p&gt;The compat layer maps &lt;code&gt;reasoning_effort&lt;/code&gt; onto &lt;code&gt;thinking_level&lt;/code&gt;, but the mapping differs by model family and is not reversible.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;code&gt;reasoning_effort&lt;/code&gt;&lt;/th&gt;
&lt;th&gt;Gemini 4&lt;/th&gt;
&lt;th&gt;Gemini 3.1 Flash-Lite&lt;/th&gt;
&lt;th&gt;Gemini 3 Flash&lt;/th&gt;
&lt;th&gt;Gemini 2.5 (&lt;code&gt;thinking_budget&lt;/code&gt;)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;minimal&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;low&lt;/td&gt;
&lt;td&gt;minimal&lt;/td&gt;
&lt;td&gt;minimal&lt;/td&gt;
&lt;td&gt;1,024&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;low&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;low&lt;/td&gt;
&lt;td&gt;low&lt;/td&gt;
&lt;td&gt;low&lt;/td&gt;
&lt;td&gt;1,024&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;medium&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;medium&lt;/td&gt;
&lt;td&gt;medium&lt;/td&gt;
&lt;td&gt;medium&lt;/td&gt;
&lt;td&gt;8,192&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;high&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;high&lt;/td&gt;
&lt;td&gt;high&lt;/td&gt;
&lt;td&gt;high&lt;/td&gt;
&lt;td&gt;24,576&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Two things cost me real time here.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reasoning cannot be switched off.&lt;/strong&gt; The 2.5 family accepts &lt;code&gt;reasoning_effort: "none"&lt;/code&gt;. Gemini 3 and Gemini 4 do not, and the reasoning runs regardless. A cost model built on the assumption that thinking was optional will be wrong, and the error surfaces as a line item rather than an exception. Mine showed up as a forty percent jump in the monthly bill, and it took two days to trace it back to this field.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Part of the surface is only reachable through &lt;code&gt;extra_body&lt;/code&gt;.&lt;/strong&gt; Content caching, safety thresholds, and Google Search grounding all travel in a nested object that has no OpenAI equivalent.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="nl"&gt;"extra_body"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"google"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"thinking_config"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"include_thoughts"&lt;/span&gt;&lt;span class="p"&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="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Note that &lt;code&gt;reasoning_effort&lt;/code&gt; and &lt;code&gt;thinking_config&lt;/code&gt; overlap functionally. Send both and you get a validation error, not a merge.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three places existing code breaks
&lt;/h2&gt;

&lt;p&gt;Ordered by how much time each one cost me.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tool calling combined with structured output.&lt;/strong&gt; &lt;code&gt;tools[]&lt;/code&gt; alongside &lt;code&gt;response_format&lt;/code&gt; returns a 400 through the compat layer. Either alone works. I split one extraction call into two round trips, which roughly doubled latency on that endpoint and pushed it past my p95 target.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Batch API file uploads. *&lt;/em&gt; The batch job itself runs through the OpenAI SDK, but uploading and downloading the JSONL files requires the native SDK. The layer does not cover that segment. You finish with two clients to maintain, which removes a good part of the reason for using a compatibility layer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prompt caching.&lt;/strong&gt; &lt;code&gt;cache_control&lt;/code&gt; from the Assistants API and &lt;code&gt;cached_content&lt;/code&gt; in Gemini are separate mechanisms with different semantics. The caching that saved roughly forty percent of input tokens under OpenAI had to be rebuilt rather than ported.&lt;/p&gt;

&lt;h2&gt;
  
  
  One client, three providers
&lt;/h2&gt;

&lt;p&gt;Most projects I touch need Gemini for long context, Claude for code generation, and DeepSeek for high volume batch work. Three SDKs, three key stores, three error formats, and one more thing to remember during an incident.&lt;/p&gt;

&lt;p&gt;What holds up is collapsing everything onto one compatible interface and letting a gateway absorb the format differences. The gateway routes on the &lt;code&gt;model&lt;/code&gt; field, normalizes request bodies across providers, and keeps credentials in one place.&lt;/p&gt;

&lt;p&gt;I use CrazyRouter for this. Every model sits behind a single address.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://api.crazyrouter.com/v1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Only the &lt;code&gt;model&lt;/code&gt; value changes after that, so switching providers is a config edit rather than a code change.&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="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;openai&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;

&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"YOUR_CRAZYROUTER_KEY"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;base_url&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"https://api.crazyrouter.com/v1"&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;chat&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;completions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"gemini-4-neon"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;messages&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="s2"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"system"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"content"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"You are a terse technical assistant."&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="s2"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"user"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"content"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"List three differences between SSE and WebSocket."&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;extra_body&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="s2"&gt;"google"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="s2"&gt;"thinking_config"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"thinking_level"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"low"&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;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;choices&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;content&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;usage&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Pointing the same file at Claude is a one-word change to &lt;code&gt;model&lt;/code&gt;, minus the &lt;code&gt;extra_body&lt;/code&gt; block, which is Gemini specific.&lt;/p&gt;

&lt;p&gt;Model IDs and the current catalogue are at the &lt;a href="https://crazyrouter.com/en/models" rel="noopener noreferrer"&gt;model list&lt;/a&gt;, and token counting rules plus rates are on the &lt;a href="https://crazyrouter.com/en/pricing?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=offsite_article&amp;amp;utm_content=cr_7e5d2f31c6a8_mid_text" rel="noopener noreferrer"&gt;pricing page&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;What this layer does not do is worth stating plainly. It does not extend model capability, so a field the native API rejects will not start working because it passed through a gateway. It does not erase behavioural differences, and the same &lt;code&gt;reasoning_tokens&lt;/code&gt; get consumed either way. And it inserts a network hop, which matters when the latency budget is tight.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reading errors by layer
&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fabj9gkbyou5wgew7xyjx.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%2Fabj9gkbyou5wgew7xyjx.png" alt="Three failure layers" width="800" height="426"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A 200 with an error object in the body is still a failure. Most incidents get diagnosed one layer too high. Through one gateway the error shapes are consistent, but the causes are not. Three layers, three investigations.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Symptom&lt;/th&gt;
&lt;th&gt;What to check&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Network&lt;/td&gt;
&lt;td&gt;no HTTP status, timeout&lt;/td&gt;
&lt;td&gt;DNS, TCP, TLS handshake&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;HTTP&lt;/td&gt;
&lt;td&gt;4xx or 5xx&lt;/td&gt;
&lt;td&gt;status code and response headers&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Application&lt;/td&gt;
&lt;td&gt;200 with an &lt;code&gt;error&lt;/code&gt; object in the body&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;error&lt;/code&gt; field, &lt;code&gt;finish_reason&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The application layer is the one that gets skipped. A 200 does not mean success, since validation failures and quota overruns both arrive inside a response that looks healthy at the HTTP level. I once lost an afternoon to a call that reported success and returned an empty completion, because a config merge set &lt;code&gt;max_tokens&lt;/code&gt; to 1.&lt;/p&gt;

&lt;p&gt;When the alert fires and the first thing you check is the model name, you are debugging at the wrong layer. Start with whether a status code came back at all.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>api</category>
      <category>gemini</category>
      <category>openai</category>
    </item>
    <item>
      <title>Gemini 4 Neon vs Claude Opus 5.5: API Parameters, Tool Calling, and Pricing Compared</title>
      <dc:creator>boluo</dc:creator>
      <pubDate>Tue, 01 Dec 2026 09:50:08 +0000</pubDate>
      <link>https://dev.to/buluo/gemini-4-neon-vs-claude-opus-55-api-parameters-tool-calling-and-pricing-compared-3ba3</link>
      <guid>https://dev.to/buluo/gemini-4-neon-vs-claude-opus-55-api-parameters-tool-calling-and-pricing-compared-3ba3</guid>
      <description>&lt;h2&gt;
  
  
  The decision tree
&lt;/h2&gt;

&lt;p&gt;You are picking a model. There are two candidates, they are within 25% of each other on price, and the marketing pages will not tell you where the difference actually bites.&lt;/p&gt;

&lt;p&gt;So here is the decision tree first, and the evidence after it. If you already know your workload shape, the tree alone may be enough.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Are you building an interactive product where a human waits for the first token?&lt;/strong&gt; Then the latency row decides it, and the latency row matters before anything else. One of these models answers in under a minute.&lt;/p&gt;

&lt;p&gt;The other takes over six.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Are you running long-context retrieval or repository-scale navigation?&lt;/strong&gt; Then Neon's advantage is structural rather than marginal, and no amount of billing optimization closes it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Are you doing frontend generation or step-by-step terminal work?&lt;/strong&gt; Then Opus wins the two rows that map to that work, and the margins are small but consistent.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Are you extracting, rewriting, or retrieving where the answer must be determinate every time?&lt;/strong&gt; Then output volume is your real cost driver, and Neon's verbosity turns the 25% discount into a premium.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Are you porting an existing codebase to another language?&lt;/strong&gt; Then the aggregate score is the wrong number. A subset reverses it.&lt;/p&gt;

&lt;p&gt;Every figure comes from my own request logs or a cited source, and the raw responses are kept locally.&lt;/p&gt;

&lt;h2&gt;
  
  
  Start with what cannot be compared
&lt;/h2&gt;

&lt;p&gt;The two models shipped almost two months apart. Neon on November 18, 2026; Opus 5.5 on September 22. That interval means the scores each vendor publishes to its own site do not describe the same test.&lt;/p&gt;

&lt;p&gt;Three specific mismatches:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Terminal-Bench.&lt;/strong&gt; Google reports Neon at 4.1 (65.2%). Anthropic reports Opus 5.5 at 4.0 (66.4%). Different harness revision.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;FrontierCode.&lt;/strong&gt; One reports 2.0, the other v1.1.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;HLE.&lt;/strong&gt; One reports the Diamond subset, the other a tool-enabled variant.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Subtract any of those pairs and you get measurement drift wearing a ranking's clothes.&lt;/p&gt;

&lt;p&gt;The only dataset where both models appear under identical conditions is the 19-row table Google published alongside Neon.&lt;/p&gt;

&lt;p&gt;Which means: if a comparison table you are reading puts 65.2% next to 66.4% and declares a winner, the table is wrong, and you should discount the rest of it too.&lt;/p&gt;

&lt;h2&gt;
  
  
  Branch 1: will a human wait for the first token?
&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4q8x492oetgj6uy0528o.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%2F4q8x492oetgj6uy0528o.png" alt="Time to first token: 56.51s vs 368.86s" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is the branch that eliminates options fastest, and the published spec sheets do not put the two numbers next to each other. Throughput is a wash. 110 tokens per second for Neon, 113 for Opus.&lt;/p&gt;

&lt;p&gt;Near enough to call identical.&lt;/p&gt;

&lt;p&gt;Time to first token is not. 56.51 seconds against 368.86 seconds. A 6.5x gap.&lt;/p&gt;

&lt;p&gt;What that gap does to your architecture:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;At 57 seconds&lt;/strong&gt;, you can show a spinner and a user will wait. Chat interfaces, document analysis, anything where the response is the deliverable.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;At 369 seconds&lt;/strong&gt;, you cannot. The request outlives most people's patience for a single response, which forces async job queues, polling, and a notification layer you would not otherwise build.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One caveat worth stating precisely. These figures come from Anthropic's and Google's published latency tables, measured on their own infrastructure.&lt;/p&gt;

&lt;p&gt;My 32 calls did not instrument time to first token, so I am reporting the vendors' numbers rather than reproducing them. A gateway in between can shift both, and yours may differ.&lt;/p&gt;

&lt;p&gt;But the direction — one under a minute, one over six — is large enough to survive routing overhead. &lt;strong&gt;If your product is interactive, this row decides the question before cost gets a vote.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Branch 2: are you running long context or repo-scale navigation?
&lt;/h2&gt;

&lt;p&gt;Under Google's same-condition run, Neon took seven of nine comparable rows.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SWE-sweep — 39.0% vs 10.1%&lt;/li&gt;
&lt;li&gt;Zapier AutomationBench — 56.3% vs 42.5%&lt;/li&gt;
&lt;li&gt;GraphWalks — 95.2% vs 66.8%&lt;/li&gt;
&lt;li&gt;HLE-Diamond — 71.3% vs 67.9%&lt;/li&gt;
&lt;li&gt;CursorBench 4.1 — 65.4% vs 58.1%&lt;/li&gt;
&lt;li&gt;LVBench — 89.0% vs 83.7%&lt;/li&gt;
&lt;li&gt;AA coding agent index — 58.6 vs 58&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Opus took two.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Terminal-Bench 4.1 — 65.8% vs 65.2%&lt;/li&gt;
&lt;li&gt;FrontierCode 2.0 — 47.3% vs 46.2%&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Read the margins, not the count. Opus's wins are 0.6 and 1.1 points, inside measurement noise. Neon's lead on SWE-sweep approaches 4x, and GraphWalks sits at 1.4x.&lt;/p&gt;

&lt;p&gt;But before you quote 39% against 10%, know what produced it.&lt;/p&gt;

&lt;p&gt;Both numbers require Google's own Antigravity CLI. Swap the harness and both collapse: native frameworks give 39.0% and 10.1%, mini-SWE gives 12.8% and 3.6%. Retention lands at 33% and 36%.&lt;/p&gt;

&lt;p&gt;Both models drop to roughly a third, and the retention rates are nearly identical. Two-thirds of Neon's 39% traces to Antigravity's parallel sub-agent retrieval rather than the model alone.&lt;/p&gt;

&lt;p&gt;A finer reversal sits inside the same logic.&lt;/p&gt;

&lt;p&gt;Vibe Code Bench measures greenfield construction: Neon 93.7% against 90.3%. Code Migration measures porting existing code: Opus 80.5% against 75.8%. New code favors Neon. Porting favors Opus.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;That row outranks the aggregate if migration is the job.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Branch 3: frontend generation or step-by-step terminal work?
&lt;/h2&gt;

&lt;p&gt;This is the one branch where Opus wins, and the evidence is narrow but consistent. Terminal-Bench 4.1 and FrontierCode 2.0 are the only two rows Opus takes.&lt;/p&gt;

&lt;p&gt;The margins are 0.6 and 1.1 points — inside measurement noise individually, but pointing the same direction, which is the only reason to weight them at all.&lt;/p&gt;

&lt;p&gt;If your work is page construction and interactive terminal debugging, that consistency is worth something.&lt;/p&gt;

&lt;p&gt;If your work is anything else, two rows out of nine at sub-noise margins is not a purchasing argument.&lt;/p&gt;

&lt;h2&gt;
  
  
  Branch 4: does the answer have to be determinate every time?
&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fogihbxvjq2wfzszpkyr7.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%2Fogihbxvjq2wfzszpkyr7.png" alt="Output token comparison across nine tasks" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now the branch most people get wrong, because it requires knowing your output volume rather than your input volume. I did not grade these by impression.&lt;/p&gt;

&lt;p&gt;I wrote a scoring script against rules fixed in advance — field-by-field on 15 fields, three required points, character count plus four banned words plus a digit plus terminal punctuation, and compilability plus correct counting logic.&lt;/p&gt;

&lt;p&gt;All four tied. 15/15, 3/3, 5/5, both rewrites compiled. Output volume differed by 2x to 8.7x with no difference in correctness.&lt;/p&gt;

&lt;p&gt;The per-task numbers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Structured extraction&lt;/strong&gt; — Neon 1,180, Opus 207 (5.70x)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Long-document retrieval&lt;/strong&gt; — Neon 451, Opus 52 (8.67x)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Code rewrite&lt;/strong&gt; — Neon 5,404, Opus 2,649 (2.04x)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Constraint following&lt;/strong&gt; — Neon 2,620, Opus 1,037 (2.53x)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Eight technical questions, combined&lt;/strong&gt; — Neon 13,473, Opus 7,194 (1.87x)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The extra money does not buy accuracy. It buys verbosity. One correction I owe: I initially read both constraint responses as over the 180-character limit.&lt;/p&gt;

&lt;p&gt;The script counted 168 and 175. Two passages of similar length fooled me by eye, which is its own argument for scripting the grading. Judgment diverged once, in the rewrite.&lt;/p&gt;

&lt;p&gt;I told both models the code takes 40 seconds on 200,000 lines.&lt;/p&gt;

&lt;p&gt;Opus opened by challenging the premise — 40 seconds is unlikely to come from this code, the logic is O(n), 200,000 log lines usually finish in under half a second — then produced the fix.&lt;/p&gt;

&lt;p&gt;Neon accepted the 40 seconds and rewrote.&lt;/p&gt;

&lt;p&gt;Both worked.&lt;/p&gt;

&lt;p&gt;Opus spent one extra beat questioning the question. No benchmark row captures that.&lt;/p&gt;

&lt;h2&gt;
  
  
  The cost math behind branch 4
&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzokxyv43k8m8nc1wljq1.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%2Fzokxyv43k8m8nc1wljq1.png" alt="Neon allowable output multiple rises with input length" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Cache discount is 5% of input price on both sides. Batch is 50% on both sides. So the difference stays at 25% under no cache, under 90% cache hit, and under batch.&lt;/p&gt;

&lt;p&gt;Output volume is the only variable that moves it.&lt;/p&gt;

&lt;p&gt;With input &lt;code&gt;I&lt;/code&gt;, Neon output &lt;code&gt;On&lt;/code&gt;, and Opus output &lt;code&gt;Oo&lt;/code&gt;, the cost expressions are &lt;code&gt;3I/1M + 15On/1M&lt;/code&gt; and &lt;code&gt;4I/1M + 20Oo/1M&lt;/code&gt;. Set them equal and solve for Neon's ceiling: &lt;code&gt;On/Oo = I/(15·Oo) + 4/3&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The floor is 4/3. However short the task, Neon can produce 33% more output and still tie. Longer inputs widen it — at one million input tokens against 20,000 output tokens the ceiling reaches 4.67x.&lt;/p&gt;

&lt;p&gt;My measured ratios ran from 2.04x to 8.67x.&lt;/p&gt;

&lt;p&gt;Every one cleared 1.33, which means every one of those four calls cost more on Neon at list price.&lt;/p&gt;

&lt;p&gt;Which converts branch 4 into a number you can check: &lt;strong&gt;if your output volume runs past 1.33x Opus on the same task, the 25% discount is gone.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the effort knob stops paying
&lt;/h2&gt;

&lt;p&gt;Thinking tokens bill at the output rate on both models and count against the single-response cap. Neither lets you switch thinking off.&lt;/p&gt;

&lt;p&gt;Neon returns 400 for &lt;code&gt;MINIMAL&lt;/code&gt;; LOW is the floor, not an off switch.&lt;/p&gt;

&lt;p&gt;Opus runs adaptive thinking permanently and exposes &lt;code&gt;effort&lt;/code&gt; for depth.&lt;/p&gt;

&lt;p&gt;So the tier is the only lever. Opus 5.5:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;low — 42.3 index, $0.55 per task&lt;/li&gt;
&lt;li&gt;medium — 51.2 index, $1.34 per task&lt;/li&gt;
&lt;li&gt;high — 53.6 index, $1.82 per task&lt;/li&gt;
&lt;li&gt;xhigh — 56.0 index, $3.46 per task&lt;/li&gt;
&lt;li&gt;max — 57.6 index, $5.98 per task&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Medium to max multiplies cost by 4.5x for 6.4 points. Low to medium costs $0.79 for 8.9 points, under a dime each. At max, each additional point runs $1.57 — seventeen times the medium rate.&lt;/p&gt;

&lt;p&gt;Neon's four tiers: low 44 points at 3.7 minutes, medium 55 at 8.3, high 60 at 14.8, xhigh 61 at 21.5. xhigh buys one point over high for 45% more latency.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The first cost optimization is not switching models. It is finding out which tier you are on.&lt;/strong&gt; Plenty of setups default to high or xhigh when medium would serve.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why character counts are the wrong ruler
&lt;/h2&gt;

&lt;p&gt;I sent three text shapes and read only &lt;code&gt;prompt_tokens&lt;/code&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;240 Chinese characters — 208 tokens on both models&lt;/li&gt;
&lt;li&gt;519 characters of Python — 194 on Neon, 229 on Opus&lt;/li&gt;
&lt;li&gt;801 characters of JSON config — 263 on Neon, 316 on Opus&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Chinese tokenizes identically. Code and structured data diverge by about 20% in Opus's favor.&lt;/p&gt;

&lt;p&gt;Which means character-based budgeting fails in both directions.&lt;/p&gt;

&lt;p&gt;The Chinese passage runs 0.87 tokens per character; the code runs 0.37. Same input channel, 2.3x apart, and you cannot know which regime you are in without measuring.&lt;/p&gt;

&lt;h2&gt;
  
  
  The silent failure that returns an empty string
&lt;/h2&gt;

&lt;p&gt;This one is not theoretical — I hit it on the first run.&lt;/p&gt;

&lt;p&gt;For the rewrite and constraint tasks I set output caps at 4,000 and 1,200. Neon returned &lt;code&gt;completion_tokens&lt;/code&gt; of exactly those values, &lt;code&gt;finish_reason&lt;/code&gt; of &lt;code&gt;length&lt;/code&gt;, and zero characters of content.&lt;/p&gt;

&lt;p&gt;The budget went entirely into thinking.&lt;/p&gt;

&lt;p&gt;Raising the caps to 16,000 and 8,000 produced normal output. If your code infers completion from token spend, Neon looks productive while handing back nothing. No exception, no log line.&lt;/p&gt;

&lt;h2&gt;
  
  
  Branch 5: what do you do with the two models that are almost tied?
&lt;/h2&gt;

&lt;p&gt;Both expose OpenAI-compatible chat completions. The same client works; only &lt;code&gt;model&lt;/code&gt; changes.&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="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;openai&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;

&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;base_url&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"https://api.crazyrouter.com/v1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"YOUR_API_KEY"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;model&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"gemini-4-neon"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"claude-opus-5-5"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;chat&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;completions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;messages&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="s2"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"user"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"content"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"same prompt"&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;max_tokens&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;8000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;usage&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;prompt_tokens&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;usage&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;completion_tokens&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Give &lt;code&gt;max_tokens&lt;/code&gt; room. Set it too low and thinking consumes the budget before visible output lands, leaving &lt;code&gt;finish_reason: length&lt;/code&gt; and an empty string.&lt;/p&gt;

&lt;p&gt;List prices and discount tiers move, so every conversion here is based on official list prices verified December 1, 2026. For current rates, search the model name on the &lt;a href="https://crazyrouter.com/en/pricing?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=offsite_article&amp;amp;utm_content=cr_01f367eb55c6_mid_text" rel="noopener noreferrer"&gt;pricing page&lt;/a&gt; rather than relying on a snapshot.&lt;/p&gt;

&lt;p&gt;Specs and model listings live in the &lt;a href="https://crazyrouter.com/en/models" rel="noopener noreferrer"&gt;model directory&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  When someone else ran a different test, the verdict flipped
&lt;/h2&gt;

&lt;p&gt;My four tasks were ordinary engineering work.&lt;/p&gt;

&lt;p&gt;DataCamp's November 2026 test chose something sharper: write a single-page app, from scratch, that plays a complete self-play game — chancellor chess, where the queen becomes a piece moving as both rook and knight.&lt;/p&gt;

&lt;p&gt;The design is clever.&lt;/p&gt;

&lt;p&gt;The model cannot copy an existing implementation from memory,and the new piece shifts rules in non-obvious places: it can open to c3 or e3,&lt;br&gt;
expanding White's first-move count from 20 to 22; its knight move delivers check and attacks castling-path squares; en passant is illegal if it exposes your king to a chancellor on the same file; pawns promote to chancellor,&lt;br&gt;
rook,bishop,or knight,never queen.&lt;/p&gt;

&lt;p&gt;Result: Neon finished all 12 games by checkmate. Opus drew half. Checkmates 12 to 7, draws 0 to 5, generation steps 5 to 1, cost per run $0.90 to $1.70. Cost direction matches mine.&lt;/p&gt;

&lt;p&gt;Quality direction inverts: Opus was stronger across my four tasks, Neon was stronger here. No contradiction. I measured "given an input, produce the right output," where accuracy and concision score.&lt;/p&gt;

&lt;p&gt;DataCamp measured "build something that runs to completion from nothing," where drive and closure score.&lt;/p&gt;

&lt;h2&gt;
  
  
  Parameter behavior: what gets ignored and what throws
&lt;/h2&gt;

&lt;p&gt;Two distinct failure modes, and the quiet one costs more. &lt;strong&gt;Silently ignored:&lt;/strong&gt; &lt;code&gt;temperature&lt;/code&gt;, &lt;code&gt;top_p&lt;/code&gt;, &lt;code&gt;top_k&lt;/code&gt;. No error, no effect.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HTTP 400:&lt;/strong&gt; &lt;code&gt;frequency_penalty&lt;/code&gt;, &lt;code&gt;presence_penalty&lt;/code&gt;, &lt;code&gt;candidate_count&lt;/code&gt;, and &lt;code&gt;n&lt;/code&gt; above 1. &lt;strong&gt;Also 400:&lt;/strong&gt; &lt;code&gt;thinking&lt;/code&gt;, &lt;code&gt;thinking_budget&lt;/code&gt;. Opus deprecated both in favor of &lt;code&gt;effort&lt;/code&gt;. I lost an afternoon to the first group.&lt;/p&gt;

&lt;p&gt;I had &lt;code&gt;temperature&lt;/code&gt; in the payload out of habit, trying to pin down output format. Neon ignored it.&lt;/p&gt;

&lt;p&gt;I ran the same prompt several times, got a different structure each time, and only found the cause after ruling out everything else.&lt;/p&gt;

&lt;p&gt;No log line would have told me. The second group is almost a relief by comparison. A 400 at least announces itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tool calling: put the signature in the wrong place and the turn ends empty
&lt;/h2&gt;

&lt;p&gt;Neon requires &lt;code&gt;thought_signature&lt;/code&gt; on only the first functionCall of a turn, and the ordering cannot be rearranged.&lt;/p&gt;

&lt;p&gt;The model returns "call one (with signature), call two." Your next turn must send "call one (with signature), call two, result one, result two." Interleave them as "call one, result one, call two, result two" and Neon rejects the request.&lt;/p&gt;

&lt;p&gt;The rejection is not the problem. When the signature is missing or misplaced, some clients receive no error at all — an empty turn with no tool calls, and &lt;code&gt;stop_reason&lt;/code&gt; reads normal.&lt;/p&gt;

&lt;p&gt;If your loop treats "no tool calls" as "done," the agent stops and the logs show nothing wrong.&lt;/p&gt;

&lt;p&gt;Two changes before migrating: strip all six fields from the request body, and add one branch that flags an empty turn with neither text nor tool calls as a retryable failure.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I did not measure
&lt;/h2&gt;

&lt;p&gt;Multimodal input. This covers text-only tasks, so the difference between Neon reading PDFs and A/V natively and Opus stopping at images is a documentation claim here, not a measurement.&lt;/p&gt;

&lt;p&gt;If document processing is your core workload, that gap may exceed 25% and deserves its own run. Sample size.&lt;/p&gt;

&lt;p&gt;Four tasks plus eight technical questions, 32 calls, one run per condition — no variance computable.&lt;/p&gt;

&lt;p&gt;Output ratios shift with temperature, prompt length, and complexity. What I recorded are the actual numbers from those 32 calls, not an intrinsic ratio. Execution conditions.&lt;/p&gt;

&lt;p&gt;Raw API calls, no filesystem, no shell, no sub-agents.&lt;/p&gt;

&lt;p&gt;This measures neither version-over-version differences nor framework-level agent capability.&lt;/p&gt;

&lt;p&gt;Grading was scripted against fixed criteria, which beats model self-assessment and is softer than exhaustive enumeration.&lt;/p&gt;

&lt;p&gt;Stating these limits matters.&lt;/p&gt;

&lt;p&gt;Without them the numbers read as more settled than they are.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>api</category>
      <category>llm</category>
      <category>pricing</category>
    </item>
    <item>
      <title>Building a Codex Workflow That Keeps Working: Seven Steps</title>
      <dc:creator>boluo</dc:creator>
      <pubDate>Tue, 01 Dec 2026 09:13:24 +0000</pubDate>
      <link>https://dev.to/buluo/building-a-codex-workflow-that-keeps-working-seven-steps-bkb</link>
      <guid>https://dev.to/buluo/building-a-codex-workflow-that-keeps-working-seven-steps-bkb</guid>
      <description>&lt;p&gt;· Codex stopped being a code completion tool and started being a worker.&lt;/p&gt;

&lt;p&gt;· It reads a repository, edits files, runs commands, looks at what broke, and fixes it.&lt;/p&gt;

&lt;p&gt;· The capability arrived before the workflow did.&lt;/p&gt;

&lt;p&gt;· Most of us still keep one window open and do the work and the thinking in the same place, then submit a task and watch the progress indicator.&lt;/p&gt;

&lt;p&gt;· Watching is the expensive part.&lt;/p&gt;

&lt;p&gt;· A task runs twelve minutes and nothing else happens during those twelve.&lt;/p&gt;

&lt;p&gt;· Turning the wait into throughput is the change that made this worth keeping.&lt;/p&gt;

&lt;p&gt;· Here are the seven steps in the order I run them, what each is for, and where it breaks.&lt;/p&gt;

&lt;p&gt;· Three real runs at the end.&lt;/p&gt;

&lt;h2&gt;
  
  
  Before you start
&lt;/h2&gt;

&lt;p&gt;Only the things that actually change behaviour.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;OS: Windows 11&lt;/li&gt;
&lt;li&gt;codex-cli: 0.172.0&lt;/li&gt;
&lt;li&gt;Node.js: v22.22.2&lt;/li&gt;
&lt;li&gt;Model: gpt-6-sol&lt;/li&gt;
&lt;li&gt;Endpoint: an OpenAI-compatible base URL&lt;/li&gt;
&lt;li&gt;Invocation: &lt;code&gt;codex exec&lt;/code&gt;, non-interactive, stdin detached&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That last one gets missed. Launch &lt;code&gt;codex exec&lt;/code&gt; attached to a terminal and it blocks waiting on stdin. From a script, detach it explicitly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Split Codex and the chat window
&lt;/h2&gt;

&lt;p&gt;The obvious objection first. Codex is a product of ChatGPT, so why split them.&lt;/p&gt;

&lt;p&gt;· Correct, and on instruction quality alone neither side wins.&lt;/p&gt;

&lt;p&gt;· The reason to split is not quality, it is context.&lt;/p&gt;

&lt;p&gt;· Codex's context window is its workspace.&lt;/p&gt;

&lt;p&gt;· Whatever sits in there becomes the basis for the next judgment.&lt;/p&gt;

&lt;p&gt;· If the same window both edits files and holds a discussion about whether the approach feels wrong, or a complaint that yesterday's chart looked bad, that discussion stays in context and shapes how it reads the following task.&lt;/p&gt;

&lt;p&gt;· After a while the output drifts and you cannot say exactly why.&lt;/p&gt;

&lt;p&gt;· Split, and three roles separate.&lt;/p&gt;

&lt;p&gt;· Codex receives instructions, executes, returns results.&lt;/p&gt;

&lt;p&gt;· It does not host planning.&lt;/p&gt;

&lt;p&gt;· A second window holds background, drafts the next instruction, runs the second review, and absorbs complaints.&lt;/p&gt;

&lt;p&gt;· You hold the first review, the direction call, and the pre-submission check.&lt;/p&gt;

&lt;p&gt;One sentence: Codex's context carries tasks only.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Route complaints away, keep requirements in
&lt;/h2&gt;

&lt;p&gt;One line decides it. Will this content affect how the next task is judged.&lt;/p&gt;

&lt;p&gt;· Objectives, input paths, acceptance criteria, what specifically was wrong last time.&lt;/p&gt;

&lt;p&gt;· These are execution inputs and belong in Codex.&lt;/p&gt;

&lt;p&gt;· Aesthetic objections, a vague sense the approach is wrong, thoughts about trying another direction.&lt;/p&gt;

&lt;p&gt;· These are your reasoning and belong in the other window.&lt;/p&gt;

&lt;p&gt;· I got this wrong once.&lt;/p&gt;

&lt;p&gt;· Unhappy with a chart, I wrote in the working window: this is ugly, redo it.&lt;/p&gt;

&lt;p&gt;· It produced something equally ugly.&lt;/p&gt;

&lt;p&gt;· "Ugly" is a valid instruction, so it had to guess.&lt;/p&gt;

&lt;p&gt;· What worked was two minutes in the discussion window turning that into a specification, then submitting something executable.&lt;/p&gt;

&lt;p&gt;· One pass.&lt;/p&gt;

&lt;p&gt;· This is also why you cannot be a courier.&lt;/p&gt;

&lt;p&gt;· Forwarding output without reading it sends unfiltered material into a second review, and the review can only work with what it was given.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Give remote output a place to land
&lt;/h2&gt;

&lt;p&gt;The step people skip is deciding where things go.&lt;/p&gt;

&lt;p&gt;· If the task runs remotely, on a cluster or a VM or in a container, the results and figures and error logs exist only there.&lt;/p&gt;

&lt;p&gt;· Reviewing them means opening them one at a time.&lt;/p&gt;

&lt;p&gt;· Passing them to the other window means copy and paste, and figures do not survive the trip.&lt;/p&gt;

&lt;p&gt;So Codex packages the run at the end of each task and drops it into a local tree keyed by task.&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%2F1u4mfv990v8ex0gvh2u1.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%2F1u4mfv990v8ex0gvh2u1.png" alt="Local directory structure: inbox, tasks, runs with per-run timestamped subdirectories, reports, BLOCKED.md" width="799" height="275"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;inbox/&lt;/code&gt; for source material, &lt;code&gt;tasks/&lt;/code&gt; for task cards, &lt;code&gt;runs/T001/&lt;/code&gt; for a timestamped subdirectory per execution with artifacts and logs, &lt;code&gt;reports/&lt;/code&gt; for finished documents, &lt;code&gt;BLOCKED.md&lt;/code&gt; for decisions I owe.&lt;/p&gt;

&lt;p&gt;· Three things follow.&lt;/p&gt;

&lt;p&gt;· Review is a local directory, not a remote session.&lt;/p&gt;

&lt;p&gt;· Handing work to the other window is a path, with figures included.&lt;/p&gt;

&lt;p&gt;· When something breaks the scene is intact, so you debug from the real error rather than from memory.&lt;/p&gt;

&lt;p&gt;· The structure is arbitrary.&lt;/p&gt;

&lt;p&gt;· What matters is that every run leaves a snapshot readable on its own.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: Start the conversation badly
&lt;/h2&gt;

&lt;p&gt;· My first instinct was a proper project brief.&lt;/p&gt;

&lt;p&gt;· Background, objective, method, deliverable.&lt;/p&gt;

&lt;p&gt;· I stared at it and produced nothing.&lt;/p&gt;

&lt;p&gt;· &lt;strong&gt;Starting beats planning here.&lt;/strong&gt; Clarity comes from the conversation, not before it.&lt;/p&gt;

&lt;p&gt;· A polished first version still gets rewritten the moment the direction shifts.&lt;/p&gt;

&lt;p&gt;· So I started dumping fragments.&lt;/p&gt;

&lt;p&gt;· First message is often three sentences that do not form a paragraph: I want to analyze something in this direction, I have this data, the goal is a draft I can send out.&lt;/p&gt;

&lt;p&gt;· Send it.&lt;/p&gt;

&lt;p&gt;· Then answer what comes back, about where the data lives, which definition to use, what level this is for.&lt;/p&gt;

&lt;p&gt;· By round three or four there is a usable brief.&lt;/p&gt;

&lt;p&gt;· The counterintuitive part: Codex handles fragments fine.&lt;/p&gt;

&lt;p&gt;· "This data came out of some repository last week, about three thousand rows, missing values not handled yet" works.&lt;/p&gt;

&lt;p&gt;· Compressing the specifics to sound professional is what breaks it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 5: Set up the workspace
&lt;/h2&gt;

&lt;p&gt;Four actions, no judgment.&lt;/p&gt;

&lt;p&gt;· New Codex chat, working directory pointed at the folder from step 3.&lt;/p&gt;

&lt;p&gt;· Get this wrong and every artifact lands elsewhere.&lt;/p&gt;

&lt;p&gt;· Name the project, matching what you will submit against later.&lt;/p&gt;

&lt;p&gt;· Trust the path when prompted, otherwise it cannot read the files.&lt;/p&gt;

&lt;p&gt;· If you switch models underneath this arrangement, unify the endpoint so you are not editing config per line.&lt;/p&gt;

&lt;p&gt;· One base URL:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;https://api.crazyrouter.com/v1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With the address and key in place, OpenAI and the open models go through the same entry point. Available models are on the &lt;a href="https://crazyrouter.com/en/pricing?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=offsite_article&amp;amp;utm_content=cr_84a281bc7c28_mid_text" rel="noopener noreferrer"&gt;Crazyrouter model and pricing catalog&lt;/a&gt;, and header and field formats are in the &lt;a href="https://docs.crazyrouter.com/llms.txt" rel="noopener noreferrer"&gt;Crazyrouter integration reference&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;· Names deserve attention.&lt;/p&gt;

&lt;p&gt;· With several lines running, the name is the only thing distinguishing them at submission.&lt;/p&gt;

&lt;p&gt;· Near-identical names guarantee you eventually submit into the wrong project, and the symptom is quiet: unrelated files start changing while it does normal work somewhere else.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 6: Harvest mode, the step that changes throughput
&lt;/h2&gt;

&lt;p&gt;· Conventional: submit, watch, wait, read, submit again.&lt;/p&gt;

&lt;p&gt;· Twelve minutes each round with you present and idle.&lt;/p&gt;

&lt;p&gt;· Harvest mode: submit, immediately turn to whatever else finished, collect, review, submit the next, turn again.&lt;/p&gt;

&lt;p&gt;· One run made the gap concrete.&lt;/p&gt;

&lt;p&gt;· The report finished writing at 11:42:15.&lt;/p&gt;

&lt;p&gt;· I killed the process at 11:54.&lt;/p&gt;

&lt;p&gt;· During those twelve minutes the report was already on disk while the interface still reported running.&lt;/p&gt;

&lt;p&gt;· The event stream shows it, one reconnect error at the end and normal reads before that.&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%2Fa79eyoatsl7qwyv1cv2s.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%2Fa79eyoatsl7qwyv1cv2s.png" alt="T001 event stream: TURN STARTED, then repeated reads of the task card and AGENTS.md, ending in an idle timeout waiting for SSE" width="800" height="440"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;· Waiting conventionally means waiting until you intervene.&lt;/p&gt;

&lt;p&gt;· The alternative is collecting another line during that window.&lt;/p&gt;

&lt;p&gt;· The precondition is real: more than one line running.&lt;/p&gt;

&lt;p&gt;· With one line, harvest mode means nothing and you wait, which is why the first thing to fix is splitting work into parallel lines.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 7: First review is yours, second review is not
&lt;/h2&gt;

&lt;p&gt;· The step most likely to get skipped, and the failure mode looks like being helpful.&lt;/p&gt;

&lt;p&gt;· Codex produces something, you forward it.&lt;/p&gt;

&lt;p&gt;· The problem is position, not efficiency. You own the line.&lt;/p&gt;

&lt;p&gt;· Whether the output is right depends on what the task was supposed to be, and only you hold that.&lt;/p&gt;

&lt;p&gt;· A second review is good at asking whether the content holds together.&lt;/p&gt;

&lt;p&gt;· It cannot ask whether it matches an intent it never received.&lt;/p&gt;

&lt;p&gt;The two reviews look at different things.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;First review, you: does it answer what I asked, are the numbers traceable, is anything fabricated, what is missing. Judged against your original intent.&lt;/li&gt;
&lt;li&gt;Second review, other window: logical gaps, structure, ambiguity, consistency with the background. Judged against the content itself.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;· The first review does not need expertise.&lt;/p&gt;

&lt;p&gt;· Read once and ask three questions: is this what I wanted, where did this number come from, what should be here that is not.&lt;/p&gt;

&lt;p&gt;· One of my runs is the counterexample.&lt;/p&gt;

&lt;p&gt;· Codex finished the report and hung.&lt;/p&gt;

&lt;p&gt;· I wrote the result file myself.&lt;/p&gt;

&lt;p&gt;· Had I been a courier, I would have forwarded "it didn't deliver" and the review window would have had nothing to work with, because the first review was empty.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two things outside the seven
&lt;/h2&gt;

&lt;p&gt;Both bite regardless of how well the seven are running.&lt;/p&gt;

&lt;p&gt;· The next instruction from the other window is a proposal, not an order.&lt;/p&gt;

&lt;p&gt;· It reads cleanly, the steps are ordered, so you paste it.&lt;/p&gt;

&lt;p&gt;· The run drifts and the premise turns out to be something you said in passing two rounds ago.&lt;/p&gt;

&lt;p&gt;· Two questions before submitting, both must be yes: is this my direction, does finishing it move me toward the goal.&lt;/p&gt;

&lt;p&gt;· Then verify the project name.&lt;/p&gt;

&lt;p&gt;· With three windows open, the wrong target happens.&lt;/p&gt;

&lt;p&gt;· Read the task file path out loud before submitting.&lt;/p&gt;

&lt;p&gt;· Five seconds against a full redo.&lt;/p&gt;

&lt;p&gt;· A finished marker is not a finished task either.&lt;/p&gt;

&lt;p&gt;· Codex applies an idle timeout while waiting, five minutes by default with no data, after which it decides the connection dropped and reconnects.&lt;/p&gt;

&lt;p&gt;· If the task finished writing but the stream never closed cleanly, it sits in reconnect while the interface reports running.&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%2F0wxgr03ts5bj8bpdyblk.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%2F0wxgr03ts5bj8bpdyblk.png" alt="T001 stderr log: three consecutive idle timeout waiting for SSE entries, with the turn.completed count at zero" width="800" height="239"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Counting &lt;code&gt;turn.completed&lt;/code&gt; in that log returns zero. It never declared completion, with the report already written.&lt;/p&gt;

&lt;p&gt;· So read three signals.&lt;/p&gt;

&lt;p&gt;· Artifact on disk ranks highest: content in the report, figures that open, complete logs.&lt;/p&gt;

&lt;p&gt;· The status marker ranks second: gone usually means done, present does not mean unfinished.&lt;/p&gt;

&lt;p&gt;· Process exit ranks last: a process that stays alive may only have an unclosed connection.&lt;/p&gt;

&lt;p&gt;· For scripted batches this beats exit codes, which describe what the process went through rather than what the task produced.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the cost actually is
&lt;/h2&gt;

&lt;p&gt;· Input tokens across the last two runs were 259,896 and 250,602, with cache hits at 95.3% and 96.1%.&lt;/p&gt;

&lt;p&gt;· The context overlaps heavily, so repeated reads mostly hit cache.&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%2Ffijr4nngd86z37zt08j2.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%2Ffijr4nngd86z37zt08j2.png" alt="Token usage across three runs: T001 unrecorded, T002 input 259,896 with 247,680 cached and 5,871 output, T003 input 250,602 with 240,896 cached and 4,832 output" width="800" height="397"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;· T001 is blank because the process was terminated externally and the usage never got written.&lt;/p&gt;

&lt;p&gt;· The real expense is redoing work.&lt;/p&gt;

&lt;p&gt;· A vague task card sends a run the wrong way, and one redo is a full set of input plus output.&lt;/p&gt;

&lt;p&gt;· So the thing worth polishing is the task card, not the prompt.&lt;/p&gt;

&lt;p&gt;· State the objective, pass inputs as paths, write acceptance criteria that can be judged yes or no.&lt;/p&gt;

&lt;p&gt;The task card has its own trap. Setting a 300-token output ceiling to force a minimal card returned nothing: &lt;code&gt;finish_reason&lt;/code&gt; was &lt;code&gt;length&lt;/code&gt;, &lt;code&gt;completion_tokens&lt;/code&gt; was 300, of which &lt;code&gt;reasoning_tokens&lt;/code&gt; accounted for 302, content empty. HTTP 200, status normal, deliverable empty. The ceiling has to cover thinking plus body.&lt;/p&gt;

&lt;p&gt;One more thing worth knowing: ask Codex to audit the scaffolding you built around it, and the findings come back finer than expected.&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%2Fbhjnc6w9b45t09bbl4pj.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%2Fbhjnc6w9b45t09bbl4pj.png" alt="T002 scaffolding audit report: directory existence checked item by item, with runtime defects in the scripts listed" width="800" height="507"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Two of those findings were in the completion check I had just written. Both fixed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Five things left after it starts working
&lt;/h2&gt;

&lt;p&gt;Seven steps sounds like a lot until it becomes reflex. If you keep only five:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Split into two windows. Tasks in Codex's context, discussion elsewhere.&lt;/li&gt;
&lt;li&gt;Leave a self-contained directory per run. Artifacts, logs, errors.&lt;/li&gt;
&lt;li&gt;Turn to another line the moment you submit. Requires at least two lines.&lt;/li&gt;
&lt;li&gt;Do the first review yourself. What I asked for, where the number came from, what is missing.&lt;/li&gt;
&lt;li&gt;Read three signals. Artifact first, marker second, exit code last.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The other two become habit after a few rounds.&lt;/p&gt;

&lt;h2&gt;
  
  
  The whole thing comes down to a division of labour
&lt;/h2&gt;

&lt;p&gt;Seven steps in, three judgments survive.&lt;/p&gt;

&lt;p&gt;· Context sets the ceiling, and the prompt is a minor contributor.&lt;/p&gt;

&lt;p&gt;· The same instruction in a window carrying dozens of rounds of discussion and in a window carrying only the task produce different work.&lt;/p&gt;

&lt;p&gt;· Two windows, task cards, isolated directories, all the same move: tighten the context.&lt;/p&gt;

&lt;p&gt;· The human position is review, not relay.&lt;/p&gt;

&lt;p&gt;· AI writes, runs, and fixes on its own.&lt;/p&gt;

&lt;p&gt;· What it cannot reach is the original intent, what you wanted before you started describing it.&lt;/p&gt;

&lt;p&gt;· Skip the first review and two machines pass a ball back and forth with neither knowing where the goal is.&lt;/p&gt;

&lt;p&gt;· Completion is judged by artifact.&lt;/p&gt;

&lt;p&gt;· A report on disk at 11:42 with the process alive until 11:54 settles that.&lt;/p&gt;

&lt;p&gt;· Progress indicators and exit codes record what the process encountered.&lt;/p&gt;

&lt;p&gt;· Neither says whether the task happened.&lt;/p&gt;

&lt;p&gt;Tool details change with the next release. Where you put the judgment will not.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;All measurements, logs, and behaviour described here come from three runs I executed on the versions listed above, and the screenshots are captures of those actual outputs. Codex CLI installation and configuration: &lt;a href="https://github.com/openai/codex" rel="noopener noreferrer"&gt;official repository&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>tooling</category>
      <category>workflow</category>
    </item>
    <item>
      <title>Stick Figure Videos at $97K a Month, Rebuilt with Claude and Whisper in Four API Calls</title>
      <dc:creator>boluo</dc:creator>
      <pubDate>Mon, 30 Nov 2026 10:26:21 +0000</pubDate>
      <link>https://dev.to/buluo/stick-figure-videos-at-97k-a-month-rebuilt-with-claude-and-whisper-in-four-api-calls-feo</link>
      <guid>https://dev.to/buluo/stick-figure-videos-at-97k-a-month-rebuilt-with-claude-and-whisper-in-four-api-calls-feo</guid>
      <description>&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%2Fff2i2wx05nvmeuiaieqv.jpg" 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%2Fff2i2wx05nvmeuiaieqv.jpg" alt="Cover: $97K a month from stick figure videos, rebuilt in four API calls" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A 22-year-old creator reportedly makes $97,000 a month from faceless explainer videos. The visuals are hand-drawn stick figures. No b-roll, no stock footage, no on-camera talent.&lt;/p&gt;

&lt;p&gt;What interested me wasn't the money. It was the tool chain: Claude for scripting, Claude Code for orchestration, Higgsfield for images, ElevenLabs for voice, TurboScribe for timestamps, CapCut for assembly. Six tools, six tabs, and a download-upload round trip between every stage.&lt;/p&gt;

&lt;p&gt;I rebuilt the chain as four API calls and ran each stage on 2026-11-30 against &lt;code&gt;https://api.crazyrouter.com&lt;/code&gt;. Below are the endpoints, the parameters, the measured numbers, the two mistakes that break a first attempt, and one measurement that changes how to plan a real batch.&lt;/p&gt;

&lt;h2&gt;
  
  
  The bottleneck is timestamp mapping, not generation
&lt;/h2&gt;

&lt;p&gt;People assume the hard part is getting the images right. It isn't. Image generation is the most stable stage in the pipeline. The stage that actually costs you is deciding which image belongs at which second. In the original workflow that's done by ear — scrub the audio timeline, type the timestamps by hand. Tolerable for a 30-second clip. An afternoon for a 10-minute video, and every script revision invalidates the whole mapping.&lt;/p&gt;

&lt;p&gt;Once that mapping is a guess, every downstream stage becomes a patch on the guess:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An image lands early, so you drag it&lt;/li&gt;
&lt;li&gt;It lands late, so you trim it&lt;/li&gt;
&lt;li&gt;One narration line changes, so the timeline gets rebuilt&lt;/li&gt;
&lt;li&gt;Each rebuild means recounting, and the count drifts&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So I inverted the order: make the timestamp a programmable output first, then automate what follows.&lt;/p&gt;

&lt;h2&gt;
  
  
  Stage one: write voiceover and timestamps in a single pass
&lt;/h2&gt;

&lt;p&gt;The original chain uses two tools here for a real reason. ElevenLabs returns audio without timestamps, so you hand the file to TurboScribe to transcribe it back and recover the timing. Two subscriptions, two uploads, one round trip through your downloads folder.&lt;/p&gt;

&lt;p&gt;Whisper returns segment boundaries natively. A 13.68-second narration returns eight exact boundaries.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Step&lt;/th&gt;
&lt;th&gt;Model and endpoint&lt;/th&gt;
&lt;th&gt;Measured&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Synthesize narration&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;tts-1&lt;/code&gt; → &lt;code&gt;/v1/audio/speech&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;218,880 bytes, 13.68s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Recover timestamps&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;whisper-1&lt;/code&gt; → &lt;code&gt;/v1/audio/transcriptions&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;8 segments with start/end&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The eight segments are contiguous — no gaps, no overlaps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;0.00-3.00&lt;/code&gt; two days without food&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;3.00-4.60&lt;/code&gt; knows where the herd is&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;4.60-6.12&lt;/code&gt; tracked it yesterday&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;6.12-7.44&lt;/code&gt; found the footprints&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;7.44-9.16&lt;/code&gt; the route is in his head&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;9.16-11.00&lt;/code&gt; only has to walk it&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;11.00-12.60&lt;/code&gt; then it starts raining&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;12.60-13.56&lt;/code&gt; not a drizzle&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That output is the whole point. No second transcription service, no counting seconds by hand. The cut points are decided by the audio, so image count and paragraph count align automatically.&lt;/p&gt;

&lt;p&gt;One boundary worth stating: Whisper cuts on speech pauses, so lengths vary — 1.12s to 1.84s here. If a section runs long and one image can't carry it, you'll find out during assembly. That's not a tool failure; the narration didn't breathe where it should have. Fix the script.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a longer clip changed
&lt;/h2&gt;

&lt;p&gt;A 13-second clip can hide problems. A 40-second narration (119 Chinese characters) goes through the same path.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Measure&lt;/th&gt;
&lt;th&gt;13.68s clip&lt;/th&gt;
&lt;th&gt;40s narration&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Whisper segments&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;td&gt;13&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Segment length range&lt;/td&gt;
&lt;td&gt;1.12–1.84s&lt;/td&gt;
&lt;td&gt;1.00–2.08s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Transcription wall time&lt;/td&gt;
&lt;td&gt;a few seconds&lt;/td&gt;
&lt;td&gt;58.3s&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Cut points stayed contiguous at length, which was the thing I actually wanted to verify. But wall time scales badly. Thirteen seconds feels instant; forty seconds takes most of a minute. Since the wait grows with image count, lock the script before you start the batch.&lt;/p&gt;

&lt;p&gt;One more output detail that surprised me: passing &lt;code&gt;language: "zh"&lt;/code&gt; on Chinese narration returned &lt;strong&gt;Traditional Chinese characters&lt;/strong&gt;, not Simplified — 「他已經在雪裡走了三天」. Harmless for display, but if you feed that text into another tool, check the script before you assume it matches your source.&lt;/p&gt;

&lt;h2&gt;
  
  
  Stage two: don't let the storyboard prompt quote the narration
&lt;/h2&gt;

&lt;p&gt;With timestamps in hand, convert them into visual descriptions. This is &lt;code&gt;claude-sonnet-5&lt;/code&gt;, asked for strictly one line per timestamp as &lt;code&gt;timestamp | English visual description&lt;/code&gt;. Three constraints:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One line per segment, no merging, no splitting&lt;/li&gt;
&lt;li&gt;Never quote the narration — describe only what can be drawn&lt;/li&gt;
&lt;li&gt;Keep each line under 30 words&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It returned in 4.3 seconds, 366 tokens, three aligned lines.&lt;/p&gt;

&lt;p&gt;The "never quote" rule isn't fussiness. Image models render abstract words literally:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Prompt says&lt;/th&gt;
&lt;th&gt;You may get&lt;/th&gt;
&lt;th&gt;What you wanted&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;"he is hungry"&lt;/td&gt;
&lt;td&gt;Someone eating a sandwich&lt;/td&gt;
&lt;td&gt;Stick figure seated, hands on stomach&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;"he is lost"&lt;/td&gt;
&lt;td&gt;A map with a question mark&lt;/td&gt;
&lt;td&gt;Stick figure standing still, looking both ways&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;"danger approaches"&lt;/td&gt;
&lt;td&gt;A monster or skull&lt;/td&gt;
&lt;td&gt;Several distant figures on the horizon&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Without the rule, the model pastes whole narration sentences into the image prompt and every output returns as abstract concept art.&lt;/p&gt;

&lt;h2&gt;
  
  
  Stage three: pin the visual style with one fixed prefix
&lt;/h2&gt;

&lt;p&gt;Prompts go to &lt;code&gt;nano-banana-2&lt;/code&gt;, one call per image.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Frame&lt;/th&gt;
&lt;th&gt;Scene&lt;/th&gt;
&lt;th&gt;Generation time&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;Stick figure seated, hungry&lt;/td&gt;
&lt;td&gt;21.5s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;Standing, looking toward distant herd&lt;/td&gt;
&lt;td&gt;10.5s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;Crouched in rain, inspecting footprints&lt;/td&gt;
&lt;td&gt;16.6s&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;All three came back at 1408×768 with a consistent look.&lt;/p&gt;

&lt;p&gt;Consistency depends entirely on a fixed prefix pasted verbatim in front of every prompt: black-and-white ink, wobbly lines, plain white background, no shading. The model will not remember the previous frame. This is where the real mistake happens — omit the prefix and you get three unrelated styles.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Prefix applied&lt;/th&gt;
&lt;th&gt;Result&lt;/th&gt;
&lt;th&gt;Recovery&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Full prefix on every prompt&lt;/td&gt;
&lt;td&gt;All three consistent&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Prefix on the first only&lt;/td&gt;
&lt;td&gt;Last two drifted&lt;/td&gt;
&lt;td&gt;Rerun two&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;No prefix&lt;/td&gt;
&lt;td&gt;Three unrelated styles&lt;/td&gt;
&lt;td&gt;Rerun all&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Generation time is also unstable. Two further scenes measured 13.8s and 20.3s, averaging 17.1s — same model, same prefix. For a 50-image batch, estimate on the worst case, not the average, or your schedule slips.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Frames&lt;/th&gt;
&lt;th&gt;Time at 10.5s (best seen)&lt;/th&gt;
&lt;th&gt;Time at 20.3s (worst seen)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;32s&lt;/td&gt;
&lt;td&gt;61s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;50&lt;/td&gt;
&lt;td&gt;9 min&lt;/td&gt;
&lt;td&gt;17 min&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;That spread is the difference between a batch you wait on and a batch you walk away from.&lt;/p&gt;

&lt;h2&gt;
  
  
  The four calls, with parameters
&lt;/h2&gt;

&lt;p&gt;Naming models without the wire format is useless. Here's what I actually sent. All four share one auth scheme: &lt;code&gt;Authorization: Bearer &amp;lt;your API key&amp;gt;&lt;/code&gt;, with &lt;code&gt;Content-Type&lt;/code&gt; per protocol.&lt;/p&gt;

&lt;h3&gt;
  
  
  Voiceover: tts-1
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Endpoint&lt;/strong&gt; &lt;code&gt;POST /v1/audio/speech&lt;/code&gt;, JSON body.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;th&gt;Notes&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;model&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;tts-1&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;tts-1-hd&lt;/code&gt; available, higher quality, slower&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;voice&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;alloy&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Swappable&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;input&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Full narration&lt;/td&gt;
&lt;td&gt;Keep under a few thousand characters&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;response_format&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;mp3&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Also &lt;code&gt;wav&lt;/code&gt;, &lt;code&gt;opus&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Body: &lt;code&gt;{"model":"tts-1","voice":"alloy","input":"narration","response_format":"mp3"}&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The response is a &lt;strong&gt;binary audio stream&lt;/strong&gt;, not JSON. The response was 218,880 bytes of 13.68-second audio, written straight to disk. The trap is parsing the response as JSON — it throws immediately because the body is audio bytes. Check for &lt;code&gt;Content-Type: audio/mpeg&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Timestamps: whisper-1
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Endpoint&lt;/strong&gt; &lt;code&gt;POST /v1/audio/transcriptions&lt;/code&gt;, &lt;code&gt;multipart/form-data&lt;/code&gt;, not JSON.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;th&gt;Notes&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;file&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;The mp3&lt;/td&gt;
&lt;td&gt;Form file field, required&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;model&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;whisper-1&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Transcription model&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;response_format&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;verbose_json&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Critical&lt;/strong&gt; — only this returns &lt;code&gt;segments&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;language&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Optional&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;zh&lt;/code&gt; or &lt;code&gt;en&lt;/code&gt; improves accuracy&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;code&gt;response_format&lt;/code&gt; is the entire ballgame. The default &lt;code&gt;json&lt;/code&gt; returns flat text with no timing. Request &lt;code&gt;verbose_json&lt;/code&gt; explicitly to get the &lt;code&gt;segments&lt;/code&gt; array with &lt;code&gt;start&lt;/code&gt;, &lt;code&gt;end&lt;/code&gt;, &lt;code&gt;text&lt;/code&gt;. Eight segments come back plus a top-level &lt;code&gt;duration&lt;/code&gt; for total length — useful for checking nothing went missing.&lt;/p&gt;

&lt;h3&gt;
  
  
  Storyboard: claude-sonnet-5
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Endpoint&lt;/strong&gt; &lt;code&gt;POST /v1/chat/completions&lt;/code&gt;, standard OpenAI-compatible.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;th&gt;Notes&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;model&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;claude-sonnet-5&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;claude-opus-5&lt;/code&gt; also in family&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;messages&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;One user message&lt;/td&gt;
&lt;td&gt;Timestamped script in &lt;code&gt;content&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;max_tokens&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;600&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;About 50 tokens per line&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Response is &lt;code&gt;choices[0].message.content&lt;/code&gt;. Returned in 4.3s with &lt;code&gt;prompt_tokens&lt;/code&gt; 176 and &lt;code&gt;completion_tokens&lt;/code&gt; 190, 366 total.&lt;/p&gt;

&lt;h3&gt;
  
  
  Images: nano-banana-2
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Endpoint&lt;/strong&gt; &lt;code&gt;POST /v1/images/generations&lt;/code&gt;, JSON.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;th&gt;Notes&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;model&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;nano-banana-2&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;nano-banana-pro&lt;/code&gt; also available&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;prompt&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Prefix + scene&lt;/td&gt;
&lt;td&gt;Prefix must be verbatim&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;n&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;1&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;One per call, batch via loop&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;size&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Optional&lt;/td&gt;
&lt;td&gt;Defaults to 1408×768&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The response is a &lt;code&gt;data&lt;/code&gt; array whose elements contain &lt;strong&gt;both&lt;/strong&gt; &lt;code&gt;b64_json&lt;/code&gt; and &lt;code&gt;url&lt;/code&gt;, but only one holds a value. In five consecutive runs, all five had a populated &lt;code&gt;url&lt;/code&gt; and an empty &lt;code&gt;b64_json&lt;/code&gt;; earlier tests had the opposite. Branching on &lt;code&gt;b64_json&lt;/code&gt; alone is not enough — handle both, decode if present, otherwise fetch. The same script that works today breaks tomorrow.&lt;/p&gt;

&lt;h2&gt;
  
  
  The three-line swap
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Original&lt;/th&gt;
&lt;th&gt;Replacement&lt;/th&gt;
&lt;th&gt;Why&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;ElevenLabs + TurboScribe&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;tts-1&lt;/code&gt; + &lt;code&gt;whisper-1&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Whisper supplies timestamps natively; two stages become one&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Higgsfield + MCP authorization&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;nano-banana-2&lt;/code&gt; direct&lt;/td&gt;
&lt;td&gt;No client-side auth click; loops cleanly&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Manual prompting in Claude Code&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;claude-sonnet-5&lt;/code&gt; API&lt;/td&gt;
&lt;td&gt;Storyboard prompts become scriptable&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;One base URL, OpenAI-compatible clients:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://api.crazyrouter.com/v1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Model names go in as &lt;code&gt;tts-1&lt;/code&gt;, &lt;code&gt;whisper-1&lt;/code&gt;, &lt;code&gt;claude-sonnet-5&lt;/code&gt;, &lt;code&gt;nano-banana-2&lt;/code&gt;. To confirm what your key can call, query &lt;code&gt;GET /v1/models&lt;/code&gt; — the catalog shifts, and mine was checked on 2026-11-30.&lt;/p&gt;

&lt;p&gt;Model listings and prices both change, so verify before you build: check &lt;a href="https://crazyrouter.com/en/pricing?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=offsite_article&amp;amp;utm_content=cr_057712f3a7bb_mid_text" rel="noopener noreferrer"&gt;Catalog and pricing&lt;/a&gt; for unit pricing and &lt;a href="https://docs.crazyrouter.com/llms.txt" rel="noopener noreferrer"&gt;Docs index&lt;/a&gt; for endpoint paths — images, audio, and chat sit on different paths.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Verify&lt;/th&gt;
&lt;th&gt;Where&lt;/th&gt;
&lt;th&gt;Why it changes&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Availability&lt;/td&gt;
&lt;td&gt;&lt;code&gt;GET /v1/models&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Depends on account permissions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Unit pricing&lt;/td&gt;
&lt;td&gt;Catalog and pricing&lt;/td&gt;
&lt;td&gt;Vendor changes propagate&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Endpoint paths&lt;/td&gt;
&lt;td&gt;Docs index&lt;/td&gt;
&lt;td&gt;Image, audio, chat differ&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;I deliberately didn't price it out. At 10–22s per image, a 50-image video spends 9 to 17 minutes on images alone, so a full episode lands between half an hour and an hour including voice and transcription. Actual cost depends on model and count; any figure I write today risks being stale.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One boundary to be explicit about: I validated a segment-level loop, not a full episode.&lt;/strong&gt; All four calls work. Whether a 50-image batch produces style outliers, how many retries that costs, whether it converges — I haven't measured any of it. A working segment doesn't mean a whole episode passes first try.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this doesn't solve
&lt;/h2&gt;

&lt;p&gt;Building it made me more convinced of something: the technical barrier is no longer the barrier.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Homogenization is coming.&lt;/strong&gt; The workflow starts by rewriting a competitor's proven structure. When thousands run the same template, tool chain, and voices, platform-side duplicate detection and recommendation decay are inevitable. What survives is editorial judgment and storytelling.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Revenue figures mislead.&lt;/strong&gt; Every number in the source is ad revenue, and RPM varies wildly by niche. Finance and business can clear $10–20; entertainment might pay $1–2. The same view count differs by an order of magnitude across niches.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;You're seeing the tail.&lt;/strong&gt; A single video at $18K is top-of-distribution, filtered from volume. The creator himself said twenty videos may yield one hit.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Your worry&lt;/th&gt;
&lt;th&gt;Solved&lt;/th&gt;
&lt;th&gt;Why&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Can't produce the video&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Segment-level loop verified&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Produced it, nobody watches&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;Topic and narrative stay human&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Payout too low&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;Pick the niche first&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A few published, no traction&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;Probability, reduced by volume&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;What this raises isn't the hit rate. It's how many attempts you can afford. Compressing days of labor into an hour or two is what makes a one-in-twenty bet rational. The tool produces the video; it doesn't produce the audience.&lt;/p&gt;

&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;p&gt;A six-tool, three-subscription faceless video pipeline collapses into three stages and four model calls, with measured numbers for every endpoint.&lt;/p&gt;

&lt;p&gt;Takeaways:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A reusable judgment&lt;/strong&gt;: image generation is the most stable stage. The bottleneck is the image-to-second mapping, and making it a program output is what unlocks everything downstream.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Copyable call specs&lt;/strong&gt;: request bodies, critical parameters, and response handling for &lt;code&gt;tts-1&lt;/code&gt;, &lt;code&gt;whisper-1&lt;/code&gt;, &lt;code&gt;claude-sonnet-5&lt;/code&gt;, &lt;code&gt;nano-banana-2&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Four failure modes&lt;/strong&gt;: missing &lt;code&gt;verbose_json&lt;/code&gt; returns no timestamps; TTS sends binary not JSON; &lt;code&gt;b64_json&lt;/code&gt; and &lt;code&gt;url&lt;/code&gt; never both hold a value; the style prefix must be verbatim every time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A planning number&lt;/strong&gt;: image generation ranges 10.5s to 20.3s for the same model and prefix. Budget a 50-image batch on the worst case, not the average.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A stated boundary&lt;/strong&gt;: segment-level loop verified; full episode and batch consistency not measured.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One line worth keeping: timestamps as program output saves more time than any model swap.&lt;/p&gt;




&lt;p&gt;Compiled from the public tutorial "Automate Your Entire Faceless Channel With Claude Code" by @benyuls on X (2026-11-28, 12m32s), reshared by @calc_guy on 2026-11-29. (x.com/benyuls)&lt;/p&gt;

</description>
      <category>ai</category>
      <category>video</category>
      <category>api</category>
      <category>automation</category>
    </item>
    <item>
      <title>Google Antigravity 2.0: Five Entry Points, Four Permission Tiers, and What 185 Models Actually Cost in Tokens</title>
      <dc:creator>boluo</dc:creator>
      <pubDate>Mon, 30 Nov 2026 09:45:30 +0000</pubDate>
      <link>https://dev.to/buluo/google-antigravity-20-five-entry-points-four-permission-tiers-and-what-185-models-actually-cost-25e8</link>
      <guid>https://dev.to/buluo/google-antigravity-20-five-entry-points-four-permission-tiers-and-what-185-models-actually-cost-25e8</guid>
      <description>&lt;p&gt;There is a specific kind of confusion that only shows up after you install an agent platform and start connecting things to it. One tool works fine. Add a terminal client, an IDE build, and two editor extensions, and suddenly the same &lt;code&gt;command(git)&lt;/code&gt; rule that you already approved in one place asks again in another, a settings change silently writes to a project file instead of the machine default, and a batch script that returns HTTP 200 hands you an empty string. None of these are bugs. They are the seams between layers that nobody documents in the getting-started guide.&lt;/p&gt;

&lt;p&gt;Google Antigravity is where I hit all three on November 30, 2026. It is Google's agent platform, rebuilt from the earlier Agent Manager, with a desktop app, a terminal client called &lt;code&gt;agy&lt;/code&gt;, a standalone IDE, six editor extensions and a Python SDK sharing one authentication layer and — this is the part that matters — separate local permission tables. Version numbers (App v2.36.0, CLI v1.5.16), system floors and the permission model were checked against the &lt;a href="https://antigravity.google/download" rel="noopener noreferrer"&gt;Google Antigravity official download page&lt;/a&gt; and the official documentation on that date. My machine runs the IDE build; desktop app screens come from Google's product images.&lt;/p&gt;

&lt;p&gt;This is organized as a wiring guide rather than a feature tour, because the wiring is where the hours go.&lt;/p&gt;

&lt;h2&gt;
  
  
  Five Ways In, and Why Installing All of Them Is the Wrong Move
&lt;/h2&gt;

&lt;p&gt;The download page offers five entry points. They share one local credential — finish OAuth in any single client and the machine's CLI and extensions are already signed in — but they cover different grains of work, and each one carries its own permission table.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Entry point&lt;/th&gt;
&lt;th&gt;Shape&lt;/th&gt;
&lt;th&gt;Choose it when&lt;/th&gt;
&lt;th&gt;Install floor&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Antigravity App&lt;/td&gt;
&lt;td&gt;Standalone desktop command center&lt;/td&gt;
&lt;td&gt;Three or four long-running agents churning across projects while you keep your editor closed&lt;/td&gt;
&lt;td&gt;macOS 13+, Win10/11, mainstream Linux (glibc ≥ 2.28), preinstalled on Googlebook&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Antigravity CLI (&lt;code&gt;agy&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;Terminal client&lt;/td&gt;
&lt;td&gt;Headless SSH servers, shell batch jobs, CI runners&lt;/td&gt;
&lt;td&gt;One-line script, no GUI dependency&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Antigravity IDE&lt;/td&gt;
&lt;td&gt;Full editor&lt;/td&gt;
&lt;td&gt;Directory tree, inline completion and the agent panel in one window&lt;/td&gt;
&lt;td&gt;Separate installer, permission table stored apart from App&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Editor extensions&lt;/td&gt;
&lt;td&gt;Six plugins&lt;/td&gt;
&lt;td&gt;The team will not leave VS Code, JetBrains, Visual Studio, Zed or Xcode&lt;/td&gt;
&lt;td&gt;Per-marketplace install&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Antigravity SDK&lt;/td&gt;
&lt;td&gt;Python package&lt;/td&gt;
&lt;td&gt;Embedding the agent loop in internal CI or a developer platform&lt;/td&gt;
&lt;td&gt;Preview stage, interface may change&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Two things worth stating plainly, because secondary tutorials get both backwards.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Entry points do not share permissions.&lt;/strong&gt; I installed the App and the IDE, then spent an evening confused about why a Git rule I had just approved kept prompting. Each install keeps its own local table; approving once does not propagate.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The CLI is not a shell around the desktop app.&lt;/strong&gt; It installs with &lt;code&gt;curl -fsSL https://antigravity.google/cli/install.sh | bash&lt;/code&gt; on macOS, Linux and Googlebook, or &lt;code&gt;irm https://antigravity.google/cli/install.ps1 | iex&lt;/code&gt; on Windows, and runs on a machine with no display at all. For batch work on a jump host, the several-hundred-megabyte desktop build is dead weight.&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%2Fwacfpivlvr48exym03eh.jpg" 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%2Fwacfpivlvr48exym03eh.jpg" alt="Google Antigravity download page" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Architecture is the first thing to check and the easiest to get wrong. An Intel build on Apple Silicon launches through translation and then feels sluggish in a way that reads as a slow model rather than the wrong package. An x64 build on a Windows ARM64 laptop sometimes refuses to draw the main window. On macOS upgrades, pick Replace rather than Keep Both: two builds in Applications means the CLI or a dock shortcut will eventually launch the stale one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three Seams That Only Appear After Install
&lt;/h2&gt;

&lt;h3&gt;
  
  
  The first-launch work type question removes a whole panel
&lt;/h3&gt;

&lt;p&gt;Since v2.30.0, first launch asks once what your daily work looks like, offering Software Engineering, Knowledge Work, Data &amp;amp; Analytics, Science, Design or Other. Skip is available and defaults to Software Engineering.&lt;/p&gt;

&lt;p&gt;That single click decides two things. The layout: Knowledge Work, Science, Design and Other open a documentation-oriented shell with no development panel, and only Software Engineering and Data &amp;amp; Analytics give you the full one. And the starter prompts: after Terms &amp;amp; Data Use, the Home input box shows up to three example cards tailored to that work type.&lt;/p&gt;

&lt;p&gt;The mechanism that surprised me: &lt;strong&gt;choosing a work type installs nothing.&lt;/strong&gt; A plugin appears only when you click a starter prompt card bound to a Marketplace plugin, at which point the client installs it and drops &lt;code&gt;@&amp;lt;plugin-name&amp;gt;&lt;/code&gt; plus the sample text into the input box. An empty Customizations list on first launch is normal, not a failed install.&lt;/p&gt;

&lt;p&gt;If you picked wrong, Settings → General → Interface Layout switches back without a reinstall, provided you are on v2.30.0 or later with a personal Google account.&lt;/p&gt;

&lt;h3&gt;
  
  
  A selected project silently captures your settings edits
&lt;/h3&gt;

&lt;p&gt;The first move in the main window is never the input box. It is the plus button in the Projects rail: create a project, pin its working directory to one dedicated folder or repository.&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%2Fjcvc8qqog5o48nzwhxy4.jpg" 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%2Fjcvc8qqog5o48nzwhxy4.jpg" alt="Conversation view after creating a project" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Long-time users ask how this differs from the old workspace concept. Four axes separate them:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Organization scope.&lt;/strong&gt; The old workspace was welded to one local Git repository; a project is a configuration over a set of folders, so the agent receives wider context.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Directory boundary.&lt;/strong&gt; A workspace watched one tree; a project can mount a frontend and a backend repository together and change an interface across both in one pass.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Settings isolation.&lt;/strong&gt; Workspace settings were machine-wide and mixed; a project carries its own configuration file that the agent prefers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Permission layering.&lt;/strong&gt; A project inherits machine permissions and can add its own allowlist or denylist on top.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The reason to bother is scope. Pinning the working directory keeps the agent from wandering into a desktop full of invoices and key files while hunting for a config. Dragging a drive root or the whole desktop into a project removes the read-write boundary entirely.&lt;/p&gt;

&lt;p&gt;The seam is here: &lt;strong&gt;with a project selected in the left rail, the Settings button opens that project's local configuration.&lt;/strong&gt; Only with nothing selected does it open the machine-wide configuration. I tuned a browser setting with a project highlighted, opened a fresh project, and found nothing had changed.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;code&gt;Deny &amp;gt; Ask &amp;gt; Allow&lt;/code&gt; explains every "my allowlist is ignored" report
&lt;/h3&gt;

&lt;p&gt;Every sensitive call is expressed as &lt;code&gt;action(target)&lt;/code&gt; and matched against three lists: &lt;strong&gt;Deny&lt;/strong&gt; blocks, &lt;strong&gt;Ask&lt;/strong&gt; suspends and waits for a click, &lt;strong&gt;Allow&lt;/strong&gt; passes silently. When custom rules contradict each other, resolution is fixed: &lt;strong&gt;Deny beats Ask, and Ask beats Allow.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That ordering is the whole answer to the most common complaint. Put a wildcard &lt;code&gt;command(*)&lt;/code&gt; in Ask and a friendly &lt;code&gt;command(git)&lt;/code&gt; in Allow, and every Git call still prompts — not because the allowlist failed, but because a wider Ask rule claims the call first and Ask outranks Allow. Three variants appear in practice:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Wildcard Ask plus specific Allow.&lt;/strong&gt; Narrow the Ask entry, for example from &lt;code&gt;command(*)&lt;/code&gt; to &lt;code&gt;command(npm *)&lt;/code&gt;. The allowlist only starts working once the broader rule stops claiming everything.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A leftover Deny entry.&lt;/strong&gt; Deny sits at the top. One stale line in that list defeats any number of Allow entries.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Two entry points, two permission tables.&lt;/strong&gt; Rules configured in the IDE do not sync to the App. This is the one most often misread as "the setting did not save."&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The standing four presets:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Disabled&lt;/strong&gt; — sandbox off, every command prompts, workspace-only file access, MCP and web on Ask.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Default&lt;/strong&gt; — sandbox on, commands run inside it and prompt on exit, workspace plus temp directories, MCP and web on Ask.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Auto&lt;/strong&gt; — sandbox on, commands run inside it and get an automated check on exit, same file scope, MCP and web on Ask.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Turbo&lt;/strong&gt; — sandbox off, unrestricted commands, whole filesystem, MCP and web allowed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The safety floor in Default and Auto is the &lt;strong&gt;terminal sandbox&lt;/strong&gt;: execution is isolated and reach stops at the current workspace and the system temp directory, with an explicit exit request when a package fetch or host resource is needed. Auto differs by routing that exit request through a built-in classifier instead of asking you.&lt;/p&gt;

&lt;p&gt;My recommendation has not changed: &lt;strong&gt;stay on Default for the first two weeks.&lt;/strong&gt; Move to Auto once the confirmation dialogs are pure noise. Keep Turbo for a disposable VM.&lt;/p&gt;

&lt;h2&gt;
  
  
  185 Models, Three Failure Shows, and the Reasoning Token Trap
&lt;/h2&gt;

&lt;p&gt;The desktop client handles interactive work. The moment the same workflow has to run in CI or be shared across tools, it lands on a standard API call.&lt;/p&gt;

&lt;p&gt;On November 30, 2026 I checked live availability on the &lt;a href="https://crazyrouter.com/en/pricing?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=offsite_article&amp;amp;utm_content=cr_32debc1bce28_mid_text" rel="noopener noreferrer"&gt;Crazyrouter model price and catalog page&lt;/a&gt; and sent one identical task to three Gemini 4 models through the same OpenAI-compatible endpoint; field formats are documented in the &lt;a href="https://docs.crazyrouter.com/llms.txt" rel="noopener noreferrer"&gt;Crazyrouter integration reference&lt;/a&gt;. The base URL used in every client and script:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://api.crazyrouter.com/v1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A single &lt;code&gt;GET /v1/models&lt;/code&gt; call returns &lt;strong&gt;185 available models&lt;/strong&gt;, 14 of them in the Gemini family, with &lt;code&gt;gemini-4-neon&lt;/code&gt;, &lt;code&gt;gemini-4-carbon&lt;/code&gt;, &lt;code&gt;gemini-4-hydrogen&lt;/code&gt; and &lt;code&gt;gemini-4-argon&lt;/code&gt; all present. One detail bites in code: the client menu shows capitalized names with spaces, while the request body needs the exact lowercase hyphenated ID. A casing mistake comes back as "model not found" rather than a format error, which sends you hunting in the wrong direction.&lt;/p&gt;

&lt;p&gt;The task was identical for all three — rewrite one spoken permission reminder into a developer-facing hint under fifty characters:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model ID&lt;/th&gt;
&lt;th&gt;&lt;code&gt;max_tokens&lt;/code&gt;&lt;/th&gt;
&lt;th&gt;Latency&lt;/th&gt;
&lt;th&gt;&lt;code&gt;completion_tokens&lt;/code&gt;&lt;/th&gt;
&lt;th&gt;&lt;code&gt;reasoning_tokens&lt;/code&gt;&lt;/th&gt;
&lt;th&gt;Visible output&lt;/th&gt;
&lt;th&gt;&lt;code&gt;finish_reason&lt;/code&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;gemini-4-hydrogen&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;400&lt;/td&gt;
&lt;td&gt;5.3 s&lt;/td&gt;
&lt;td&gt;400&lt;/td&gt;
&lt;td&gt;397&lt;/td&gt;
&lt;td&gt;0 chars (empty string)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;length&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;gemini-4-hydrogen&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;1600&lt;/td&gt;
&lt;td&gt;11.6 s&lt;/td&gt;
&lt;td&gt;3295&lt;/td&gt;
&lt;td&gt;3155&lt;/td&gt;
&lt;td&gt;163 chars&lt;/td&gt;
&lt;td&gt;&lt;code&gt;stop&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;gemini-4-carbon&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;1600&lt;/td&gt;
&lt;td&gt;87.5 s&lt;/td&gt;
&lt;td&gt;843&lt;/td&gt;
&lt;td&gt;813&lt;/td&gt;
&lt;td&gt;48 chars&lt;/td&gt;
&lt;td&gt;&lt;code&gt;stop&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;gemini-4-neon&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;1600&lt;/td&gt;
&lt;td&gt;13.2 s&lt;/td&gt;
&lt;td&gt;1164&lt;/td&gt;
&lt;td&gt;1140&lt;/td&gt;
&lt;td&gt;44 chars&lt;/td&gt;
&lt;td&gt;&lt;code&gt;stop&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Three results ran against expectation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A tight cap produces a successful-looking empty response.&lt;/strong&gt; The first Hydrogen call returned HTTP 200 with an empty &lt;code&gt;content&lt;/code&gt; field. 397 of its 400 completion tokens went to internal reasoning before a single character could be emitted, so the response ended on the length limit with nothing to show. Raising the cap to 1600 was the entire fix. The operational lesson is narrower than it looks: &lt;strong&gt;a monitor that only checks &lt;code&gt;status_code&lt;/code&gt; lets this failure pass silently.&lt;/strong&gt; Check &lt;code&gt;content&lt;/code&gt; length and &lt;code&gt;finish_reason&lt;/code&gt; alongside the status.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The light-labeled model reasoned hardest.&lt;/strong&gt; Writing one short paragraph cost Hydrogen 3155 reasoning tokens, while the heavier Carbon and Neon spent 813 and 1140 and still respected the fifty-character ceiling at 48 and 44. Budgeting by model name and skipping the reasoning allowance is how a batch job becomes an unpleasant invoice.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Latency does not track tier.&lt;/strong&gt; Same gateway, same day: heavyweight Neon finished in 13.2 seconds while mid-tier Carbon took 87.5. Single-call timing is dominated by upstream queue depth, so a 30-second timeout in automation manufactures false failures. 120 seconds is a safer floor.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Two Quota Pools, One Paid Wall, and a Subagent Bill
&lt;/h2&gt;

&lt;p&gt;The Models panel splits in half. The upper half sets the &lt;strong&gt;Orchestrator&lt;/strong&gt; — the part that decomposes tasks, picks an approach and accepts the result — while the model picker beside it sets the worker that writes code; the two can differ. The lower half reports remaining quota.&lt;/p&gt;

&lt;p&gt;The mechanic worth exploiting: &lt;strong&gt;the Gemini family and the Claude family draw on separate rolling five-hour pools and separate weekly totals.&lt;/strong&gt; Daily work runs on Gemini quota; Claude Sonnet or Opus gets called only when a state machine refuses to close. Claude's allowance is tighter and should not be spent on renames or docstrings.&lt;/p&gt;

&lt;p&gt;What each tier unlocks differs enough to matter:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Personal Free&lt;/strong&gt; — no monthly charge, weekly baseline refresh, Gemini 4 Hydrogen, Gemini 3.8 Flash, Claude Sonnet 4.6, Claude Opus 4.6, GPT-OSS-120b.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Google AI Pro&lt;/strong&gt; — five-hour refresh with a higher weekly ceiling, adding Gemini 4 Neon, Carbon, Argon and Orchestrator, with Claude at Sonnet 5.5 and Opus 5.5.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Google AI Ultra&lt;/strong&gt; — highest pool, everything Pro has plus the full partner model set.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Enterprise (Google Cloud)&lt;/strong&gt; — centrally managed, from 30 USD per seat per month or usage-billed, through Gemini Enterprise licensing.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Two traps hide in that table. The Free tier contains &lt;strong&gt;no Neon and no Orchestrator at all&lt;/strong&gt;, so any tutorial telling you to select Neon is assuming a paid plan. And &lt;code&gt;/boost&lt;/code&gt; and &lt;code&gt;/teamwork&lt;/code&gt;, the two heavyweight slash commands, are &lt;strong&gt;paid-plan features&lt;/strong&gt; — on Free they simply do nothing, which reads like a typo rather than a paywall.&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%2F52fnzql0ae4zu0bhnp3m.jpg" 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%2F52fnzql0ae4zu0bhnp3m.jpg" alt="Parallel subagents" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Subagents are the sharpest cost lever in the product. They compress a half-hour serial investigation into minutes and drain the five-hour quota at the same time. A custom subagent is a Markdown file with a YAML header, placed at &lt;code&gt;.agents/agents/&amp;lt;name&amp;gt;.md&lt;/code&gt; for project scope or &lt;code&gt;~/.gemini/config/agents/&amp;lt;name&amp;gt;.md&lt;/code&gt; for machine scope. Both &lt;code&gt;name&lt;/code&gt; and &lt;code&gt;description&lt;/code&gt; are required, and &lt;code&gt;description&lt;/code&gt; is load-bearing: the planner routes on it, so a vague description means the subagent is never called. Two built-ins exist without any files — &lt;code&gt;explore&lt;/code&gt; for codebase search and &lt;code&gt;self&lt;/code&gt;, a clone of the main agent's instructions and tools.&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%2F3k4s8nz7itdjdfo0u72j.jpg" 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%2F3k4s8nz7itdjdfo0u72j.jpg" alt="Artifacts panel" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Finished subagents return &lt;strong&gt;Artifacts&lt;/strong&gt; rather than raw logs: an implementation plan, a diff, a test report, a screenshot. I read the plan and the diff before approving. It is the one reliable brake between a plausible plan and a damaged repository.&lt;/p&gt;

&lt;h2&gt;
  
  
  Slash Commands Sorted by Task Stage
&lt;/h2&gt;

&lt;p&gt;Typing &lt;code&gt;/&lt;/code&gt; produces the command set that decides whether the tool saves time or creates cleanup. Sorted by stage rather than menu order:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Before touching code&lt;/strong&gt; — &lt;code&gt;/plan&lt;/code&gt; forces a step-by-step change plan and refuses to edit until approved; &lt;code&gt;/grill-me&lt;/code&gt; turns the model into an interviewer that keeps probing the boundaries you never specified. Any change spanning more than one file starts with &lt;code&gt;/plan&lt;/code&gt;, a rule I adopted after a two-line request produced edits across a dozen files that took longer to unwind than to write.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hard problems and unattended runs&lt;/strong&gt; — &lt;code&gt;/boost&lt;/code&gt; opens deep reasoning that decomposes, dispatches specialized subagents in parallel and cross-checks before answering; &lt;code&gt;/goal&lt;/code&gt; takes an acceptance target and runs unattended until it meets the bar.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Splitting work&lt;/strong&gt; — &lt;code&gt;/teamwork&lt;/code&gt; for multi-day multi-agent refactors, &lt;code&gt;/swarm&lt;/code&gt; for independent subtasks in parallel, &lt;code&gt;/run-workflow&lt;/code&gt; for predefined batch pipelines.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Capture and shrink&lt;/strong&gt; — &lt;code&gt;/skill&lt;/code&gt; packages conventions and scripts into a reusable skill folder (&lt;code&gt;SKILL.md&lt;/code&gt; plus scripts, default &lt;code&gt;.agents/skills&lt;/code&gt;, older &lt;code&gt;.agent/skills&lt;/code&gt; still recognized); &lt;code&gt;/learn&lt;/code&gt; writes corrections into the project rule file; &lt;code&gt;/compact&lt;/code&gt; compresses history and is the command I use most.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Two more stand alone: &lt;code&gt;/browser&lt;/code&gt; drives the built-in browser and stops for human takeover on logins, CAPTCHAs and payment forms, and &lt;code&gt;/schedule&lt;/code&gt; creates a scheduled task from plain language.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two Rule Layers, and the Project Always Wins
&lt;/h2&gt;

&lt;p&gt;Teaching the agent your conventions without repeating them every session uses two layers, the same shape Claude Code and Codex users know.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Project rules&lt;/strong&gt; sit at the repository root as &lt;code&gt;agents.md&lt;/code&gt; or &lt;code&gt;gemini.md&lt;/code&gt;, one or the other, stating what the repo is, which test framework it uses, which directories are off-limits and what response format to follow. I rarely open an editor for it; saying "record that naming convention in the project rules and report the current branch at the top of every reply" makes the agent write it.&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%2Fjiplrmmjuggo8fecopva.jpg" 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%2Fjiplrmmjuggo8fecopva.jpg" alt="Project rule taking effect" width="800" height="641"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Global rules&lt;/strong&gt; live under &lt;code&gt;~/.gemini/&lt;/code&gt;. Machine-wide custom configuration, MCP connections in &lt;code&gt;mcp_config.json&lt;/code&gt;, plugins and global subagents belong in &lt;code&gt;~/.gemini/config/&lt;/code&gt;, while &lt;code&gt;GEMINI.md&lt;/code&gt; sits beside that directory and governs global tone and standing constraints. When a project rule contradicts a global rule, the project file wins unconditionally.&lt;/p&gt;

&lt;p&gt;After &lt;code&gt;/skill&lt;/code&gt; or a few project plugins, a hidden &lt;code&gt;.agents&lt;/code&gt; folder appears at the project root holding split-out rules and that project's skill packages. Copy it with the code when handing off the repository and the accumulated conventions travel with it.&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%2Fgrqpyn329i32iugy2eid.jpg" 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%2Fgrqpyn329i32iugy2eid.jpg" alt="Skills definition" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Six Checks Before Handing Over the Keyboard
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Match the build to the architecture&lt;/strong&gt; — Apple Silicon versus Intel, x64 versus ARM64, Replace rather than Keep Both on macOS upgrades.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Create the project before the task&lt;/strong&gt; — one folder per job, never a drive root or the desktop.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check the left rail before editing settings&lt;/strong&gt; — a selected project means you are editing local configuration, not the machine default.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Start on Default permissions&lt;/strong&gt; — let the sandbox carry the first two weeks, then consider Auto, and keep Turbo for disposable machines.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use &lt;code&gt;/plan&lt;/code&gt; on anything multi-file&lt;/strong&gt; — read the plan and diff in Artifacts before approving, and do not expect &lt;code&gt;/boost&lt;/code&gt; or &lt;code&gt;/teamwork&lt;/code&gt; on a free account.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verify three fields on every API call&lt;/strong&gt; — &lt;code&gt;max_tokens&lt;/code&gt; at 1600 or above for the Gemini 4 family, and check &lt;code&gt;content&lt;/code&gt; for emptiness, &lt;code&gt;finish_reason&lt;/code&gt; for &lt;code&gt;length&lt;/code&gt;, and the &lt;code&gt;reasoning_tokens&lt;/code&gt; share together rather than watching the status code alone.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>tooling</category>
      <category>productivity</category>
      <category>google</category>
    </item>
  </channel>
</rss>
