<?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>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>
    <item>
      <title>DeepSeek Super-agent Parallel Coding Architecture and Results from Testing It on 8 Real Bugs</title>
      <dc:creator>boluo</dc:creator>
      <pubDate>Mon, 30 Nov 2026 08:32:32 +0000</pubDate>
      <link>https://dev.to/buluo/deepseek-super-agent-parallel-coding-architecture-and-results-from-testing-it-on-8-real-bugs-2oon</link>
      <guid>https://dev.to/buluo/deepseek-super-agent-parallel-coding-architecture-and-results-from-testing-it-on-8-real-bugs-2oon</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%2Finews.gtimg.com%2Fom_bt%2FOy0RlQ9B8vO5OrQj5SbRO3pfJ751EwTcHlAOjLcl3pv3UAA%2F0" 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%2Finews.gtimg.com%2Fom_bt%2FOy0RlQ9B8vO5OrQj5SbRO3pfJ751EwTcHlAOjLcl3pv3UAA%2F0" alt="DeepSeek dsh-superagent-prototype open-source repository on GitHub" width="2012" height="1212"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When I only have one feature to ship, keeping a single Claude Code or Codex terminal open feels effortless. The trouble starts the moment I try to juggle four or five active sessions across different bugs and PR reviews: while terminal #1 is blocked running an integration suite, a teammate drops a schema change in our group chat that belongs to terminal #3, and terminal #2 is waiting on a bash prompt I forgot to approve ten minutes ago. Coding agents automated the typing, but left developers acting as the human context router.&lt;/p&gt;

