FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
I Analyzed 38 Claude Code Sessions. Only 0.6% of Tokens Were Actual Code Output.
NewsTools

I Analyzed 38 Claude Code Sessions. Only 0.6% of Tokens Were Actual Code Output.

via Dev.toVishaal LS3h ago

I kept hitting Claude Code's usage limits. No idea why. So I parsed the local session files and counted tokens. 38 sessions. 42.9 million tokens. Only 0.6% were Claude actually writing code. The other 99.4%? Re-reading my conversation history before every single response. Not as scary as it sounds Input tokens (Claude reading) cost $3 per million on Sonnet. Output tokens (Claude writing) cost $15 per million . So that tiny 0.6% of writing carries 5x the per-token cost. The re-reading is cheap on its own. The problem is compounding. Every message you send, Claude re-reads your entire history. Message 1 reads nothing. Message 50 re-reads messages 1 through 49. By message 100, it's re-reading everything. My worst session hit $6.30 equivalent API cost. The median was $0.41 . The difference? I let it run 5+ hours without /clear . Lazy prompts are secretly expensive A prompt like "do it" costs nearly the same as a detailed paragraph. Your message is tiny compared to the history being re-read

Continue reading on Dev.to

Opens in a new tab

Read Full Article
0 views

Related Articles

News

My home network observes bedtime with OpenBSD and pf

Lobsters • 21m ago

What Is URL Encoding and Why Does Your Link Look Like %20%3F%26
News

What Is URL Encoding and Why Does Your Link Look Like %20%3F%26

Medium Programming • 42m ago

The secret story of the vocoder, the military tech that changed music forever
News

The secret story of the vocoder, the military tech that changed music forever

The Verge • 47m ago

Programming Is Not Just About Syntax
News

Programming Is Not Just About Syntax

Medium Programming • 49m ago

How I Actually Start Low-Level Design Before Thinking About Design Patterns
News

How I Actually Start Low-Level Design Before Thinking About Design Patterns

Medium Programming • 53m ago

Discover More Articles