08 · Cost
What it cost to build
Every API call the project made is in the session transcripts on this machine. This page counts them. Token counts are exact. Dollar figures apply Anthropic's published API list prices to those counts; cache writes are billed at the 1-hour rate, the cache TTL Claude Code used in these sessions.
Prices used
Published Claude API list prices (platform.claude.com, pricing page, fetched 2026-09-03), in dollars per million tokens. Cache writes are billed at the 1-hour rate (2× input), the cache TTL Claude Code used in these sessions; billed at the 5-minute rate (1.25× input) instead, the total would be $4,280. Cache reads are 0.1× input on every model except Fable 5.1, where they are 0.025×.
| Model | Input | Output | Cache write (1 h) | Cache read |
|---|---|---|---|---|
| Claude Fable 5.1 | $10 | $50 | $20 | $0.25 |
| Claude Fable 5 | $10 | $50 | $20 | $1.00 |
| Claude Opus 5 / Opus 4.8 | $5 | $25 | $10 | $0.50 |
| Claude Haiku 4.5 | $1 | $5 | $2 | $0.10 |
Where the tokens went
| Scope | Input | Output | Cache write | Cache read | API calls | Cost |
|---|---|---|---|---|---|---|
| Orchestrator session | 314,331 | 1,723,243 | 17,983,364 | 837,567,829 | 1,870 | $930 |
| Subagents | 1,190,714 | 8,342,095 | 64,046,019 | 2,121,074,321 | 13,924 | $3,489 |
| Workflow agents | 2,625,315 | 3,172,178 | 17,487,796 | 96,006,868 | 6,686 | $556 |
| Total | 4,130,360 | 13,237,516 | 99,517,179 | 3,054,649,018 | 22,480 | $4,974 |
By model
Three generations of model did the work. Fable 5 carried the first three weeks; Opus 4.8 carried the week the Fable credits were out (08-15 to 08-20, when the fog fix landed); Fable 5.1 carried the final week and the multi-core push.
| Model | API calls | Output tokens | Cache-read tokens | Cost |
|---|---|---|---|---|
claude-fable-5 | 15,190 | 9,293,400 | 2,151,927,954 | $3,647 |
claude-fable-5-1 | 2,922 | 1,855,334 | 498,112,871 | $936 |
claude-opus-4-8 | 4,135 | 2,041,244 | 398,920,926 | $385 |
claude-opus-5 | 30 | 3,782 | 1,756,856 | $5 |
claude-haiku-4-5-20251001 | 91 | 43,756 | 3,930,411 | $1 |
Spend by day
| Day | API calls | Human prompts | Subagents started | Workflow agents | Output tokens | Cost |
|---|---|---|---|---|---|---|
| 2026-08-11 | 794 | 6 | 3 | 103 | 489,513 | $94 |
| 2026-08-12 | 2 | 0 | 0 | 0 | 3,239 | $6 |
| 2026-08-13 | 1,471 | 21 | 16 | 0 | 1,130,543 | $390 |
| 2026-08-14 | 5,144 | 38 | 18 | 205 | 2,249,336 | $1,091 |
| 2026-08-15 | 607 | 3 | 0 | 103 | 211,736 | $41 |
| 2026-08-20 | 2,741 | 15 | 33 | 0 | 1,444,641 | $264 |
| 2026-08-21 | 4,724 | 46 | 30 | 298 | 3,302,928 | $989 |
| 2026-08-22 | 334 | 4 | 2 | 0 | 173,665 | $90 |
| 2026-08-23 | 3 | 2 | 0 | 0 | 2,497 | $0 |
| 2026-08-27 | 2,834 | 20 | 11 | 195 | 1,797,508 | $766 |
| 2026-08-28 | 837 | 11 | 5 | 0 | 535,073 | $300 |
| 2026-08-31 | 2 | 3 | 0 | 0 | 228 | $0 |
| 2026-09-01 | 796 | 6 | 4 | 99 | 432,375 | $159 |
| 2026-09-02 | 1,465 | 24 | 12 | 100 | 948,007 | $496 |
| 2026-09-03 | 726 | 24 | 13 | 0 | 516,227 | $288 |
Subagents
147 background agents were launched with the Agent tool (130 by the orchestrator, 17 by other agents), and 10 deep-research workflows spawned 1,103 short-lived search, fetch and verification agents. The table below is the twenty most expensive background agents; between them they are most of the subagent bill.
| Started | Agent | Model | Turns | Output | Cost |
|---|---|---|---|---|---|
| 2026-08-14 05:09 | G: GPU profiling telemetry | fable-5 | 933 | 115,761 | $210 |
| 2026-08-14 05:09 | S: stereo foundation | fable-5 | 928 | 123,186 | $209 |
| 2026-08-28 04:28 | GPU vertex transform moonshot | fable-5 | 450 | 192,565 | $156 |
| 2026-09-01 21:33 | Bridge translation cache lever | fable-5-1 | 149 | 148,482 | $133 |
| 2026-08-27 19:31 | Time-trial init hang | fable-5 | 279 | 153,831 | $132 |
| 2026-09-02 14:51 | Task A: texrect batching lever | fable-5-1 | 74 | 133,374 | $91 |
| 2026-08-27 16:02 | Race-exit transition glitch+slow | fable-5 | 253 | 202,286 | $90 |
| 2026-08-27 18:07 | Bottom-screen touch menu v1 | fable-5 | 208 | 192,907 | $80 |
| 2026-09-02 22:24 | Task H: render thread on core 2 | fable-5-1 | 115 | 67,509 | $79 |
| 2026-08-13 04:45 | M1 core: decomp compile + link | fable-5 | 198 | 157,303 | $76 |
| 2026-08-27 19:22 | Crowd grind round 2 | fable-5 | 217 | 120,622 | $75 |
| 2026-08-27 16:01 | Fix filelog OOM + leak audit | fable-5 | 264 | 145,180 | $74 |
| 2026-08-27 06:21 | Traffic-tail grind: bridge + pipesync | fable-5 | 200 | 154,508 | $72 |
| 2026-08-21 16:56 | Why audio synthesis outputs zeros | fable-5 | 228 | 142,891 | $68 |
| 2026-08-13 12:56 | M1 present: pixels to screen | fable-5 | 212 | 131,839 | $67 |
| 2026-08-14 04:49 | C2: invisible track cull bug | fable-5 | 239 | 122,167 | $67 |
| 2026-08-20 07:06 | Night emulator verify + sky fix | opus-4-8 | 491 | 188,504 | $62 |
| 2026-08-14 12:20 | C3: salvage + finish track cull | fable-5 | 214 | 154,302 | $60 |
| 2026-08-14 01:13 | V: race visual fixes | fable-5 | 139 | 146,195 | $59 |
| 2026-08-14 02:57 | T: texture upload cache | fable-5 | 218 | 113,078 | $57 |
The two 900-turn agents of 08-14 (GPU profiling telemetry and the stereo foundation) were left running through the first credit pause and each re-read a very large context hundreds of times. They are the clearest cost lesson of the project: a long-lived agent with a big context is expensive per turn, and an agent that has finished its brief should be stopped.
Tool calls
git commit. 1,907 web fetches and 899 web searches belong almost entirely to the deep-research workflows.Reconciling with what /usage and /stats show
The user's impression was that the project cost more than this page says. Three things explain the gap, and one real omission was checked and found small.
| Check | Finding |
|---|---|
| Claude Code's own stats file counts every streamed record. | Each assistant message is written to the transcript once per content block (2 to 5 records with the same message id). ~/.claude/stats-cache.json sums them all: its 08-13 Fable figure, 1,730,401, equals this census's un-deduplicated input+output sum for that day exactly. Priced that way the project reads as 5.94 B tokens and $7,961. The API bills per request, so the deduplicated 3.17 B tokens and $4,974 is the honest figure. |
| /usage shows plan utilisation, not dollars. | The Fable weekly allowance was exhausted three times (08-14, 08-22, 08-28). Reaching a cap says nothing about the dollar value of the tokens under it. |
| Other projects shared the same allowance. | Between 08-15 and 08-28 the same account ran Opus sessions on five other projects (a Unity game, an image folder, three code repos: 447 prompts in the history file). Their usage sits in the same /usage bars and the same stats file, and none of it is in this census. |
| Missing transcripts. | The prompt history lists nine G-Diffuser sessions; four are on disk. The five absent ones are each a single /resume that went nowhere. |
| Calls the transcript does not log. | Four context compactions (contexts of 0.5–1.0 M tokens each, about $4 in total at Fable rates), session-title and tool-summary side calls on Haiku (cents), and 899 web searches inside the research workflows (about $9 at API rates). Retries after 529 overloads are not billed. |
What a human team would have cost
A rough comparison, not a quote. The scope a team would face is the scope this project faced: a new fixed-function GPU backend, a 32-bit sweep across three codebases, a ROM-side audio driver port, an ARM11 performance grind to native 60 on a software display-list interpreter, stereo, a multi-core render pipeline, lifecycle, menus and packaging. About 20,000 lines of low-level code plus the research and the hardware loop.
Reference points
- sm64 on 3DS. Hobbyists, one core developer plus contributors. Playable in months, 60 fps via 30 Hz logic and interpolation, refined over years.
- Ship of Harkinian console ports (Wii U, Switch). One or two skilled volunteers, several months each, on top of an existing PC runtime, with a shader-capable GPU and no stereo.
- Professional retro-port studios. Five to eight people for six to twelve months on ports with far more headroom than an 804 MHz ARM11 driving a PICA200.
Estimate to reach this state
| Team | Calendar | Effort | Cost at US rates |
|---|---|---|---|
| Two senior engineers (graphics/runtime, systems/audio/perf) plus part-time QA on hardware | 5–8 months | 12–18 person-months | $250k–$450k |
| One very senior generalist, full time | 9–14 months | 9–14 person-months | $180k–$300k |
| One skilled hobbyist, evenings and weekends | 12–24 months | 1,000–1,500 hours | $0 paid, a year of unpaid labour |
Basis: $150–200 per hour contractor rates or $20–25k per month loaded per senior engineer; low-level port work lands at 100–200 shipped lines per engineer-day once debugging and hardware loops are counted, which puts 20,000 lines at six or more person-months before the performance grind. A human team would spend its time in the same places the agents did (the 32-bit address-space heuristics, the fog LUT, the HUD backstop, the audio driver, then months of profiler-driven grinding), would very likely have shipped 30 Hz plus interpolation first and deferred stereo, and might never have attempted the core-2 render thread.
Side by side
| This project | Human team, mid estimate | |
|---|---|---|
| Calendar | 24 days, 15 active | about 6 months |
| Cost | $4,974 API-equivalent | about $350k |
| Human time | one person, about 15 days of direction and SD-card loops, no code written | a full-time team |
| Polish delivered | playable, 60 fps median, stereo, lifecycle; known backlog (tunnel roof, boot-audio underrun, LOD thresholds) | a QA pass and the backlog closed |
Cost per outcome
Some ways to read the bottom line, at published prices with 1-hour cache writes:
| Measure | Value |
|---|---|
| Per human prompt | $22 |
| Per active day (15 days) | $332 |
| Per commit touching the 3DS port (250) | $20 |
| Per line of port code, patches included (25,009 lines) | $0.20 |
| Per fps of median gained on hardware (from ~12–20 in the first emulator race to 59.6) | $114 |