30 秒でわかる
Matthew Berman describes routing work between more expensive and cheaper models, with a worked token-cost example and a coding workflow. The video is sponsored by GenSpark; he also discloses an investment in Not Diamond. Savings depend on prices, token use, quality and any extra review or retries.
- 1Planning and executionBerman recommends using a strong model for research and specifications and a sufficiently capable cheaper model for implementation.
- 2Review loopHe sends the resulting pull request back to a stronger model, then feeds review comments to the implementation model.
- 3The cost assumptionsHis example assumes 100,000 input and 20,000 output tokens for planning, and 150,000 input and 120,000 output tokens for coding.
- 4Illustrative savingsAt the stated rates, planning plus cheaper coding totals $3.02 versus $9.50, roughly 68% less; review and rework are excluded.
- 5Manual and automatic routingHe shows copying a specification between tools, a command-line delegation workflow and third-party routing.
- 6Beyond codingHe recommends selecting models and effort levels for knowledge work, and cites company examples involving defaults, routing and caching.
ポイント
- A stronger model can plan or review while another model implements a sufficiently detailed specification.
- In the illustrative API example, routing reduces estimated cost from $9.50 to $3.02, about 68%, before extra review or retry costs.
- Subscription quotas do not necessarily translate directly to API token prices.
- Compare quality and total cost on your own tasks rather than assuming a particular savings rate.
- Berman discloses a GenSpark sponsorship and an investment in Not Diamond.
チャプターごとに整えた全文を読む
Planning, coding and review
Berman introduces model routing and divides a coding task into research, specification, implementation and review.
Model routing means choosing a model appropriate to each task. I use it to reduce AI spending, especially when different phases of a project need different capabilities. The headline savings will vary: measure the full workflow, including retries, review and any quality differences.
I separate planning from execution. Planning involves understanding the codebase, deciding how a feature fits and writing an architecture or specification. I prefer a strong model for that work; a cheaper model may be sufficient to implement a clear plan, though difficult implementation can still require a stronger one.

My workflow starts with research and questions, then a detailed specification. I hand the specification to a coding model and ask it to create a pull request. Optionally, I ask the stronger model to review the pull request, send its feedback to the coding model and then deploy after the work is ready.
The video is sponsored by GenSpark, an AI workspace Berman presents as combining tools for writing, design, code and media. Any promotional terms and product availability are as described at the time of the video.
A token-cost example
He calculates an illustrative cost for one expensive model and compares it with routing implementation to a cheaper model.
For an illustrative API calculation, I assume a more expensive model costs $10 per million input tokens and $50 per million output tokens, while the cheaper model costs $2 and $6 respectively. These are assumptions for the example, not a promise of current pricing or subscription quota consumption.

The example assumes planning uses 100,000 input and 20,000 output tokens. At the expensive rates, that is $1 for input and $1 for output, or $2 total. Coding uses 150,000 input and 120,000 output tokens; at those same rates, it costs $1.50 plus $6, bringing the overall total to $9.50.
If coding instead uses the cheaper rates with the same token counts, input costs $0.30 and output costs $0.72. Coding costs $1.02, and planning plus coding totals $3.02. The difference is $6.48, about 68% in this example—not the more than 90% mentioned in the opening. The calculation does not include optional review, failed attempts or rework.

Practical routing workflows
He demonstrates manual copy-and-paste, command-line delegation and third-party automatic routing. He discloses an investment in a routing company.
One manual approach is to develop a specification in one tool, copy it into another coding tool, and later paste review feedback back to the implementer. I show an example where the implementation runs for about an hour and produces a pull request. Whether this saves money overall depends on the actual work and billing model.
I also demonstrate a skill that lets one command-line agent plan and delegate coding to another. Some third-party coding environments provide automatic model selection; their routing logic and available models differ. Verify the behavior and permissions in the tools and versions you use.
I mention Not Diamond as a company focused on routing and disclose that I am a small investor. I also discuss routing for documents and spreadsheets: choose a model and reasoning effort suited to the task, then evaluate its output rather than always selecting the most expensive option.
Knowledge work and enterprise scale
Berman discusses model and effort selection beyond coding, then describes how defaults, routing and caching can affect enterprise spending.
At enterprise scale, I point to a Coinbase example of managing AI costs through cheaper defaults, routing, caching and context management. I speculate about which models handle particular phases, so that division should not be treated as confirmed. The central lesson is to measure quality and total spend against a realistic baseline.
同じチャンネルの記事
25:50EN
32:20EN
45:08EN
0:32EN
12:14EN
10:36EN