&lt;p&gt;On October 31, 2026, the DeepSeek Harness team published their systems design paper (&lt;em&gt;Exploring Super-agent Design: Toward More Autonomous Agent Systems&lt;/em&gt;) and open-sourced the accompanying TypeScript reference implementation in the &lt;a href="https://github.com/deepseek-ai/dsh-superagent-prototype" rel="noopener noreferrer"&gt;dsh-superagent-prototype repository&lt;/a&gt;. Their thesis is simple: single-task ceiling is decided by model intelligence, while multi-task ceiling is decided by human attention (which tops out around 3 to 5 concurrent sessions). To find out whether their dual-layer Router/Worker architecture actually saves time on real codebases—or just burns extra tokens—I audited the prototype source tree and ran a controlled 8-bug Python repair benchmark on November 30, 2026 (using identical Chinese task prompts across a single-session agent, a single-ticket Worker, and 1 Router + 8 parallel Workers).&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%2Finews.gtimg.com%2Fom_bt%2FOyCo-47_O4cy0Gj0d0FXmtUEdh8XgsrgBv40WLu4l0KxMAA%2F0" 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%2Finews.gtimg.com%2Fom_bt%2FOyCo-47_O4cy0Gj0d0FXmtUEdh8XgsrgBv40WLu4l0KxMAA%2F0" alt="Overall architecture of the DeepSeek Super-agent system" width="1043" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Architecture Decision Dimension&lt;/th&gt;
&lt;th&gt;Use Router/Worker Super-agent When...&lt;/th&gt;
&lt;th&gt;Stick to a Single-Session Agent When...&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Incoming Event Stream&lt;/td&gt;
&lt;td&gt;Your repo receives continuous GitHub Issues, PR review comments, and IM messages all day&lt;/td&gt;
&lt;td&gt;You manually kick off coding scripts or debugging prompts a few times a day&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;File Coupling Across Tasks&lt;/td&gt;
&lt;td&gt;Tickets touch isolated packages, microservices, or separate Git branches&lt;/td&gt;
&lt;td&gt;Multiple bug fixes edit the exact same shared helper files (e.g., &lt;code&gt;common.py&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Token Budget vs. Tail Latency&lt;/td&gt;
&lt;td&gt;You gladly trade a &lt;strong&gt;3x–5x cached token multiplier&lt;/strong&gt; to cut p95 wait time in half&lt;/td&gt;
&lt;td&gt;You want the lowest possible Prompt Token bill per resolved bug&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Benchmark Reality Check&lt;/td&gt;
&lt;td&gt;DeepSeek's 300-message test cut p95 latency from &lt;strong&gt;29.5 min to 15.7 min&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;My 8-bug test showed single-session used &lt;strong&gt;80% fewer prompt tokens&lt;/strong&gt; with &lt;strong&gt;0 merge drops&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Giving a Single Agent a &lt;code&gt;subagent&lt;/code&gt; Tool Still Fails Under Multi-Task Load
&lt;/h2&gt;

&lt;p&gt;Before splitting an agent system into two layers, the most obvious question any developer asks is: &lt;em&gt;Why not just give one main session a &lt;code&gt;subagent&lt;/code&gt; tool and tell it in the system prompt to spawn subagents whenever multiple tasks arrive?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;DeepSeek tested that exact setup (&lt;code&gt;Single-session w/ subagent&lt;/code&gt;) against three other configurations in a 300-message stream containing ~20 work requests, repeated 5 times:&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%2Finews.gtimg.com%2Fom_bt%2FOCE0mCJ-lsxa9KklfoAunPZvitn_iDEzgpbSD1r2BI-14AA%2F0" 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%2Finews.gtimg.com%2Fom_bt%2FOCE0mCJ-lsxa9KklfoAunPZvitn_iDEzgpbSD1r2BI-14AA%2F0" alt="DeepSeek 5-run ablation benchmark comparing 4 agent architectures" width="1080" height="494"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tested Architecture&lt;/th&gt;
&lt;th&gt;Median Time (p50)&lt;/th&gt;
&lt;th&gt;Tail Time (p95)&lt;/th&gt;
&lt;th&gt;Mean Cached Tokens&lt;/th&gt;
&lt;th&gt;Observed Behavior Across 5 Runs&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Super-agent (Full)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;12.4 min&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;15.7 min&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;23.23M&lt;/td&gt;
&lt;td&gt;Router dispatches immediately; Workers execute in parallel&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Super-agent w/o direct&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;12.1 min&lt;/td&gt;
&lt;td&gt;16.5 min&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;31.77M (+37%)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Every follow-up comment routes back through Router (+30% Router turns)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Single-session&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;20.1 min&lt;/td&gt;
&lt;td&gt;26.8 min&lt;/td&gt;
&lt;td&gt;9.88M&lt;/td&gt;
&lt;td&gt;Synchronous tool calls block subsequent tasks in the queue&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Single-session w/ subagent&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;19.8 min&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;29.5 min&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;10.42M&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Model invoked the Subagent tool 0 times across all 5 runs&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;That &lt;code&gt;0 times&lt;/code&gt; result in the bottom row is the single most important systems lesson in the paper. Post-trained coding models have a strong built-in bias to finish tasks inside their own loop rather than paying the tool-call overhead of delegating. Prompting a model to "delegate when appropriate" is a soft instruction that collapses under real workload.&lt;/p&gt;

&lt;p&gt;Super-agent turns delegation into a hard architectural boundary by splitting the system into two distinct session types:&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%2Finews.gtimg.com%2Fom_bt%2FOrpFcV56rkUAkxQlirhaDPWqySBh30GJzLZhrUYToardgAA%2F0" 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%2Finews.gtimg.com%2Fom_bt%2FOrpFcV56rkUAkxQlirhaDPWqySBh30GJzLZhrUYToardgAA%2F0" alt="Router layer handles routing and outward replies while isolated Worker sessions run tasks concurrently" width="935" height="303"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Router Session (&lt;code&gt;src/core/router.ts&lt;/code&gt;):&lt;/strong&gt; Holds global cross-channel memory, triages incoming triggers, creates or updates Tickets, and sends all user-facing messages. &lt;strong&gt;Crucially, the Router does not execute coding work—and does not even need a &lt;code&gt;bash&lt;/code&gt; tool attached.&lt;/strong&gt; Because it lacks execution tools, it &lt;em&gt;must&lt;/em&gt; dispatch tasks to Workers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Worker Sessions (&lt;code&gt;src/executor/&lt;/code&gt;, named &lt;code&gt;worker-&amp;lt;ticket id&amp;gt;&lt;/code&gt;):&lt;/strong&gt; Each Ticket gets an isolated context window, its own working directory, and full &lt;code&gt;bash&lt;/code&gt; + file read/write tools. Workers are forbidden from messaging users directly; they report status and Pull Request links back to the Router.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And because a Router turn consists almost entirely of reading incoming event batches and emitting a tiny routing tool call (&lt;strong&gt;heavy prefill, tiny decode&lt;/strong&gt;), queuing multiple triggers during a traffic spike automatically batches them into a single inference pass:&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%2Finews.gtimg.com%2Fom_bt%2FODmLAhfnHx1Sx4RBs93ZobKT6iYfIHqXJAxd1JnZGqoZoAA%2F0" 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%2Finews.gtimg.com%2Fom_bt%2FODmLAhfnHx1Sx4RBs93ZobKT6iYfIHqXJAxd1JnZGqoZoAA%2F0" alt="Router prefill batching amortizes per-decision latency as trigger arrival rate increases" width="1080" height="370"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When trigger arrival jumps 10x from 6/min (10s interval) to 60/min (1s interval), average batch size grows from &lt;strong&gt;1.1 to 9.8&lt;/strong&gt;, and amortized inference time per routing decision drops by &lt;strong&gt;75% (from 6.4s down to 1.6s)&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fixing 8 Python Bugs in Parallel Cost 5x More Tokens and Overwrote Half the Changes
&lt;/h2&gt;

&lt;p&gt;In DeepSeek's 300-message ablation test, the coding step itself was mocked with a sleep timer. I wanted to measure what happens when parallel Workers edit real source files and run &lt;code&gt;pytest&lt;/code&gt; on a shared repository.&lt;/p&gt;

&lt;p&gt;On November 30, 2026, I created a 4-module Python log parser and aggregation repo (&lt;code&gt;logkit&lt;/code&gt;) with 11 unit tests and seeded 8 realistic bugs (baseline &lt;code&gt;pytest&lt;/code&gt; run: &lt;code&gt;6 failed, 5 passed&lt;/code&gt;). To reflect real maintenance backlogs where multiple issues hit core helpers, I placed 4 bugs in &lt;code&gt;logkit/common.py&lt;/code&gt;, 2 in &lt;code&gt;logkit/format.py&lt;/code&gt;, and 2 in standalone files (&lt;code&gt;stats.py&lt;/code&gt; and &lt;code&gt;parser.py&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;I kept the original Chinese task prompts, tool schemas (&lt;code&gt;read_file&lt;/code&gt;, &lt;code&gt;write_file&lt;/code&gt;, &lt;code&gt;run_tests&lt;/code&gt;), and model (&lt;code&gt;deepseek-v4.1-flash&lt;/code&gt;) identical across all runs so that any difference came purely from orchestration structure. When running multi-agent scripts that mix DeepSeek, Claude, and Gemini models under one OpenAI-compatible client, I route requests through this 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;Before firing off 8 concurrent Workers, make sure to double-check the exact model identifier string in the &lt;a href="https://crazyrouter.com/en/models" rel="noopener noreferrer"&gt;Crazyrouter model directory&lt;/a&gt;, as gateway model IDs can differ slightly from upstream provider docs.&lt;/p&gt;

&lt;p&gt;Here is the head-to-head telemetry from all three orchestration runs:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Metric&lt;/th&gt;
&lt;th&gt;Mode 1: Single-Session Serial (All 8 Bugs in 1 Session)&lt;/th&gt;
&lt;th&gt;Mode 2: Single-Ticket Worker (Bug #8 Only)&lt;/th&gt;
&lt;th&gt;Mode 3: Router + 8 Parallel Workers (1 Router + 8 Workers)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Wall-Clock Duration&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;40.9 s&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;26.0 s&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;93.4 s&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Total Prompt Tokens&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;19,432&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;9,592&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;98,616 (5.07x)&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cached Tokens (Prefix Read)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;13,696&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;5,248&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;61,696 (4.50x)&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Completion Tokens&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;2,798&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;1,061&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;15,949 (5.70x)&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Total LLM API Calls&lt;/td&gt;
&lt;td&gt;7 calls&lt;/td&gt;
&lt;td&gt;5 calls&lt;/td&gt;
&lt;td&gt;47 calls (1 Router + 46 Worker)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Post-Merge &lt;code&gt;pytest&lt;/code&gt; Result&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;11 passed (100%)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;5 failed, 6 passed&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;3 failed, 8 passed (4 fixes lost)&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Two production lessons jump straight out of those numbers:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Eight Isolated Workers Used 5x More Prompt Tokens and Ran Slower
&lt;/h3&gt;

&lt;p&gt;Why did 8 parallel Workers consume &lt;strong&gt;98,616 prompt tokens&lt;/strong&gt; compared to &lt;strong&gt;19,432&lt;/strong&gt; in a single serial session? Look at Mode 2: spinning up a fresh Worker to fix just one bug took &lt;strong&gt;9,592 prompt tokens&lt;/strong&gt;, whereas fixing all 8 bugs in one continuous session averaged &lt;strong&gt;2,429 prompt tokens per bug&lt;/strong&gt; (&lt;strong&gt;a 3.95x cold-start tax&lt;/strong&gt;). Every isolated Worker has to load the system prompt, tool definitions, and repository files from zero. I inspected the cache-hit breakdown 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_2f2a1461f2f0_mid_text" rel="noopener noreferrer"&gt;real-time API pricing and billing page&lt;/a&gt;, and while prefix caching discounts repeated system prompts, firing 47 API turns across 8 workspaces still multiplies total token volume by 5x—and on small bugs that take seconds to patch, workspace cloning plus 47 API round-trips made the parallel run &lt;strong&gt;2.28x slower&lt;/strong&gt; (93.4s vs. 40.9s).&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Four Out of Eight Bug Fixes Disappeared After Merging
&lt;/h3&gt;

&lt;p&gt;Each of the 8 Workers passed its own unit test inside its isolated directory. However, when their modified files were merged back into the main workspace in completion order without a &lt;code&gt;git worktree&lt;/code&gt; rebase gate, &lt;strong&gt;4 out of 8 bug fixes were silently overwritten&lt;/strong&gt;:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Worker&lt;/th&gt;
&lt;th&gt;Target Function&lt;/th&gt;
&lt;th&gt;Target File&lt;/th&gt;
&lt;th&gt;Merge Outcome (Completion Order)&lt;/th&gt;
&lt;th&gt;Post-Merge Unit Test Status&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;w0&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;parse_hour&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;logkit/common.py&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Overwritten by &lt;code&gt;w3&lt;/code&gt; (Lost)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;PASSED (False Negative—test missed single-digit hour)&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;w1&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;pct&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;logkit/common.py&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Overwritten by &lt;code&gt;w3&lt;/code&gt; (Lost)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;FAILED test_pct&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;w2&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;loose_eq&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;logkit/common.py&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Overwritten by &lt;code&gt;w3&lt;/code&gt; (Lost)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;FAILED test_loose_eq&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;w3&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;percentile&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;logkit/common.py&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Kept (Last writer won)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;PASSED&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;w4&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;fmt_duration&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;logkit/format.py&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Overwritten by &lt;code&gt;w5&lt;/code&gt; (Lost)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;FAILED test_fmt_duration&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;w5&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;fmt_size&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;logkit/format.py&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Kept (Last writer won)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;PASSED&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;w6&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;slowest&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;logkit/stats.py&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Kept (Independent file)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;PASSED&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;w7&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;parse_line&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;logkit/parser.py&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Kept (Independent file)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;PASSED&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Look closely at &lt;code&gt;w0&lt;/code&gt; (&lt;code&gt;parse_hour&lt;/code&gt; in &lt;code&gt;logkit/common.py&lt;/code&gt;). Its fix was completely wiped out when &lt;code&gt;w3&lt;/code&gt; overwrote &lt;code&gt;common.py&lt;/code&gt; a few seconds later—yet &lt;code&gt;pytest&lt;/code&gt; only reported &lt;code&gt;3 failed&lt;/code&gt; instead of &lt;code&gt;4 failed&lt;/code&gt;. Why? Because the existing unit test only asserted two-digit hours (&lt;code&gt;09:05:00&lt;/code&gt;) and didn't test single-digit hours (&lt;code&gt;9:05:00&lt;/code&gt;). Relying on file-level copy-back without Git branch rebase and diff inspection lets overwritten regressions slip through under a green test suite.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keeping the Agent in Group Chats All Day Without Blowing Up the Context Window
&lt;/h2&gt;

&lt;p&gt;Where Super-agent genuinely shines is keeping a 24/7 background agent from drowning in group-chat noise or context bloat. Four mechanisms handle this in the event pipeline:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Two-Stage Filtering (Fast Path + Slow Path):&lt;/strong&gt; Programmatic code rules (&lt;strong&gt;Fast Path&lt;/strong&gt;) filter out non-whitelisted senders (&lt;code&gt;allowed&lt;/code&gt;), unmonitored repos, and ignored bots in milliseconds for 0 tokens. Only surviving events hit the LLM (&lt;strong&gt;Slow Path&lt;/strong&gt;), which applies natural-language rules—such as rejecting any outbound IM message over &lt;strong&gt;100 words&lt;/strong&gt;, banning &lt;em&gt;"Got it, checking"&lt;/em&gt; filler replies, and capping automated review-bot exchanges at &lt;strong&gt;3 rounds per PR&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Thread Subscription Direct Pass-Through:&lt;/strong&gt; Once Worker A is assigned to a GitHub PR thread, it subscribes to that Thread ID. Follow-up comments route straight to Worker A without waking the Router—saving &lt;strong&gt;30% of Router turns&lt;/strong&gt; and &lt;strong&gt;37% of cached tokens&lt;/strong&gt; (23.23M vs. 31.77M).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Inline vs. Spill Context + Chained Recall:&lt;/strong&gt; Short summaries and object IDs load &lt;strong&gt;Inline&lt;/strong&gt;, while multi-thousand-line CI logs &lt;strong&gt;Spill&lt;/strong&gt; to disk behind a reference ID. Cross-linked IDs let the model traverse backward (&lt;code&gt;Comment -&amp;gt; Thread -&amp;gt; Worker -&amp;gt; Earlier Thread&lt;/code&gt;) on demand.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Speculative Execution + Async ReAct (&lt;code&gt;start()&lt;/code&gt; / &lt;code&gt;stop()&lt;/code&gt;):&lt;/strong&gt; Under a &lt;em&gt;"silent reproduction and fix"&lt;/em&gt; policy, the Router can quietly spawn a Worker on an unmentioned bug complaint in chat; if the fix is clean, it drops a ready-to-merge PR with screenshots into the chat before humans finish discussing the bug. Meanwhile, async &lt;code&gt;start()&lt;/code&gt; / &lt;code&gt;stop()&lt;/code&gt; tool interfaces prevent long builds from blocking foreground chat turns.&lt;/li&gt;
&lt;/ol&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%2Finews.gtimg.com%2Fom_bt%2FOzZ3iqffpHB7s2RMH08H-qeoHghNl1yWPx8d-XP-UpTtYAA%2F0" 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%2Finews.gtimg.com%2Fom_bt%2FOzZ3iqffpHB7s2RMH08H-qeoHghNl1yWPx8d-XP-UpTtYAA%2F0" alt="Two-stage filtering pipeline and Thread subscription direct pass-through" width="941" height="204"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Four Things in the Open-Source Prototype You Should Patch Before Deploying
&lt;/h2&gt;

&lt;p&gt;Walking through the &lt;code&gt;dsh-superagent-prototype&lt;/code&gt; codebase and independent November 2026 deployment logs revealed four concrete engineering traps:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Source Module / Mechanism&lt;/th&gt;
&lt;th&gt;What the Prototype Actually Does&lt;/th&gt;
&lt;th&gt;Production Fix Required&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Default Intake Mode (&lt;code&gt;docs/000-philosophy.md&lt;/code&gt;)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Defaults to &lt;code&gt;observe&lt;/code&gt; mode: unmentioned triggers are evaluated in logs only, zero code edits&lt;/td&gt;
&lt;td&gt;Keep &lt;code&gt;observe&lt;/code&gt; on for the first 72 hours to audit Slow Path false positives before enabling active PRs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;GitHub 60s Poller (&lt;code&gt;src/sources/github.ts&lt;/code&gt;)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Compares Issue &lt;code&gt;created_at&lt;/code&gt; against the &lt;code&gt;readNotified&lt;/code&gt; cursor; GitHub &lt;code&gt;@mention&lt;/code&gt; lag (~20s) causes &lt;strong&gt;~1/3 of Issues to be silently skipped&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;Rewind the &lt;code&gt;readNotified&lt;/code&gt; query window by 5 minutes on every poll and deduplicate by &lt;code&gt;Trigger ID&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;30k-Char Worker Prompt (&lt;code&gt;prompts/worker/&lt;/code&gt;)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Tells Worker to ask clarifying questions on subjective tasks, but &lt;code&gt;explicitRouted&lt;/code&gt; tasks still hallucinate UI specs without asking&lt;/td&gt;
&lt;td&gt;Do not rely on prompt instructions alone for destructive actions; enforce human PR review gates&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Host OS Execution (&lt;code&gt;src/executor/&lt;/code&gt;)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Runs Router and Workers directly under the current Linux/WSL user without container sandboxing (Windows requires WSL + dedicated GitHub bot account)&lt;/td&gt;
&lt;td&gt;Run inside an isolated low-privilege Linux user or container; wire up cloud compute decoupling and external Watchdog yourself&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  The First Two Modules Worth Adopting in Your Own Workflow
&lt;/h2&gt;

&lt;p&gt;You don't need to deploy the entire Super-agent stack at once. If you are building your own internal coding agent workflow, implement these two patterns first:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Copy first:&lt;/strong&gt; &lt;strong&gt;Programmatic Fast Path + Semantic Slow Path filtering&lt;/strong&gt; (cuts ~80% of wasted webhook LLM calls) and &lt;strong&gt;Thread Subscription Direct Pass-Through&lt;/strong&gt; (cuts 37% of routing cached tokens).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hold off until scale demands it:&lt;/strong&gt; Multi-Worker parallel execution on shared modules—unless your tickets take 10+ minutes each and you have strict &lt;code&gt;git worktree&lt;/code&gt; rebase + regression gates wired into your merge pipeline.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>architecture</category>
      <category>python</category>
    </item>
    <item>
      <title>Claude Fable 5.2 vs. Gemini 4 Neon: Agent Harnesses, 1M-Context Architecture, and API Routing Guide</title>
      <dc:creator>boluo</dc:creator>
      <pubDate>Fri, 27 Nov 2026 09:29:29 +0000</pubDate>
      <link>https://dev.to/buluo/claude-fable-52-vs-gemini-4-neon-agent-harnesses-1m-context-architecture-and-api-routing-guide-378o</link>
      <guid>https://dev.to/buluo/claude-fable-52-vs-gemini-4-neon-agent-harnesses-1m-context-architecture-and-api-routing-guide-378o</guid>
      <description>&lt;p&gt;Between November 9 and November 18, 2026, Anthropic and Google shipped two frontier models engineered specifically for autonomous coding agents and repository-scale workflows: &lt;strong&gt;Claude Fable 5.2&lt;/strong&gt; (&lt;code&gt;claude-fable-5-2&lt;/code&gt;) and &lt;strong&gt;Gemini 4 Neon&lt;/strong&gt; (&lt;code&gt;gemini-4-neon&lt;/code&gt;). While both models advertise a &lt;strong&gt;1M-token context window&lt;/strong&gt;, treating them as drop-in substitutes inside an existing agent loop often breaks production pipelines. They differ fundamentally in single-pass output ceilings (128K vs. 65,536 synchronous tokens), input modalities (2 modalities vs. 5 modalities), prompt caching semantics (explicit &lt;code&gt;cache_control&lt;/code&gt; breakpoints vs. automatic implicit prefix matching), and how strongly their benchmark scores depend on their native CLI harnesses.&lt;/p&gt;

&lt;p&gt;Based on the official Anthropic and Google DeepMind model cards, evaluation methodology reports, and independent X benchmarks as of November 27, 2026, here is the engineering breakdown—starting with a fast routing table for choosing the right model per task:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Engineering Workload&lt;/th&gt;
&lt;th&gt;Recommended Model&lt;/th&gt;
&lt;th&gt;Primary Technical Reason&lt;/th&gt;
&lt;th&gt;Integration Constraint to Watch&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Multi-file repository refactoring, legacy migrations, and deep root-cause bug fixes&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Claude Fable 5.2&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Reaches &lt;strong&gt;69.9%&lt;/strong&gt; on FrontierSWE v2 and &lt;strong&gt;75.0%&lt;/strong&gt; on CWE-Bench v2 (with Claude Code); supports &lt;strong&gt;128K&lt;/strong&gt; standard output tokens&lt;/td&gt;
&lt;td&gt;Adaptive thinking is always on; combining unsupported &lt;code&gt;tool_choice&lt;/code&gt; modes or sampling parameters triggers HTTP 400&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Terminal command automation, multi-step tool execution, and greenfield secure code&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Gemini 4 Neon&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Scores &lt;strong&gt;65.2%&lt;/strong&gt; on Terminal-Bench 4.1, &lt;strong&gt;56.3%&lt;/strong&gt; on AutomationBench, and &lt;strong&gt;76.0%&lt;/strong&gt; on AutoBaxBench; #2 globally on Agent Arena Steerability&lt;/td&gt;
&lt;td&gt;Default synchronous output caps at &lt;strong&gt;65,536 tokens&lt;/strong&gt;; generating larger single-pass files requires enabling &lt;code&gt;long decode&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Long-horizon multi-turn agent loops over a static codebase or specification&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Match to Cache Architecture&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Claude Fable 5.2 uses explicit &lt;code&gt;cache_control&lt;/code&gt; breakpoints (5m/1h TTL); Gemini 4 Neon uses automatic implicit prefix caching&lt;/td&gt;
&lt;td&gt;Gemini 4 Neon does not support explicit caching API calls; dynamic timestamps at the start of &lt;code&gt;system&lt;/code&gt; prompts break prefix matching&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Debugging with screen-recording videos, audio logs, dense charts, or PDF specs&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Gemini 4 Neon&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Natively ingests &lt;strong&gt;text, image, video, audio, and PDF&lt;/strong&gt; inside a unified 1,048,576-token window&lt;/td&gt;
&lt;td&gt;Claude Fable 5.2 accepts text and images only; audio, video, and PDF files require external parsing pipelines&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hybrid multi-agent routing inside Cursor, Cline, Continue, or custom backends&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Unified OpenAI-Compatible Gateway&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Use &lt;code&gt;gemini-4-neon&lt;/code&gt; for fast end-to-end tool execution and multimodal ingestion; escalate complex cross-module refactors to &lt;code&gt;claude-fable-5-2&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Switching the &lt;code&gt;model&lt;/code&gt; string requires aligning cache headers, synchronous output caps, and streaming tool-call parsers&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Architecture &amp;amp; Spec Boundaries: Mythos-Backed Fable 5.2 vs. Carbon-Adapted Neon
&lt;/h2&gt;

&lt;p&gt;Before comparing benchmark numbers, it helps to examine where each model sits inside its vendor's architecture lineup and what hard limits govern its API responses.&lt;/p&gt;

&lt;p&gt;Anthropic launched &lt;strong&gt;Claude Fable 5.2&lt;/strong&gt; alongside &lt;strong&gt;Claude Mythos 5.2&lt;/strong&gt; on November 9, 2026. According to Anthropic's release notes, &lt;strong&gt;Fable 5.2 and Mythos 5.2 are the exact same underlying model&lt;/strong&gt;. Fable 5.2 ships with full cybersecurity and biosecurity safeguards (tuned to produce fewer false-positive blocks than Fable 5.1) so any developer can call it via API, whereas Mythos 5.2 is restricted to verified cybersecurity and biomedical research organizations. Within Anthropic's four-tier lineup, &lt;strong&gt;Claude Opus 5.5&lt;/strong&gt; remains the everyday coding workhorse, while &lt;strong&gt;Claude Fable 5.2&lt;/strong&gt; is designed for demanding reasoning tasks where high-effort Opus 5.5 still falls short—or to act as a top-level Advisor/Orchestrator delegating subtasks to Sonnet 5.5 and Haiku 5.5.&lt;/p&gt;

&lt;p&gt;Google released &lt;strong&gt;Gemini 4 Neon&lt;/strong&gt; nine days later on November 18, 2026 (with documentation updated on November 23). Google DeepMind's model card explicitly states that &lt;strong&gt;Gemini 4 Neon is adapted from Gemini 4 Carbon&lt;/strong&gt;, preserving Carbon's safety and security stack—including a &lt;strong&gt;0.0% attack success rate&lt;/strong&gt; on Gray Swan's indirect prompt injection (IPI) benchmark at its highest thinking level—while optimizing for fast end-to-end task completion, fewer redundant file reads, and reliable context compaction across long sessions. On internal coding integrity evaluations, Neon recorded a &lt;strong&gt;2.45% shortcut/cheating rate&lt;/strong&gt; (the lowest in the Gemini 4 family) and can operate either standalone or as an Orchestrator directing parallel Hydrogen subagents in Google Antigravity.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Technical Specification&lt;/th&gt;
&lt;th&gt;Claude Fable 5.2&lt;/th&gt;
&lt;th&gt;Gemini 4 Neon&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Official Release Date&lt;/td&gt;
&lt;td&gt;November 9, 2026&lt;/td&gt;
&lt;td&gt;November 18, 2026 (updated Nov 23, 2026)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Model Lineage &amp;amp; Role&lt;/td&gt;
&lt;td&gt;Shares underlying model with Claude Mythos 5.2; sits above Claude Opus 5.5 for complex reasoning and orchestration&lt;/td&gt;
&lt;td&gt;Adapted from Gemini 4 Carbon; engineered for fast end-to-end software engineering and tool-heavy agent loops&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Official API Model ID&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;claude-fable-5-2&lt;/code&gt; (Bedrock: &lt;code&gt;global.anthropic.claude-fable-5-2&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;gemini-4-neon&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Supported Input Modalities&lt;/td&gt;
&lt;td&gt;Text, Image&lt;/td&gt;
&lt;td&gt;Text, Image, Video, Audio, PDF&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Supported Output Modality&lt;/td&gt;
&lt;td&gt;Text&lt;/td&gt;
&lt;td&gt;Text&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Context Window&lt;/td&gt;
&lt;td&gt;1M tokens&lt;/td&gt;
&lt;td&gt;1,048,576 tokens (unified input and output window)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Max Output Tokens per Call&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;128K tokens&lt;/strong&gt; (standard)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;65,536 tokens&lt;/strong&gt; (default synchronous) / up to &lt;strong&gt;1,048,576 tokens&lt;/strong&gt; with &lt;code&gt;long decode&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Thinking / Reasoning Control&lt;/td&gt;
&lt;td&gt;Adaptive thinking always on; default &lt;code&gt;high&lt;/code&gt; (&lt;code&gt;medium&lt;/code&gt;, &lt;code&gt;high&lt;/code&gt;, &lt;code&gt;xhigh&lt;/code&gt;, &lt;code&gt;max&lt;/code&gt; effort tiers); up to 30% faster output than Fable 5.1&lt;/td&gt;
&lt;td&gt;Four selectable thinking levels; default &lt;code&gt;high&lt;/code&gt;, maximum &lt;code&gt;xhigh&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Knowledge Cutoff &amp;amp; Retirement&lt;/td&gt;
&lt;td&gt;June 2026 cutoff; guaranteed retirement no sooner than November 9, 2027&lt;/td&gt;
&lt;td&gt;Governed by Google AI Studio lifecycle policy and DeepMind model card disclosures&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Decoding the Benchmarks: Why Scores Flip Between AutoBaxBench and CWE-Bench v2
&lt;/h2&gt;

&lt;p&gt;A surface read of the November 2026 coding benchmarks looks contradictory: Gemini 4 Neon leads on AutoBaxBench and Paweł Huryn's 105-bug hunt, while Claude Fable 5.2 leads on FrontierSWE v2 and Collinear's CWE-Bench v2. Looking at the evaluation harnesses and task definitions explains why both results hold true at the same time.&lt;/p&gt;

&lt;h3&gt;
  
  
  Greenfield Secure Code vs. Multi-File Root-Cause Patching
&lt;/h3&gt;

&lt;p&gt;In Google's official release report, two side-by-side charts include both &lt;code&gt;Gemini 4 Neon&lt;/code&gt; and &lt;code&gt;Claude Fable 5.2&lt;/code&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;AutoBaxBench (Greenfield Secure Code Generation)&lt;/strong&gt;: Across easy, medium, and hard challenges measuring whether a model writes secure code from scratch without introducing vulnerabilities, &lt;strong&gt;Gemini 4 Neon scores 76.0%&lt;/strong&gt; on the hard tier, outperforming Gemini 4 Carbon (74.0%), &lt;strong&gt;Claude Fable 5.2 (68.0%)&lt;/strong&gt;, and Claude Opus 5.5 (68.0%).&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/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fr27zyrjmysyi49hv2sxa.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%2Fr27zyrjmysyi49hv2sxa.webp" alt="Google official AutoBaxBench chart: Gemini 4 Neon 76.0%, Claude Fable 5.2 68.0%" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1 | Google's official AutoBaxBench chart comparing Gemini 4 Neon (76.0%) and Claude Fable 5.2 (68.0%) on secure code generation (source: Google Gemini 4 Neon release report and DeepMind evaluation methodology).&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;CWE-Bench v2 Pass@1 (Vulnerability Root-Cause Patching)&lt;/strong&gt;: When the task shifts to diagnosing and patching the root cause of real-world vulnerabilities inside existing codebases on Collinear's CWE-Bench v2 (Combined Set), &lt;strong&gt;Claude Fable 5.2 takes first place at 75.0%&lt;/strong&gt;, while &lt;strong&gt;Gemini 4 Neon scores 70.7%&lt;/strong&gt; (3.4 percentage points ahead of Gemini 4 Carbon at 67.3%).&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/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4f754v8lh13lr7809nth.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%2F4f754v8lh13lr7809nth.webp" alt="Google official CWE-Bench v2 chart: Claude Fable 5.2 on Claude Code vs. Gemini 4 Neon on Antigravity" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2 | Google's official CWE-Bench v2 (Pass@1) chart, noting the distinct agent harnesses beneath each model name (source: Google Gemini 4 Neon release report and DeepMind evaluation methodology).&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  The Agent Harness Multiplier (&lt;code&gt;Claude Code&lt;/code&gt; vs. &lt;code&gt;Antigravity&lt;/code&gt; vs. &lt;code&gt;mini-SWE&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;Notice the subtitle beneath each bar in Figure 2: &lt;strong&gt;Claude Fable 5.2 ran inside &lt;code&gt;Claude Code&lt;/code&gt;, whereas Gemini 4 Neon ran inside &lt;code&gt;Antigravity&lt;/code&gt;&lt;/strong&gt; (and GPT-6.2 Astra ran inside &lt;code&gt;Codex&lt;/code&gt;). Those numbers do not measure bare API calls against an identical prompt template—they measure the paired system of &lt;strong&gt;Model + Native Agent Harness&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Google demonstrated the exact magnitude of this harness effect on &lt;strong&gt;SWE-sweep&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Running &lt;code&gt;gemini-4-neon&lt;/code&gt; inside the minimal &lt;strong&gt;mini-SWE&lt;/strong&gt; harness produced a score of &lt;strong&gt;12.8%&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Running the exact same &lt;code&gt;gemini-4-neon&lt;/code&gt; model inside &lt;strong&gt;Google Antigravity&lt;/strong&gt; more than tripled the score to &lt;strong&gt;39.0%&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When evaluating third-party posts on X alongside vendor benchmarks, keeping the harness and thinking tier visible prevents apples-to-oranges conclusions:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Benchmark &amp;amp; Source&lt;/th&gt;
&lt;th&gt;Claude Fable 5.2 Result &amp;amp; Setup&lt;/th&gt;
&lt;th&gt;Gemini 4 Neon Result &amp;amp; Setup&lt;/th&gt;
&lt;th&gt;Key Engineering Variable&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;FrontierSWE v2&lt;/strong&gt; (Anthropic Official)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;69.9%&lt;/strong&gt; (highest available effort, safeguards on)&lt;/td&gt;
&lt;td&gt;Not listed in Anthropic's table (Carbon: 61.2%)&lt;/td&gt;
&lt;td&gt;Measures complex multi-file repository software engineering&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;FrontierCode 2.0&lt;/strong&gt; (Vendor Disclosures)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;49.1%&lt;/strong&gt; (&lt;code&gt;xhigh&lt;/code&gt; effort; &lt;code&gt;high&lt;/code&gt; matches Opus 5.5 &lt;code&gt;max&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;46.2%&lt;/strong&gt; (default &lt;code&gt;high&lt;/code&gt; thinking level)&lt;/td&gt;
&lt;td&gt;Evaluated at different thinking tiers (&lt;code&gt;xhigh&lt;/code&gt; vs. default &lt;code&gt;high&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;AutoBaxBench&lt;/strong&gt; (Google Official Chart)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;68.0%&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;76.0%&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Measures writing vulnerability-free code from scratch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;CWE-Bench v2 Pass@1&lt;/strong&gt; (Google Official Chart)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;75.0%&lt;/strong&gt; (Harness: &lt;strong&gt;Claude Code&lt;/strong&gt;)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;70.7%&lt;/strong&gt; (Harness: &lt;strong&gt;Antigravity&lt;/strong&gt;)&lt;/td&gt;
&lt;td&gt;Different agent harnesses; reflects end-to-end model + tool stack&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Terminal-Bench 4.1 &amp;amp; Science&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;74.6%&lt;/strong&gt; on Science 0.1 (&lt;code&gt;75.3%&lt;/code&gt; for Mythos 5.2)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;65.2%&lt;/strong&gt; on 4.1; &lt;strong&gt;70.5%&lt;/strong&gt; on Science&lt;/td&gt;
&lt;td&gt;High CLI execution reliability across both models&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;OSWorld 2.1 &amp;amp; AutomationBench&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;89.3%&lt;/strong&gt; on OSWorld 2.1; &lt;strong&gt;51.4%&lt;/strong&gt; on AutomationBench&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;56.3%&lt;/strong&gt; (#1) on AutomationBench&lt;/td&gt;
&lt;td&gt;Fable 5.2 leads on GUI desktop control; Neon leads on workflow automation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Paweł Huryn Bug Hunt on X&lt;/strong&gt; (105 Planted Bugs)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;58 pts&lt;/strong&gt; (&lt;code&gt;max&lt;/code&gt; effort)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;63 pts&lt;/strong&gt; (&lt;code&gt;xhigh&lt;/code&gt; thinking level)&lt;/td&gt;
&lt;td&gt;Static bug discovery across two real repositories at maximum thinking settings&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Artificial Analysis on X&lt;/strong&gt; (Coding Agent Index)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;58&lt;/strong&gt; (Harness: &lt;strong&gt;Claude Code&lt;/strong&gt;)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;58.6 / displayed as 59&lt;/strong&gt; (Harness: &lt;strong&gt;Antigravity CLI&lt;/strong&gt;)&lt;/td&gt;
&lt;td&gt;Sub-1-point overall spread when each model runs in its native vendor CLI&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Context Caching &amp;amp; State Management in Multi-Turn Agent Loops
&lt;/h2&gt;

&lt;p&gt;When an agent iterates through 10 to 30 tool calls on a large repository, resending hundreds of thousands of tokens of system instructions, tool schemas, and file contents from scratch on every turn degrades latency and throughput. While both models support context caching across their 1M-token windows, their API contracts work differently:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Claude Fable 5.2 — Explicit Breakpoint Caching (&lt;code&gt;cache_control&lt;/code&gt;)&lt;/strong&gt;: Anthropic's API requires developers to explicitly mark cacheable blocks (such as static system prompts, tool declarations, and pinned repository files) using &lt;code&gt;cache_control&lt;/code&gt; breakpoints with either a 5-minute or 1-hour TTL. This gives fine-grained control over which prefix segments are pinned across turns, but requires explicit schema support in your client or gateway.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gemini 4 Neon — Implicit Prefix Caching Only&lt;/strong&gt;: According to Google AI Studio's documentation, &lt;code&gt;gemini-4-neon&lt;/code&gt; &lt;strong&gt;supports implicit caching only (explicit caching is not supported)&lt;/strong&gt;. You do not call a separate cache-creation endpoint or attach breakpoint tags; whenever consecutive requests share an identical token prefix, the backend automatically reuses the cached prefix state, paired with Neon's internal context compaction for long-running sessions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Critical Prefix Rule for Both Models&lt;/strong&gt;: Cache matching evaluates tokens strictly from index &lt;code&gt;0&lt;/code&gt;. Injecting a dynamic timestamp (&lt;code&gt;Current time: ...&lt;/code&gt;), a changing git commit hash, or a random request UUID at the top of the &lt;code&gt;system&lt;/code&gt; prompt invalidates the entire prefix on every turn. Always lock static system instructions, tool JSON schemas, and pinned codebase context at the very beginning of the request, and append dynamic turn metadata at the end of the latest user message.&lt;/p&gt;

&lt;h2&gt;
  
  
  Unified API Integration and the 8-Point Model Switching Checklist
&lt;/h2&gt;

&lt;p&gt;Connecting to both models through their native vendor consoles requires managing two separate access models and wire protocols:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Developer Console vs. Web App Separation&lt;/strong&gt;: Calling &lt;code&gt;gemini-4-neon&lt;/code&gt; through Google AI Studio or Vertex AI and calling &lt;code&gt;claude-fable-5-2&lt;/code&gt; through Anthropic Console require dedicated developer API keys and project-level model permissions, which are managed completely separately from consumer web chat apps (the Gemini app, Antigravity client, or Claude web interface).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Protocol Divergence&lt;/strong&gt;: Anthropic's native &lt;code&gt;/v1/messages&lt;/code&gt; API separates &lt;code&gt;system&lt;/code&gt; prompts from the &lt;code&gt;messages&lt;/code&gt; array and streams &lt;code&gt;thinking&lt;/code&gt;, &lt;code&gt;text&lt;/code&gt;, and &lt;code&gt;input_json_delta&lt;/code&gt; content blocks, whereas Google's native &lt;code&gt;generateContent&lt;/code&gt; API uses &lt;code&gt;contents&lt;/code&gt; and &lt;code&gt;parts&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To wire both &lt;code&gt;gemini-4-neon&lt;/code&gt; and &lt;code&gt;claude-fable-5-2&lt;/code&gt; into Cursor, Cline, Continue, LangChain, or a custom agent router without maintaining two separate SDKs, you can route both through Crazyrouter's unified OpenAI-compatible gateway:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Check Model Catalog IDs and Account Access&lt;/strong&gt;: Copy and open the Gemini 4 Neon model page on Crazyrouter (&lt;code&gt;https://crazyrouter.com/en/models/google/gemini-4-neon?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=offsite_article&amp;amp;utm_content=cr_3895999cea0d_mid_text&lt;/code&gt;) and the Anthropic model matrix (&lt;code&gt;https://crazyrouter.com/en/models/anthropic&lt;/code&gt;). The public catalog lists &lt;code&gt;gemini-4-neon&lt;/code&gt; on &lt;code&gt;/v1/chat/completions&lt;/code&gt; and includes &lt;code&gt;claude-fable-5-2&lt;/code&gt; in the pending-tier section of the Anthropic matrix. Before deploying an automated router, verify in your console model list or via &lt;code&gt;GET /v1/models&lt;/code&gt; that both model IDs are active for your account group.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Configure the Shared Base URL&lt;/strong&gt;: Create an API key in the console and point your OpenAI-compatible SDK or IDE extension to the following Base URL (if using Claude Code or Anthropic's native SDK for Claude models, set &lt;code&gt;ANTHROPIC_BASE_URL&lt;/code&gt; to &lt;code&gt;https://api.crazyrouter.com&lt;/code&gt; without the &lt;code&gt;/v1&lt;/code&gt; suffix):
&lt;/li&gt;
&lt;/ol&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;ol&gt;
&lt;li&gt;
&lt;strong&gt;Verify the 8-Point Compatibility Checklist Before Swapping &lt;code&gt;model&lt;/code&gt; Strings&lt;/strong&gt;:&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Verification Dimension&lt;/th&gt;
&lt;th&gt;Claude Fable 5.2 Native Behavior&lt;/th&gt;
&lt;th&gt;Gemini 4 Neon Native Behavior&lt;/th&gt;
&lt;th&gt;What to Validate in Your Agent Code&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Endpoint &amp;amp; Wire Protocol&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Native &lt;code&gt;/v1/messages&lt;/code&gt; with top-level &lt;code&gt;system&lt;/code&gt; field&lt;/td&gt;
&lt;td&gt;Native &lt;code&gt;generateContent&lt;/code&gt;; gateway &lt;code&gt;/v1/chat/completions&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Confirm multi-turn &lt;code&gt;tool_calls&lt;/code&gt; and &lt;code&gt;tool&lt;/code&gt; role responses round-trip cleanly through the OpenAI-compatible layer&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Exact Model String&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;claude-fable-5-2&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;gemini-4-neon&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Never pass display names (&lt;code&gt;Claude Fable 5.2&lt;/code&gt; or &lt;code&gt;Gemini 4 Neon&lt;/code&gt;); spaces or dots trigger model-not-found errors&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Thinking / Effort Parameters&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Adaptive thinking always on; default &lt;code&gt;high&lt;/code&gt; (&lt;code&gt;effort&lt;/code&gt;: &lt;code&gt;medium&lt;/code&gt;/&lt;code&gt;high&lt;/code&gt;/&lt;code&gt;xhigh&lt;/code&gt;/&lt;code&gt;max&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;4 selectable thinking levels; default &lt;code&gt;high&lt;/code&gt;, max &lt;code&gt;xhigh&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Strip incompatible sampling parameters or forced &lt;code&gt;tool_choice&lt;/code&gt; combos that cause Fable 5.2 to return HTTP 400&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Single-Call Output Ceiling&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;128K tokens&lt;/strong&gt; standard limit&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;65,536 tokens&lt;/strong&gt; default synchronous limit (&lt;code&gt;long decode&lt;/code&gt; up to 1M)&lt;/td&gt;
&lt;td&gt;Tasks generating &amp;gt;64K tokens in a single pass will truncate on Neon unless split into chunks or configured for &lt;code&gt;long decode&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Prompt Caching Fields&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Explicit &lt;code&gt;cache_control&lt;/code&gt; breakpoint objects&lt;/td&gt;
&lt;td&gt;Implicit prefix caching only (explicit cache API unsupported)&lt;/td&gt;
&lt;td&gt;Remove Anthropic &lt;code&gt;cache_control&lt;/code&gt; fields when routing to Neon and keep dynamic variables out of the prompt prefix&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Multimodal Input Routing&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Text and images only&lt;/td&gt;
&lt;td&gt;Text, image, video, audio, and PDF&lt;/td&gt;
&lt;td&gt;Route direct PDF, audio, or screen-recording video payloads exclusively to &lt;code&gt;gemini-4-neon&lt;/code&gt; (or add a parser before Fable 5.2)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Mid-Task Steerability &amp;amp; File Reads&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Strong deep planning and top-level Advisor delegation&lt;/td&gt;
&lt;td&gt;Ranked #2 on Agent Arena Steerability; cuts redundant file reads&lt;/td&gt;
&lt;td&gt;Test existing tool JSON schemas on both models to ensure required arguments are populated without repetitive file-read loops&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Streaming Chunks &amp;amp; Loop Guards&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Separate &lt;code&gt;thinking&lt;/code&gt;, &lt;code&gt;text&lt;/code&gt;, and &lt;code&gt;input_json_delta&lt;/code&gt; events&lt;/td&gt;
&lt;td&gt;OpenAI-compatible &lt;code&gt;delta&lt;/code&gt; chunks&lt;/td&gt;
&lt;td&gt;Verify your streaming JSON assembler handles multi-chunk tool arguments and enforce a hard max-turn circuit breaker&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Full Summary: Engineering Takeaways for Claude Fable 5.2 and Gemini 4 Neon
&lt;/h2&gt;

&lt;p&gt;Combining the model card specifications, benchmark harness conditions, and gateway integration rules yields three actionable conclusions for engineering teams:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Split by Capability and Modality Boundaries&lt;/strong&gt;: Released on November 9, 2026 and sharing its base model with Mythos 5.2, &lt;strong&gt;Claude Fable 5.2&lt;/strong&gt; holds the upper hand on deep cross-file repository refactoring (&lt;strong&gt;69.9%&lt;/strong&gt; on FrontierSWE v2), GUI desktop control (&lt;strong&gt;89.3%&lt;/strong&gt; on OSWorld 2.1), root-cause vulnerability patching inside Claude Code (&lt;strong&gt;75.0%&lt;/strong&gt; on CWE-Bench v2), and single-pass generation between 65K and &lt;strong&gt;128K tokens&lt;/strong&gt;. Released on November 18, 2026 and adapted from Gemini 4 Carbon, &lt;strong&gt;Gemini 4 Neon&lt;/strong&gt; leads on greenfield secure code generation (&lt;strong&gt;76.0%&lt;/strong&gt; on AutoBaxBench), CLI execution (&lt;strong&gt;65.2%&lt;/strong&gt; on Terminal-Bench 4.1), workflow automation (&lt;strong&gt;56.3%&lt;/strong&gt; on AutomationBench), static repository bug hunting (&lt;strong&gt;63 vs. 58&lt;/strong&gt; on Paweł Huryn's 105-bug test), mid-task steerability, and native 5-modality ingestion (&lt;strong&gt;text, image, video, audio, and PDF&lt;/strong&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Respect the Harness and Cache Mechanics&lt;/strong&gt;: As Google's SWE-sweep results (&lt;strong&gt;12.8%&lt;/strong&gt; on mini-SWE vs. &lt;strong&gt;39.0%&lt;/strong&gt; on Antigravity) and the CWE-Bench v2 tool labels demonstrate, agent scaffolding shapes real-world pass rates just as heavily as model weights. Pair clean file-search and test-runner tools with frozen prompt prefixes so Fable 5.2's explicit &lt;code&gt;cache_control&lt;/code&gt; breakpoints and Neon's automatic implicit caching work reliably across long sessions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unify Routing Behind One Endpoint&lt;/strong&gt;: Instead of maintaining separate Anthropic and Google SDKs, connect both &lt;code&gt;gemini-4-neon&lt;/code&gt; and &lt;code&gt;claude-fable-5-2&lt;/code&gt; through Crazyrouter's unified OpenAI-compatible endpoint (&lt;code&gt;https://api.crazyrouter.com/v1&lt;/code&gt;), validate the 8-point compatibility checklist with a minimal tool-calling smoke test, and dynamically route routine engineering, terminal automation, and multimodal tasks to &lt;strong&gt;Gemini 4 Neon&lt;/strong&gt; while escalating high-complexity architectural refactors to &lt;strong&gt;Claude Fable 5.2&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;References and Related URLs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Gemini 4 Neon model and API integration page on Crazyrouter: &lt;code&gt;https://crazyrouter.com/en/models/google/gemini-4-neon?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=offsite_article&amp;amp;utm_content=cr_3895999cea0d_bottom_cta&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Google Official Release Report, "Introducing Gemini 4 Neon": &lt;code&gt;https://blog.google/innovation-and-ai/models-and-research/gemini-models/introducing-gemini-4-neon/&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Anthropic Official Announcement, "Introducing Claude Fable 5.2 and Claude Mythos 5.2": &lt;code&gt;https://www.anthropic.com/claude-fable-and-mythos-5-2&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>coding</category>
      <category>api</category>
      <category>architecture</category>
    </item>
    <item>
      <title>DeepSeek Harness Setup &amp; Troubleshooting: Node 24.9, PTC Mode, Custom API, and Plugins</title>
      <dc:creator>boluo</dc:creator>
      <pubDate>Fri, 27 Nov 2026 09:04:21 +0000</pubDate>
      <link>https://dev.to/buluo/deepseek-harness-setup-troubleshooting-node-249-ptc-mode-custom-api-and-plugins-4akg</link>
      <guid>https://dev.to/buluo/deepseek-harness-setup-troubleshooting-node-249-ptc-mode-custom-api-and-plugins-4akg</guid>
      <description>&lt;p&gt;When I first tried running &lt;code&gt;npx @deepseek-ai/dsh web&lt;/code&gt; on my Windows machine to test DeepSeek Harness (&lt;code&gt;dsh 0.2.2-rc.5&lt;/code&gt;), my terminal immediately threw an engine mismatch error because my system Node was sitting at &lt;code&gt;v22.22.2&lt;/code&gt;. Even after I got the app open, the plugin list looked nearly bare, my first file-writing task failed inside the PowerShell sandbox, and I wasn't sure how to wire in my own OpenAI-compatible API key without breaking &lt;code&gt;~/.dsh/cordis.patch.yml&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;I spent the afternoon working through each of those roadblocks on Windows: getting around the &lt;code&gt;node &amp;gt;=24.9.0&lt;/code&gt; requirement, testing how PTC mode prevents context window blowouts on batch jobs, connecting a unified custom API provider to crunch a 9-row Q3 sales CSV, installing 8 community plugins, and using Creator mode to build a 3,000-line knowledge graph extension from scratch.&lt;/p&gt;

&lt;p&gt;If you just installed &lt;code&gt;dsh&lt;/code&gt;, here is the biggest takeaway from my run: &lt;strong&gt;switching to the right execution mode matters much more than loading up on plugins&lt;/strong&gt;. Running a 300-file audit in Standard mode will flood your context window with intermediate tool outputs, whereas PTC mode writes a script to process the batch locally and returns only the final summary. And if you only use &lt;code&gt;dsh&lt;/code&gt; for quick single-turn coding questions with a single model, stick to the default login—you don't need custom provider patches at all.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Common Scenario or Error&lt;/th&gt;
&lt;th&gt;What to Do in &lt;code&gt;dsh&lt;/code&gt;
&lt;/th&gt;
&lt;th&gt;Why It Happens / What to Watch Out For&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;CLI fails to start on &lt;code&gt;node &amp;lt; 24.9.0&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Install the &lt;strong&gt;Desktop App&lt;/strong&gt; (or upgrade Node LTS and restart terminal)&lt;/td&gt;
&lt;td&gt;The npm package requires &lt;code&gt;node &amp;gt;=24.9.0&lt;/code&gt;, while the Desktop installer bundles its own isolated runtime&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PowerShell sandbox write error when saving files&lt;/td&gt;
&lt;td&gt;Switch bottom-left permissions from &lt;strong&gt;Read-Only&lt;/strong&gt; to &lt;strong&gt;Workspace Write&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;Read-Only blocks disk writes; Workspace Write allows file creation inside your project folder without exposing your whole OS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;404 POST /v1/chat/completions/chat/completions&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Set Custom API URL strictly up to &lt;code&gt;/v1&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;dsh&lt;/code&gt; automatically appends &lt;code&gt;/chat/completions&lt;/code&gt; to the base URL&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;PI_AI_ERROR: No API key for provider&lt;/code&gt; on startup&lt;/td&gt;
&lt;td&gt;Keep the &lt;code&gt;apiKeyEnv&lt;/code&gt; field inside &lt;code&gt;~/.dsh/cordis.patch.yml&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Omitting &lt;code&gt;apiKeyEnv&lt;/code&gt; when editing the YAML patch file causes the process to exit immediately&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Context window overflows during multi-file checks&lt;/td&gt;
&lt;td&gt;Switch top-left selector to &lt;strong&gt;PTC Mode&lt;/strong&gt; (&lt;code&gt;PTC模式&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;Model writes and executes a local program in one pass so intermediate data stays out of chat history&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Want to add a new UI button or sidebar view&lt;/td&gt;
&lt;td&gt;Switch to &lt;strong&gt;Creator Mode&lt;/strong&gt; (&lt;code&gt;创造模式&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;Includes the plugin-authoring skill; generated and auto-mounted 7 files (3,000+ lines) in ~21 minutes&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Environment Pitfalls, Permission Boundaries, and Workspace Privacy
&lt;/h2&gt;

&lt;p&gt;Before installing plugins or changing model configs, it helps to clear the four environment traps I ran into on my first launch.&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%2F4zdc5uad4ng6m4x61fc4.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%2F4zdc5uad4ng6m4x61fc4.png" alt="DeepSeek Harness Main Interface" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Main workspace layout: collapsible navigation sidebar on the left, chat composer in the center, and mode, permission, and model controls along the bottom bar.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  1. The Node.js 24.9 Threshold: CLI vs. Desktop Installer
&lt;/h3&gt;

&lt;p&gt;DeepSeek Harness offers two installation paths, and they handle Node versions very differently:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;npm CLI (&lt;code&gt;npx @deepseek-ai/dsh web&lt;/code&gt;)&lt;/strong&gt;: Requires &lt;code&gt;node &amp;gt;=24.9.0&lt;/code&gt;. By default, it starts a local server on &lt;code&gt;http://127.0.0.1:3080&lt;/code&gt; and opens your browser (pass &lt;code&gt;--no-open&lt;/code&gt; if you are running it on a headless server or over SSH). If you upgrade Node on Windows after seeing a version error, you must close and reopen your terminal window so the updated &lt;code&gt;PATH&lt;/code&gt; refreshes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Desktop Installer&lt;/strong&gt;: Bundles its own Node runtime. Because my Windows system was running &lt;code&gt;v22.22.2&lt;/code&gt; and I didn't want to touch my global environment for other projects, I installed the Desktop app and went straight into the main UI.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Also note that &lt;code&gt;dsh&lt;/code&gt; displays a Developer Preview notice on first launch. Because plugin IDs and YAML keys can change between preview builds, always check &lt;code&gt;dsh --version&lt;/code&gt; first (everything below was tested on &lt;code&gt;0.2.2-rc.5&lt;/code&gt;).&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Why My First File Write Failed: The Three Permission Tiers
&lt;/h3&gt;

&lt;p&gt;At the bottom left of the input box sits the permission selector:&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%2F2t31ya0laa75zva39jyu.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%2F2t31ya0laa75zva39jyu.png" alt="DeepSeek Harness Three Permission Tiers" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The permission menu at the bottom left: Read-Only, Workspace Write, and Full Access.&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Read-Only (&lt;code&gt;仅可查看&lt;/code&gt;)&lt;/strong&gt;: The agent can read files inside the workspace but cannot modify or create anything. When I first asked &lt;code&gt;dsh&lt;/code&gt; to generate a markdown report from a CSV file, I forgot the toggle was sitting on Read-Only, and the task immediately threw a PowerShell sandbox write error.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Workspace Write (&lt;code&gt;工作区内修改&lt;/code&gt;)&lt;/strong&gt;: Allows reading, creating, and editing files strictly inside the active workspace directory. This is the safest default for daily work.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Full Access (&lt;code&gt;完全权限&lt;/code&gt;)&lt;/strong&gt;: Grants unrestricted read/write access across your entire computer. While it stops confirmation prompts, a single mistyped prompt can alter system directories outside your project. If you ever turn on Full Access, create a dedicated empty folder on your drive first and use that as your workspace boundary.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. The Workspace Dropdown Privacy Trap
&lt;/h3&gt;

&lt;p&gt;Every conversation in &lt;code&gt;dsh&lt;/code&gt; requires selecting a &lt;strong&gt;Workspace&lt;/strong&gt; above the input box, which maps directly to a real directory on your hard drive. When you click the workspace dropdown menu to switch projects, &lt;code&gt;dsh&lt;/code&gt; displays the full names of every local folder you have opened in the past. &lt;strong&gt;Always collapse the left sidebar before taking screenshots or recording your screen&lt;/strong&gt; so you don't accidentally publish your local directory structure.&lt;/p&gt;

&lt;h2&gt;
  
  
  PTC Mode vs. Standard Mode: Why Execution Modes Are Plugins Too
&lt;/h2&gt;

&lt;p&gt;Why do people call DeepSeek Harness an "everything is a plugin" alternative to Claude Code?&lt;/p&gt;

&lt;p&gt;In tools like Claude Code, model invocation, built-in tools, and session management are hardcoded into the base layer. DeepSeek Harness is built on top of the &lt;strong&gt;Cordis plugin framework&lt;/strong&gt;. That means the model adapter (&lt;code&gt;llm-pi-ai&lt;/code&gt;), context engine, session manager, tool runner, the UI panels, and all four execution modes are mounted as independent Cordis plugins. Because Cordis treats plugin registration as reversible side effects, you can swap modules in and out—and unloading a broken plugin cleanly rolls back every UI button and hook it registered.&lt;/p&gt;

&lt;p&gt;Clicking the mode menu at the top left of the composer reveals four presets:&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%2Fvxn1adtifehk33rdpk6d.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%2Fvxn1adtifehk33rdpk6d.png" alt="DeepSeek Harness Four Execution Modes" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The four execution modes at the top left of the input box.&lt;/em&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Standard Mode (&lt;code&gt;标准模式&lt;/code&gt;)&lt;/strong&gt;: Enables file read/write, shell commands, web search, skills, and sub-agents. This handles 80% of daily coding and editing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PTC Mode (&lt;code&gt;PTC模式&lt;/code&gt;)&lt;/strong&gt;: The model writes a program to execute a multi-step workflow in a single pass. Intermediate outputs stay inside the execution environment instead of streaming back into the chat context.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Creator Mode (&lt;code&gt;创造模式&lt;/code&gt;)&lt;/strong&gt;: Standard mode plus the dedicated plugin-authoring skill for building new &lt;code&gt;dsh&lt;/code&gt; extensions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Minimal Mode (&lt;code&gt;极简模式&lt;/code&gt;)&lt;/strong&gt;: Strips the agent down to just the terminal and image reader for raw model benchmarking.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Here is where &lt;strong&gt;PTC Mode&lt;/strong&gt; saves real money: suppose you need to audit 400 configuration files or count every error code across a massive log directory. In Standard mode, the agent reads files one by one in a loop, appending every intermediate file dump into the chat history until the context window overflows. In PTC mode, the agent writes a small script that scans all 400 files locally and only prints the final aggregated table into the conversation.&lt;/p&gt;

&lt;p&gt;One practical tip from my testing: because PTC hides intermediate steps inside the script execution, debugging a wrong summary number is harder than in Standard mode. I always test my prompt on 2 or 3 sample files first to verify the calculation logic before unleashing PTC mode on a full directory.&lt;/p&gt;

&lt;h2&gt;
  
  
  Wiring in Crazyrouter Custom API and Running a 9-Row CSV Benchmark
&lt;/h2&gt;

&lt;p&gt;When I started running multi-model comparisons and background summarization plugins in &lt;code&gt;dsh&lt;/code&gt;, I wanted to put DeepSeek, Claude, and GPT under the same bottom-right model selector using a single API key.&lt;/p&gt;

&lt;p&gt;Because &lt;code&gt;dsh&lt;/code&gt; delegates model calls to the &lt;code&gt;llm-pi-ai&lt;/code&gt; plugin (see the &lt;a href="https://deepseek-harness.github.io/deepseek-harness/guide/providers" rel="noopener noreferrer"&gt;official DeepSeek Harness providers documentation&lt;/a&gt; for the underlying schema), you can wire in any OpenAI-compatible gateway directly from the settings UI. I connected Crazyrouter and ran a full tool-call verification.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Switching to the Custom Model API Tab and Configuring the 5 Fields
&lt;/h3&gt;

&lt;p&gt;Navigate to &lt;strong&gt;Settings → Models&lt;/strong&gt; (&lt;code&gt;设置 → 模型&lt;/code&gt;) at the bottom left and click &lt;strong&gt;Add Model Provider&lt;/strong&gt; (&lt;code&gt;添加模型提供商&lt;/code&gt;) at the top right. Pay attention to the modal header: it opens on the built-in third-party provider list by default, so &lt;strong&gt;you must click the "Custom Model API" (&lt;code&gt;自定义模型API&lt;/code&gt;) tab next to it&lt;/strong&gt; to reveal the custom form.&lt;/p&gt;

&lt;p&gt;Enter the Base URL in the API URL field:&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;Here is how I filled out the five fields and the two exact error messages I reproduced while testing bad inputs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Provider ID&lt;/strong&gt;: Use a lowercase string like &lt;code&gt;crazyrouter&lt;/code&gt;. Once saved, session history and default model settings bind to this ID permanently; to rename it later, you have to create a new provider and delete the old one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;API Protocol&lt;/strong&gt;: Select &lt;code&gt;OpenAI Chat Completions&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;API URL&lt;/strong&gt;: Enter &lt;code&gt;https://api.crazyrouter.com/v1&lt;/code&gt; and &lt;strong&gt;do not append &lt;code&gt;/chat/completions&lt;/code&gt;&lt;/strong&gt;. When I tested pasting the full &lt;code&gt;/v1/chat/completions&lt;/code&gt; path, &lt;code&gt;dsh&lt;/code&gt; immediately threw a 404 error: &lt;code&gt;POST /v1/chat/completions/chat/completions is not valid. Do not append /chat/completions twice&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;API Key&lt;/strong&gt;: Paste your key and save (the UI masks it afterward). If you prefer editing &lt;code&gt;~/.dsh/cordis.patch.yml&lt;/code&gt; directly in an editor, never delete the &lt;code&gt;apiKeyEnv&lt;/code&gt; key—omitting it causes &lt;code&gt;dsh&lt;/code&gt; to fail on startup with &lt;code&gt;PI_AI_ERROR: No API key for provider&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fetching the Model List (&lt;code&gt;GET /models&lt;/code&gt;)&lt;/strong&gt;: I entered &lt;code&gt;deepseek-v4.1-flash&lt;/code&gt; as an initial model ID and clicked &lt;strong&gt;Fetch Available Models&lt;/strong&gt; (&lt;code&gt;获取可用模型&lt;/code&gt;). &lt;code&gt;dsh&lt;/code&gt; queried &lt;code&gt;GET /models&lt;/code&gt; against the endpoint and pulled &lt;strong&gt;185 available models&lt;/strong&gt; in one click (including &lt;code&gt;deepseek-v4-pro&lt;/code&gt;, &lt;code&gt;glm-5.4&lt;/code&gt;, and &lt;code&gt;claude-opus-4-8&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Before typing model IDs by hand, I always verify the exact identifier 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_c18bc15632e6_mid_text" rel="noopener noreferrer"&gt;Crazyrouter model pricing catalog&lt;/a&gt;. Gateway model IDs (like &lt;code&gt;deepseek-v4.1-flash&lt;/code&gt;) don't always match vendor marketing names character for character, and a typo triggers &lt;code&gt;UNKNOWN_MODEL&lt;/code&gt;. If you also want to benchmark different &lt;a href="https://crazyrouter.com/en/models/task/coding" rel="noopener noreferrer"&gt;AI coding models&lt;/a&gt; across &lt;code&gt;dsh&lt;/code&gt;, Cursor, or Cline, that catalog lists the context limits and parameters side by side.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Verifying the Tool-Calling Loop on a Q3 Sales CSV
&lt;/h3&gt;

&lt;p&gt;To verify that the custom endpoint handles multi-step tool execution—not just plain text chat—I dropped a 9-row &lt;code&gt;sales.csv&lt;/code&gt; file (July–September 2026 revenue and order counts for East, North, and South regions) into my workspace. Using &lt;code&gt;deepseek-v4.1-flash&lt;/code&gt; and &lt;code&gt;deepseek-v4-pro&lt;/code&gt; through the custom provider, I asked &lt;code&gt;dsh&lt;/code&gt; to calculate September month-over-month growth, rank Q3 regional revenue, compute average order value (AOV), and write the result to &lt;code&gt;report.md&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;With permissions set to &lt;strong&gt;Workspace Write&lt;/strong&gt;, the agent read the CSV, ran the calculation, and wrote &lt;code&gt;report.md&lt;/code&gt; in a single pass (&lt;strong&gt;15.1K tokens consumed, output speed 103 tok/s&lt;/strong&gt;). I checked all 9 figures against the raw CSV by hand:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Region&lt;/th&gt;
&lt;th&gt;Aug Revenue (CNY)&lt;/th&gt;
&lt;th&gt;Sep Revenue (CNY)&lt;/th&gt;
&lt;th&gt;Sep vs. Aug MoM&lt;/th&gt;
&lt;th&gt;Q3 Total Revenue (CNY)&lt;/th&gt;
&lt;th&gt;Q3 AOV (CNY/Order)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;South&lt;/td&gt;
&lt;td&gt;1,538,000&lt;/td&gt;
&lt;td&gt;1,491,000&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;-3.06%&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;4,501,000&lt;/strong&gt; (Rank 1)&lt;/td&gt;
&lt;td&gt;406.96&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;East&lt;/td&gt;
&lt;td&gt;1,336,000&lt;/td&gt;
&lt;td&gt;1,298,000&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;-2.84%&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;3,918,000&lt;/strong&gt; (Rank 2)&lt;/td&gt;
&lt;td&gt;410.26&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;North&lt;/td&gt;
&lt;td&gt;1,045,000&lt;/td&gt;
&lt;td&gt;1,012,000&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;-3.16%&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;3,039,000&lt;/strong&gt; (Rank 3)&lt;/td&gt;
&lt;td&gt;407.92&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;3-Region Total&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;3,919,000&lt;/td&gt;
&lt;td&gt;3,801,000&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;-3.01%&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;11,458,000&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;408.34&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;In addition to getting the 11,458,000 CNY total revenue and 408.34 CNY/order AOV (across 28,060 orders) right, the model added a self-check note explaining that it divided unrounded totals before rounding to two decimal places. I also tested stripping the &lt;code&gt;compat&lt;/code&gt; flags (&lt;code&gt;supportsDeveloperRole&lt;/code&gt; and &lt;code&gt;maxTokensField&lt;/code&gt;) from &lt;code&gt;cordis.patch.yml&lt;/code&gt;, and the endpoint handled &lt;code&gt;dsh&lt;/code&gt;'s default parameters without issue.&lt;/p&gt;

&lt;h2&gt;
  
  
  Eight Community Plugins and How I Built a Custom One in 21 Minutes
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Eight Existing Plugins Grouped by Use Case
&lt;/h3&gt;

&lt;p&gt;You don't need to build everything from scratch. Here are the 8 most practical community plugins, ordered by how I install them to keep the UI clean:&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%2Fwyu9xz53hj4t0wvodcvb.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%2Fwyu9xz53hj4t0wvodcvb.png" alt="DeepSeek Harness Plugins Screen" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The Plugins management page, showing Built-in Configuration and Experimental Plugins.&lt;/em&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;DSH Market (Install #1 — Plugin Store)&lt;/strong&gt;: Lets you search and one-click install community plugins directly inside the left sidebar.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DSH Context (Install #2 — Token &amp;amp; Cost Monitor)&lt;/strong&gt;: Shows live token usage, cost per turn, and context window saturation so you can spot why a long session is slowing down or losing focus.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DeepSeek Design &amp;amp; Univer Office (Visuals &amp;amp; Office Docs)&lt;/strong&gt;: &lt;strong&gt;DeepSeek Design&lt;/strong&gt; generates web pages, posters, and slides on an interactive canvas; &lt;strong&gt;Univer Office&lt;/strong&gt; creates and exports native &lt;code&gt;.xlsx&lt;/code&gt;, &lt;code&gt;.docx&lt;/code&gt;, and &lt;code&gt;.pptx&lt;/code&gt; files.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Browser Skills &amp;amp; DSH Computer Use Win (Browser &amp;amp; OS Automation)&lt;/strong&gt;: &lt;strong&gt;Browser Skills&lt;/strong&gt; operates your logged-in browser to fill forms or scrape dashboards, while &lt;strong&gt;DSH Computer Use Win&lt;/strong&gt; controls the Windows desktop directly to click buttons and type.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Whale Girl Theme (&lt;code&gt;鲸鱼娘皮肤&lt;/code&gt;) &amp;amp; AuraBot (UI Skin &amp;amp; QQ Bot)&lt;/strong&gt;: Reskins the &lt;code&gt;dsh&lt;/code&gt; interface or connects a secondary QQ account so your agent can send voice messages, stickers, and images.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you only want three plugins at the start, install &lt;strong&gt;DSH Market → DSH Context → one workflow plugin&lt;/strong&gt;. Use &lt;strong&gt;Route 1 (paste the GitHub repo URL directly into a chat prompt)&lt;/strong&gt; to let &lt;code&gt;dsh&lt;/code&gt; autonomously clone, build, and mount &lt;strong&gt;DSH Market&lt;/strong&gt; (or any brand-new repo not yet indexed in the store). After that, use &lt;strong&gt;Route 2 (search inside DSH Market and click Install)&lt;/strong&gt; for everything else. If a new UI button doesn't appear right after installation, restart the desktop app or Web UI once.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Building a Knowledge Graph Plugin in Creator Mode
&lt;/h3&gt;

&lt;p&gt;To see how Creator mode builds a new extension, I started a fresh session, switched the top-left mode selector to &lt;strong&gt;Creator Mode&lt;/strong&gt;, and gave it four strict requirements for a &lt;strong&gt;Conversation Knowledge Graph&lt;/strong&gt; plugin:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;What to capture&lt;/strong&gt;: Save the full markdown body of a single AI answer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;How to trigger it&lt;/strong&gt;: Render a "Save to Graph" button at the bottom of every AI response.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Where to store it&lt;/strong&gt;: Write files into a local workspace knowledge folder (no external DB).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;How to structure it&lt;/strong&gt;: Run a background queue that distills saved answers into topic pages and connects related pages into an interactive graph.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;dsh&lt;/code&gt; wrote the code, debugged its own TypeScript build errors in the chat loop, and automatically mounted the finished plugin:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Total build duration&lt;/strong&gt;: ~&lt;strong&gt;21 minutes&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Output&lt;/strong&gt;: &lt;strong&gt;7 files&lt;/strong&gt; totaling &lt;strong&gt;3,000+ lines of code&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Graph result from 2 saved replies&lt;/strong&gt;: &lt;strong&gt;7 linked topic pages&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A new "Knowledge Graph" tab immediately appeared in my left sidebar, and every chat answer gained a save button. After I clicked save on two replies, the background queue distilled them into &lt;strong&gt;7 connected topic pages&lt;/strong&gt; color-coded into four node types: &lt;strong&gt;Orange&lt;/strong&gt; for raw saved replies, &lt;strong&gt;Blue&lt;/strong&gt; for core concepts, &lt;strong&gt;Green&lt;/strong&gt; for concrete tools/entities, and &lt;strong&gt;Red&lt;/strong&gt; for actions/events. Clicking any node opens its synthesized page and outbound links on the right panel—turning scattered chat history into a reusable local knowledge map.&lt;/p&gt;

&lt;h2&gt;
  
  
  Appendix: Plain-Text Repository Links for the 8 Plugins
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;DSH Market&lt;/strong&gt;: &lt;code&gt;https://github.com/2BingLing/dsh-market&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DSH Context&lt;/strong&gt;: &lt;code&gt;https://github.com/bowenliang123/dsh-context&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DeepSeek Design&lt;/strong&gt;: &lt;code&gt;https://github.com/Devin-AXIS/deepseek-design&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Browser Skills&lt;/strong&gt;: &lt;code&gt;https://github.com/Tencent/BrowserSkill&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DSH Computer Use Win&lt;/strong&gt;: &lt;code&gt;https://github.com/Yu-tao-Li/dsh-computer-use-win&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Univer Office&lt;/strong&gt;: &lt;code&gt;https://github.com/dream-num/dsh-univer-office&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Whale Girl Theme&lt;/strong&gt;: &lt;code&gt;https://github.com/Small-tailqwq/dsh-deep-whale&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AuraBot&lt;/strong&gt;: &lt;code&gt;https://github.com/aureth-labs/dsh-aurabot-qq&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>tooling</category>
      <category>productivity</category>
      <category>opensource</category>
    </item>
    <item>
      <title>I Tested the Viral AI 3D Web Games on X: Here Is the Stack, GPU Reality, and What Prompts Still Can't Do</title>
      <dc:creator>boluo</dc:creator>
      <pubDate>Fri, 27 Nov 2026 07:39:54 +0000</pubDate>
      <link>https://dev.to/buluo/i-tested-the-viral-ai-3d-web-games-on-x-here-is-the-stack-gpu-reality-and-what-prompts-still-4j4i</link>
      <guid>https://dev.to/buluo/i-tested-the-viral-ai-3d-web-games-on-x-here-is-the-stack-gpu-reality-and-what-prompts-still-4j4i</guid>
      <description>&lt;p&gt;Let's be honest: most "AI-generated game" clips on X look amazing for five seconds and fall apart the moment you actually try to play them.&lt;/p&gt;

&lt;p&gt;When a new wave of 3D browser games started racking up millions of views—right after GPT-6 Astra blew up 3D asset showcases and Claude Opus 5.5 started churning out procedural animations—I wanted to know what was actually running under the hood.&lt;/p&gt;

&lt;p&gt;On November 27, 2026, I dug through the 11 biggest viral builds from this wave, cloned the open-source repos (&lt;code&gt;turbo-kart-rally&lt;/code&gt; and &lt;code&gt;voxel-musou&lt;/code&gt;) onto an older laptop with an integrated Intel UHD 620 GPU, and tested the model APIs they used:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;✅ &lt;strong&gt;Where this stack shines:&lt;/strong&gt; Shipping a playable 3D browser prototype in 2 to 7 days with Three.js&lt;/li&gt;
&lt;li&gt;⚠️ &lt;strong&gt;Where prompts alone fail:&lt;/strong&gt; Branching RPG narratives, multiplayer state sync, and low-end GPU optimization&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here are the 5 biggest engineering lessons I found after tearing these 11 projects apart.&lt;/p&gt;




&lt;p&gt;🏎️ &lt;strong&gt;1. "Zero External Assets" Does Not Mean "Zero GPU Load"&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;One of the coolest open-source repos in this batch is an MIT-licensed Mario Kart clone (&lt;code&gt;turbo-kart-rally&lt;/code&gt;) written in pure Three.js without a single build tool.&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%2Fcfjdtwcae942wzdrwje0.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%2Fcfjdtwcae942wzdrwje0.jpg" alt="Three.js kart demo title screen loaded without build tools" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The README states &lt;code&gt;100% procedural assets&lt;/code&gt;—downloading zero &lt;code&gt;.gltf&lt;/code&gt; models and zero texture files:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🏁 &lt;strong&gt;8 procedural racers:&lt;/strong&gt; Built out of Three.js geometric primitives and color palettes, each with custom speed, acceleration, handling, and weight stats&lt;/li&gt;
&lt;li&gt;🏎️ &lt;strong&gt;Complete 100cc race loop:&lt;/strong&gt; Connects the title screen, character select, 3-lap tracking (&lt;code&gt;LAP 1/3&lt;/code&gt;), item boxes, and &lt;code&gt;Shift&lt;/code&gt; drift boosts&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%2F13u0663x8vqe97e1udw4.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%2F13u0663x8vqe97e1udw4.jpg" alt="Character selection screen showing 8 procedural racers and their four stat bars" width="800" height="450"&gt;&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%2Fkdw4tkyk3bugsc0hujzi.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%2Fkdw4tkyk3bugsc0hujzi.jpg" alt="In-game race screen showing LAP 1/3 and 8 karts competing" width="800" height="450"&gt;&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/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhw1gll7kmrtfyyf2uahu.gif" 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%2Fhw1gll7kmrtfyyf2uahu.gif" alt="Animated GIF of kart acceleration and corner drifting" width="480" height="270"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Another developer pushed this procedural trick even further, packing an &lt;strong&gt;Underwater Shipwreck Exploration&lt;/strong&gt; game (diving into a wreck to locate the ancient Antikythera mechanism) into a single &lt;strong&gt;3MB HTML file&lt;/strong&gt;—synthesizing deep-sea lighting, geometry, and underwater sound on the fly.&lt;/p&gt;

&lt;p&gt;People see "3MB file" or "no external models" and assume it runs on a potato. I benchmarked the kart racer on an &lt;strong&gt;Intel UHD 620&lt;/strong&gt; integrated GPU to test that theory:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🖥️ &lt;strong&gt;Browser hardware acceleration ON (&lt;code&gt;800×450&lt;/code&gt;):&lt;/strong&gt; Ran at &lt;strong&gt;~39 FPS&lt;/strong&gt;—completely playable, just slightly tight on sharp turns&lt;/li&gt;
&lt;li&gt;🐢 &lt;strong&gt;Software rendering / GPU OFF (&lt;code&gt;480×270&lt;/code&gt;):&lt;/strong&gt; Collapsed to &lt;strong&gt;1.5–6.5 FPS&lt;/strong&gt;, making steering impossible&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Procedural code skips asset downloads and bundlers, not WebGL draw calls. To survive on low-end laptops, you still have to manually cut dynamic shadows, vehicle counts, and canvas resolution.&lt;/p&gt;




&lt;p&gt;🎯 &lt;strong&gt;2. Every Working AI Game Secretly Uses the Same 5 Math Mechanics&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Why can an LLM one-shot a playable kart racer or turf shooter, yet choke on a narrative detective game?&lt;/p&gt;

&lt;p&gt;Look at the other browser builds in this batch:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🔫 &lt;strong&gt;#1 Viral Sci-Fi Squad Shooter:&lt;/strong&gt; Wear heavy armor, push down urban streets with AI teammates, shoot enemy soldiers, and capture control points. Built with &lt;strong&gt;Claude Opus 5.5&lt;/strong&gt; and &lt;strong&gt;Three.js&lt;/strong&gt; by a creator who never read a line of code—proving gunfire pacing, squad cover behavior, and capture feedback are human design calls.&lt;/li&gt;
&lt;li&gt;🎨 &lt;strong&gt;Splatoon-Style Ink Painter (Claude Opus 5.5):&lt;/strong&gt; Spray ink on the floor to claim territory in your team's color and dive into friendly ink to swim faster.&lt;/li&gt;
&lt;li&gt;🌊 &lt;strong&gt;Voxel Water &amp;amp; Shader Test (Claude Opus 5.5):&lt;/strong&gt; Classic blocky mountains and trees, upgraded with planar water reflections, sunbeams cutting through leaves, and day-to-night transitions.&lt;/li&gt;
&lt;li&gt;🚀 &lt;strong&gt;Sky Reach Planetary Landing:&lt;/strong&gt; Fly a spaceship toward a distant planet, punch through the atmosphere, land on the surface, and step out on foot.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Strip away the paint and all 11 games rely on just &lt;strong&gt;five math-friendly mechanics&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🏃 Free movement + camera follow&lt;/li&gt;
&lt;li&gt;🛤️ Path or waypoint progression&lt;/li&gt;
&lt;li&gt;🟦 Grid-cell surface color changes&lt;/li&gt;
&lt;li&gt;💥 Crowd collision &amp;amp; hitboxes&lt;/li&gt;
&lt;li&gt;🔢 Procedural environment math&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of them require branching dialogue trees, long-term economy balancing, or multiplayer netcode. LLMs shine when the core loop reduces to vectors, state machines, and distance checks.&lt;/p&gt;




&lt;p&gt;🛠️ &lt;strong&gt;3. Three.js, Tripo, Blender, and Unity Are Sequential—And You Can't Skip Blender&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Beginners constantly ask: "Should I use Three.js, Tripo, Blender, or Unity?"&lt;/p&gt;

&lt;p&gt;The creators who built character-heavy games chained them together across four distinct jobs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🖼️ &lt;strong&gt;2D Image Generation:&lt;/strong&gt; Locks the character's visual look&lt;/li&gt;
&lt;li&gt;🧊 &lt;strong&gt;Tripo:&lt;/strong&gt; Converts that 2D image or text into a 3D mesh&lt;/li&gt;
&lt;li&gt;🛠️ &lt;strong&gt;Blender:&lt;/strong&gt; Fixes topology, rigging, and animations (the one step prompts cannot skip)&lt;/li&gt;
&lt;li&gt;🎮 &lt;strong&gt;Unity or Three.js:&lt;/strong&gt; Assembles the final game loop&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here is how two viral builds used that pipeline:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🌹 &lt;strong&gt;The Little Prince 3D Planet (16 days, 3.46M views, ~10K bookmarks):&lt;/strong&gt; Walk the Little Prince around his tiny planet to visit his rose and the king. Locking the 2D character art first before converting to 3D, cleaning up in Blender, and assembling in Unity made the book's cast recognizable immediately.&lt;/li&gt;
&lt;li&gt;🕸️ &lt;strong&gt;Spider-Man City Swinging:&lt;/strong&gt; Leap off rooftops, swing on webs above traffic and pedestrians, and run up building facades. After fixing the animations in &lt;strong&gt;Blender&lt;/strong&gt;, the creator skipped Unity and exported straight back into a &lt;strong&gt;Three.js&lt;/strong&gt; web page.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;⚔️ &lt;strong&gt;4. A Combat Room Takes 10 Minutes; A Game Loop Takes Human Choreography&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;My favorite open-source repo in the list is &lt;em&gt;Voxel Musou&lt;/em&gt; (&lt;code&gt;voxel-musou&lt;/code&gt;), where you play as Zhao Yun slashing through crowds of voxel soldiers with combos, dodge rolls, and musou specials.&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%2Fcdn.jsdelivr.net%2Fgh%2Fzhouxiaoying416-sketch%2F-a%40main%2Farticles%2F2026-11-27-ai-game%2Fkart%2Fmusou-menu.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%2Fcdn.jsdelivr.net%2Fgh%2Fzhouxiaoying416-sketch%2F-a%40main%2Farticles%2F2026-11-27-ai-game%2Fkart%2Fmusou-menu.jpg" alt="Voxel Musou main menu showing Zhao Yun and Huang Zhong as selectable officers" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The creator wrote that this was their childhood dream game. Version 1 was literally just Zhao Yun hitting soldiers in an empty space. What turned it into an actual game was the screen-by-screen flow they wired up afterward:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;📜 Starting at the main menu and selecting Chapter 1 (&lt;code&gt;Hulao Gate · Normal&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;🛡️ Choosing Liu Bei, Guan Yu, or Zhang Fei on the Shu-Han route&lt;/li&gt;
&lt;li&gt;🎙️ Watching a voiced cutscene with subtitles about Dong Zhuo and Yuan Shao's coalition&lt;/li&gt;
&lt;li&gt;🎯 Entering the battlefield with a live &lt;code&gt;61m&lt;/code&gt; distance HUD (&lt;code&gt;Defeat Dong Zhuo's forces in front of Sishui Pass&lt;/code&gt;)&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%2Fx9f54jc3lpnopqk3lyp1.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%2Fx9f54jc3lpnopqk3lyp1.jpg" alt="Story mode officer selection screen for Hulao Gate showing Liu Bei, Guan Yu, and Zhang Fei" width="800" height="450"&gt;&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%2Flj08q46ji3bfmtik1fa7.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%2Flj08q46ji3bfmtik1fa7.jpg" alt="Battlefield view showing active mission HUD and 61m distance indicator" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Even in the &lt;strong&gt;Call of Duty MW2 + Skate 3 + Minecraft&lt;/strong&gt; mashup (7.5M views, ~30K likes—shoot MW2 guns, hit &lt;code&gt;J&lt;/code&gt; to kickflip a skateboard, and shoot blocks in a Minecraft world), the magic is in the boundaries. Built in Rust on the open-source &lt;strong&gt;IW4L&lt;/strong&gt; runtime, it keeps its repo clean by downloading ~125MB of vanilla Minecraft assets from Mojang's official servers on first launch, requiring a legal Steam copy of MW2, and disabling skateboarding if Xbox 360 &lt;em&gt;Skate 3&lt;/em&gt;'s &lt;code&gt;default.xex&lt;/code&gt; is missing.&lt;/p&gt;




&lt;p&gt;🔌 &lt;strong&gt;5. How to Route &lt;code&gt;claude-opus-5-5&lt;/code&gt; Without Burning $2,400 Blindly&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;One creator let an AI run on a gaming laptop for &lt;strong&gt;36 hours straight&lt;/strong&gt; to build an old-school RPG (character creation, towns, combat), spending &lt;strong&gt;$2,400&lt;/strong&gt; across API calls and generated art/music.&lt;/p&gt;

&lt;p&gt;Across the builds that disclosed their model stack, &lt;strong&gt;Claude Opus 5.5&lt;/strong&gt; was the main workhorse. When I test &lt;code&gt;claude-opus-5-5&lt;/code&gt; against other models on Three.js prototypes, I avoid juggling separate vendor keys and billing dashboards by routing requests through &lt;a href="https://crazyrouter.com/en" rel="noopener noreferrer"&gt;Crazyrouter&lt;/a&gt; and swapping only the &lt;code&gt;model&lt;/code&gt; string:&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;Three quick gotchas from my API verification on November 27, 2026:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🔗 &lt;strong&gt;SDK path suffix:&lt;/strong&gt; Use the &lt;code&gt;/v1&lt;/code&gt; suffix above for OpenAI-compatible SDKs, or pass the root domain without &lt;code&gt;/v1&lt;/code&gt; for the native Anthropic SDK (&lt;code&gt;claude-opus-5-5&lt;/code&gt; via &lt;code&gt;/v1/messages&lt;/code&gt; returned &lt;code&gt;HTTP 200&lt;/code&gt; in &lt;strong&gt;10.2 seconds&lt;/strong&gt;)&lt;/li&gt;
&lt;li&gt;💰 &lt;strong&gt;Budget check:&lt;/strong&gt; Check the daily-verified &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_7cce2901a281_mid_text" rel="noopener noreferrer"&gt;model pricing table&lt;/a&gt; before kicking off multi-hour agent loops&lt;/li&gt;
&lt;li&gt;🔍 &lt;strong&gt;Query &lt;code&gt;GET /v1/models&lt;/code&gt; directly:&lt;/strong&gt; Even when &lt;code&gt;claude-opus-5-5&lt;/code&gt;'s web detail page returned a 404 during my check, &lt;code&gt;GET /v1/models&lt;/code&gt; confirmed the model ID was active and routable&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every one of these 11 builds still needs save systems, gamepad input abstraction, low-end GPU profiling, and audio mixing before commercial release—but they all prove the same rule: &lt;strong&gt;build the movement and fun with ugly boxes first, and worry about the art last.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>threejs</category>
      <category>gamedev</category>
    </item>
  </channel>
</rss>
