Claude Code uses 5.7M tokens to generate painting via Python code
November 28, 2026
Ten painter agents and one director agent generated a painting by writing Python programs for simulated brush strokes. The process required 5.7 million output tokens and 775 million cached tokens, totaling $715 in Fable 5.2 API costs.
HOW THIS AFFECTS YOU
●
builderYou can see how much high-density agentic workflows cost when using large amounts of thinking and context tokens.
●
researcherThis demonstrates an approach to generative art that uses code generation instead of direct image diffusion models.