Newsletter ·
The $0.30 Code Review
This week: Thursday, November 19, 2026. Frontier model prices dropped again, Microsoft shipped a coding model that does 98% of GPT-6.1 Sol's work for 40% of the cost, and an open-source CLI found a one-line prompt-structure bug that was re-billing 14,000 tokens on every single step. The pattern across all of it: the win isn't a better model anymore, it's a cheaper arrangement of the one you already have.
🔥 Inside this issue: Anthropic's $81.3B IPO opens on Nasdaq today while GPT-6.2 cuts Astra's price 20%, 13 prompt techniques for cutting agent token burn, one Steal This Prompt drop for adversarial multi-agent code review, plus a reader story about 14.9 billion tokens of Claude Code logs.
What's New in AI
1. OpenAI ships GPT-6.2 Astra and Sol — Astra lands at $8/$40 per million tokens, 20% under its predecessor
Both models went generally available in GitHub Copilot and the API as gpt-6.2-astra and gpt-6.2-sol. Astra drops from $10/$50 to $8/$40 per million tokens, and cached input falls from $1 to $0.40 per million — a proportionally bigger cut than the headline price. Sol holds the line at $2/$10. GitHub's early testing claims Sol caught nearly twice as many real issues in code review as GPT-6.1 Sol while keeping findings accurate.
Why it matters: The cached-input cut is the real story for anyone running long agentic sessions, where you re-read the same prefix hundreds of times — that's where your bill actually lives. Worth noting the reception is mixed: Simon Willison reports Astra 6.2 isn't scoring quite as high as Fable 5.2 on various benchmarks, and his own Three.js and SVG tests rated it below both Fable 5.2 and Gemini 4 Carbon.
What to do: If you're on Copilot Pro+, Max, Business, or Enterprise, switch your code-review step to gpt-6.2-sol and keep Astra for the genuinely hard stuff. Read more →
2. Microsoft's MAI Code 2 claims 96% of Claude Opus 5.5's coding performance at 5% of the cost
Microsoft AI launched MAI Code 2 and MAI Code 2 Flash at Ignite, both now available in GitHub Copilot. Across DeepSWE 1.1, Terminal-Bench 2.1, SWE Atlas, and FrontierCode v1.1, Microsoft reports MAI Code 2 at a 63.2% average pass rate for $0.309 per task, against GPT-6.1 Sol's 64.1% at $0.761 and Opus 5.5's 65.3% at $6.306. Flash averages 61.0% on three of those benchmarks at $0.052 per task.
Why it matters: The pitch is price, not power — one benchmark point of accuracy for a 20x cost difference is a trade a lot of CI pipelines will happily take. But read the fine print: every model ran at maximum reasoning effort, Microsoft's cost figures assume a 50% promotional price, and the runs went through Copilot CLI without subagents, which is not how most of us actually work.
What to do: Point your high-volume, low-stakes jobs — routine fixes, code explanation, targeted edits — at Flash and keep your frontier model for multi-file reasoning. Read more →
3. Claude Code turns on Code Mode for agent teams, then fixes the context bugs that made teams expensive
Version 2.1.326 added support for enabling Code Mode while agent teams are active — if Code Mode was already on, team sessions now start in it. The 2.1.327 follow-up fixed the quieter, costlier problems: teammates running on a different model than the lead no longer compact at the lead's context limit or on the wrong model, subagents resumed by a sibling's message no longer inherit that sibling's model and effort, and subagent progress summaries on Bedrock, Vertex, and Foundry are now written from short notes instead of the whole conversation.
Why it matters: Agent teams run roughly 7x the tokens of a standard session when teammates are in plan mode, and most of that waste came from exactly these mismatches — a Haiku teammate compacting against an Opus-sized window burns capacity for nothing. This is the release where teams stop being a fun demo and start being affordable.
What to do: Update, then check /status — it now flags broken agent and skill files, an unavailable sandbox, and hook matchers that never match. Read more →
4. OpenCode v2.3.2 finds GPT-6.2 silently re-billing 14,000 uncached tokens per step
The fix is the whole story: GPT-6.2 models don't cache a system prompt sent in the Responses API's instructions field, so every agent step was re-billed as fresh uncached input. OpenCode moved that prompt into a leading developer message across every Responses route — OpenAI direct, ChatGPT sign-in, GitHub Copilot, Zen, Azure, OpenRouter. Measured result on Copilot's gpt-6.2-sol: uncached input per step dropped from about 14,000 tokens to 3.
Why it matters: This is the least glamorous and most valuable kind of prompt engineering — where you put the text, not what it says. If you built your own agent loop on the Responses API and parked your system prompt in instructions, you have been paying full price on every turn since Tuesday and your dashboards looked fine.
What to do: Grep your agent code for instructions: and move that payload into a leading developer message, then watch your cached-input ratio. Read more →
5. Anthropic priced its IPO at $83 and starts trading on Nasdaq today
Anthropic priced 980,000,000 Class A shares at $83.00 each — above its $70–$78 range and an upsize from the planned 825 million — with trading opening today under the ticker ANT and the offering expected to close November 20. CNBC puts the raise at $81.3 billion, the largest on record, topping SpaceX's $75 billion, with a fully diluted market cap around $1.5 trillion. Run-rate revenue was roughly $81 billion at the end of October, up $10 billion from the prior month.
Why it matters: The company behind the coding agent in your terminal now answers to public markets quarterly. Expect roadmap and pricing decisions to get more legible and more conservative — and expect "agentic workloads," already about 80% of token volume by NVIDIA's count, to be the number every earnings call fixates on.
What to do: If your product depends on a single provider's pricing, this is a good week to actually test your fallback path to a second vendor instead of assuming it works. Read more →
📡 These five are just what survived the cut — I post the daily AI drops at prompt-smith-ai.net/news
Prompt Tips & Tricks
Thirteen techniques, weighted toward the thing that's actually costing you money right now: how you arrange context across multiple agents.
1. Put your subagents on a cheaper model than the lead
Subagents do the noisy work — running tests, grepping logs, reading files — and only a summary comes back. That work almost never needs your frontier model, but it defaults there if you don't say otherwise.
When to use it: Any subagent whose job is "go look at this and report back" rather than "design this."
---
name: test-runner
description: Runs the test suite and reports failures with file:line
model: sonnet
---
Run the full test suite. Report only failing tests, each as
file:line plus the assertion that failed. No commentary, no fixes.Gotcha: The model named in the spawn prompt beats the frontmatter. If you say "spawn a test runner with Opus," you get Opus regardless of what the file says.
2. Move your system prompt out of the instructions field on GPT-6.2
GPT-6.2 won't cache a system prompt passed in the Responses API instructions field. Send it as the first developer message in the conversation instead and it caches from step two onward.
When to use it: Every custom agent loop you've built on the Responses API against gpt-6.2-astra or gpt-6.2-sol.
messages = [
{"role": "developer", "content": SYSTEM_PROMPT}, # cacheable prefix
*history,
{"role": "user", "content": task},
]
# NOT: client.responses.create(instructions=SYSTEM_PROMPT, ...)Gotcha: The cache only helps if the prefix is byte-identical. Timestamps, session IDs, or a shuffled tool list at the top of your prompt will invalidate it every turn.
3. Turn the effort dial before you switch models
Effort level is a cheaper lever than model choice, and the accuracy curve is flatter than you'd expect. On SWE-bench Pro, Opus 5.5 at medium effort lands 2.5 points under high at 70% of the price; low is 8 points under at a third of the price.
When to use it: Any batch job where you can cheaply detect failure and retry.
Run every task at low effort. For any task that fails its test,
re-run that task alone at high effort. Report which tasks needed
the retry.Gotcha: This only pays off when you have a real pass/fail signal. Without one you're just shipping low-effort output and calling it a strategy.
4. Clear the session instead of correcting it a third time
A wrong answer stays in context and keeps poisoning everything after it. Two failed corrections is the signal to stop steering and start over with a better first prompt.
When to use it: The moment you catch yourself typing "no, I meant…" for the second time.
/rename debugging-auth-timeout
/clearThe login flow times out after exactly 30s under load. Relevant
files: src/auth/session.ts, src/db/pool.ts. The pool max is 10.
Find the cause. Do not propose fixes yet.Gotcha: /rename first if there's any chance you'll want /resume. Clearing is free; losing the thread isn't.
5. Brief every teammate as if it has amnesia
Teammates load CLAUDE.md, MCP servers, and skills — but they do not inherit the lead's conversation history. Whatever you figured out in the last twenty minutes has to be restated in the spawn prompt or it doesn't exist.
When to use it: Every single spawn. This is the number one reason team output comes back generic.
Spawn a security reviewer teammate with the prompt: "Review the
authentication module at src/auth/ for security vulnerabilities.
Focus on token handling, session management, and input validation.
The app uses JWT tokens stored in httpOnly cookies. Report any
issues with severity ratings."Gotcha: Don't overcorrect and paste the whole transcript in. Everything in the spawn prompt is in that teammate's context from token one, and you pay for it for the rest of its life.
6. Cap the team at three, and name them
Anthropic's own guidance is 3–5 teammates, and three focused ones routinely beat five scattered ones. Naming them in the spawn instruction is what lets you address one specifically later instead of broadcasting to all of them.
When to use it: Work that splits into genuinely independent tracks — not work you've merely chopped into pieces.
Spawn three teammates and call them api, ui, and docs. Give api
everything under server/, ui everything under app/, docs the
README and CHANGELOG. Wait for all three before you touch any
file yourself.Gotcha: Teams run about 7x the tokens of a single session when teammates are in plan mode. Fifteen independent tasks still only justify three teammates.
7. Make your teammates argue instead of agree
Parallel agents default to politely confirming each other. Instructing them to actively disprove each other's theories turns redundancy into real coverage — the debate is the mechanism, not the parallelism.
When to use it: Debugging something where you have several plausible causes and no way to rank them.
Users report the app exits after one message instead of staying
connected. Spawn 5 agent teammates to investigate different
hypotheses. Have them talk to each other to try to disprove each
other's theories, like a scientific debate. Update the findings
doc with whatever consensus emerges.Gotcha: Give them a shared findings file. Without a single artifact to converge on, you get five confident write-ups and no consensus.
8. Give every teammate its own files
Two teammates editing the same file means one of them silently loses. File ownership is the only partition that actually holds — not "you do the backend, you do the frontend."
When to use it: Any team that writes code rather than just reading it.
Before spawning anyone, list the files each task will touch. If two
tasks touch the same file, merge them into one task for one
teammate. Then show me the file-to-teammate assignment and wait
for my approval.Gotcha: Agent teams can't nest — teammates cannot spawn their own teammates, so the lead has to own the whole partition up front.
9. Stretch the subagent prompt cache to an hour
An in-process teammate's requests fall outside the main conversation's cache bucket, so its cache expires in five minutes by default. For a teammate working a long task, that means re-paying for its prefix repeatedly.
When to use it: Long-running teammates on big repos, where the prefix is expensive and the gaps between requests are minutes long.
{
"subagentPromptCacheTtl": "1h"
}Gotcha: The API bills 1-hour cache writes at a higher rate. On short teammate runs this costs you money instead of saving it.
10. Make the agent write the plan to a file and tick it off
A plan that lives only in context dies with the context. A plan in a markdown file in the repo survives a /clear, a limit, or a crash — and a fresh session picks it up mid-stride.
When to use it: Anything longer than one sitting, and anything you might get rate-limited out of.
Write the plan to PLAN.md as a checklist before writing any code.
After each step: run the tests, then check that box and commit
PLAN.md with the change. If you are interrupted, PLAN.md must be
enough for a fresh session to resume with no other context.Gotcha: The agent will drift back to in-context planning on its own. Repeat the "update PLAN.md" instruction in the task itself, not just the system prompt.
11. Hand the agent a pass/fail check before it starts
The cheapest way to kill a failure loop is a signal the agent can read itself. Without one it guesses at whether it's done and burns tokens re-reading your code to decide.
When to use it: Every bug fix. Write the failing test first, then let the agent chase green.
Write a failing test that reproduces this bug. Show it to me and
wait for approval. Then fix the code until that test passes. You
are not done until `npm test` exits 0 — do not tell me it's fixed
based on reading the code.Gotcha: Specific scope matters as much as the check. "Add input validation to the login function in auth.ts" reads a handful of files; "improve this codebase" reads all of them.
12. Cut CLAUDE.md under 200 lines and push the rest into skills
CLAUDE.md loads every session and is re-read on every request, so every line is a tax on every turn. Anthropic's own docs recommend staying under 200 lines and moving workflows into skills that load on demand.
When to use it: Right now, if you haven't pruned it since summer.
Read CLAUDE.md. For each line, judge whether a strong model would
produce worse output without it. Output two lists: KEEP with a
one-line reason each, and MOVE-TO-SKILL grouped by workflow. Do
not edit anything yet.Gotcha: Anthropic removed over 80% of Claude Code's own system prompt for the Claude 5 models with no measurable loss on coding evals. Your file is probably not the exception.
13. Keep noisy tool output out of the lead's context
Logs, test output, and large file reads are the bulk of what fills your window, and almost none of it needs to be in the lead's conversation. Push it into a subagent or trim it at the source.
When to use it: Before you start a long session — run /context and look at what's actually in there.
/contextDelegate anything that produces more than ~50 lines of output to a
subagent. The subagent returns at most 10 lines: what failed, where,
and the one-line reason. Raw output stays in its context, not yours.Gotcha: Prefer real CLIs like gh over MCP servers where you can — MCP tool definitions sit in your context whether you call them or not, and unused servers are pure overhead.
Steal This Prompt
Three reviewers who are each told to distrust the other two, with a structured verdict at the end. It's the one agent-team pattern that reliably beats a single reviewer instead of just costing 3x more.
The problem it solves: PR reviews where a single agent confidently blesses a diff that quietly breaks an edge case, and you don't find out until Friday night.
You are the lead reviewer for PR [PR_NUMBER] in [REPO_PATH].
Working set: the diff only. Do not review unchanged code.
STEP 1 — Partition. List every file in the diff. Assign each to
exactly one lens below. No file may appear twice.
STEP 2 — Spawn three teammates on [CHEAP_MODEL], named:
correctness — logic errors, unhandled nulls, off-by-one, wrong
error paths, broken invariants. Ignore style entirely.
blast-radius — callers of changed signatures, migrations without
rollback, config/env assumptions, backward compatibility.
tests — does each behavior change have a test that would FAIL
on the old code? Name the missing cases.
Each spawn prompt must restate: the file list for that lens, the
stack facts ([LANGUAGE], [FRAMEWORK], [TEST_COMMAND]), and this
output contract. Teammates do not inherit this conversation.
STEP 3 — Adversarial pass. Give every teammate the other two's
findings. Each must try to REFUTE at least one finding not its own,
citing a specific line. Default to "refuted" when uncertain.
STEP 4 — Report as JSON only:
{"findings":[{"file":"","line":0,"lens":"","severity":"block|warn|nit",
"claim":"","failure_case":"concrete input -> wrong output",
"refuted_by":null}],"verdict":"block|approve-with-notes|approve"}
Rules: no finding without a concrete failure case. Drop anything
two teammates refuted. Severity "block" requires a reproducible
failure, not a code smell.Expected output: A short JSON array — typically two to five findings on a real PR, not twenty. The valuable part is failure_case: you should see "parseLimit('') returns NaN, which passes the > 0 check at line 44 and sets the page size to NaN," not "input validation could be improved." If every finding comes back as a nit, your diff is probably fine and you just bought that confidence for about thirty cents.
One customization tweak: Swap the three lenses for schema-drift, index-coverage, and rollback-safety and point it at a migrations directory — the partition-then-refute scaffolding works identically for database changes, where a confident single reviewer is even more dangerous.
Reader Spotlight
Runar Ovesen Hjerpbakk · hjerpbakk.com
He had no idea where his Claude Code tokens were going, because on a Team plan there's no invoice to read.
What they did: He pulled two months of his own Claude Code transcripts from ~/.claude/projects, priced every logged token at Opus 5.5 API rates, and worked out which habits were actually expensive. The mechanism that makes it work is that the per-request token counts are already in those local transcripts — you don't need a bill to audit yourself, and he warns the token-saver tools' own counters overclaim.
What it got them:
- 14.9 billion tokens logged across October and November 2026
- 97.4% of those tokens were cache reads, each re-read ~44 more times
- 55% of all tokens went to subagents, 89% of that on Opus
- ~$1,600 the Opus subagents cost over Sonnet, at API rates
"One good prompt is cheap and good. A long conversation is expensive and worse."
Runar Ovesen Hjerpbakk, hjerpbakk.com
Try it: Run /usage, then open your own transcripts and check what share of your tokens your subagents are eating — if it's anywhere near his 55%, tip #1 is the highest-leverage line you'll change this week.
Your homework: grep your agent code for instructions: and move that system prompt into a leading developer message (tip #2), then check your cached-input ratio before and after. If you've been running GPT-6.2 since Tuesday, that one-line change is the cheapest win on this entire list. Next week I'm pitting MAI Code 2 Flash against gpt-6.2-sol on the same twenty real PRs to see whether $0.05 a task actually holds up.
— The Prompt Smith
Sources & Further Reading
- GitHub Changelog: GPT-6.2 Astra and Sol now available
- Simon Willison: GPT-6.2 Astra and Sol
- Microsoft AI releases MAI Code 2 and MAI Code 2 Flash
- OpenCode releases (v2.3.2 prompt-caching fix)
- Claude Code docs: Orchestrate teams of Claude Code sessions
- Claude Code docs: Managing costs
- Claude Code release notes tracker
- Anthropic prices initial public offering
- CNBC: Anthropic IPO raises over $81 billion
- My 10 ways to save tokens in Claude Code — Runar Ovesen Hjerpbakk