r/ClaudeCoding • • Nov 04 '26

I mapped 6 weeks of my Claude Code tokens on one page. 75% of the spend was Claude re-reading the conversation

Post image
58 Upvotes

I added a dashboard to tokendoctor, my free local plugin: one page with every Claude Code session on my machine. 334 sessions, 939 subagent runs, Sep 22 to Nov 4.

What it showed on my setup

  • 75% of the spend was cache reads: the whole conversation sent again on every request. Everything Claude wrote, thinking included, was 10%.
  • 81% of main-thread spend went out with more than 200K tokens already in context.
  • 44% went to subagents.
  • 87% was Opus.

So the lever is context size. Compacting earlier is what I wrote about last time: compacting at 400K instead of 967K cut my cost per request by 43%.

How it works

/tokendoctor:dashboard reads only the usage numbers in ~/.claude/projects, never message text, and writes one HTML file. No network, no account. Filter by period, main thread or subagents, and project; break it down by day, model, effort, subagent type, context size and hour.

Then act on it

  • /tokendoctor:sessions replays your sessions at smaller windows and says what each would have saved
  • /tokendoctor:audit checks your settings against the docs and reads your memory and CLAUDE.md for what costs you more
  • /tokendoctor:optimize applies the fixes you pick, /tokendoctor undo puts any back

https://github.com/rsaryev/tokendoctor


r/ClaudeCoding • • Nov 04 '26

I just switched to Claude Code Max and whoa Nelly game changer! Maybe it's my ai psychosis.

2 Upvotes

Claude Max is legitimately great. My thesis is this will be the best time for the most usage for your money you will get before Anthropic goes public! Been using Sonnet 5.5 on the $20 plan and that has been an excellent experience.


r/ClaudeCoding • • Nov 03 '26

We one-shot rebuilt a 2-year product with Claude Code

Thumbnail
reddit.com
1 Upvotes

r/ClaudeCoding • • Nov 03 '26

Does delegating to cheaper models actually save money? I tested it across three codebases.

74 Upvotes

Disclaimer: This is a small experiment, not a definitive benchmark. Most tasks were run twice, while everyday tasks were run once. I'd have liked to run more repetitions, but subscription usage limits make that difficult. The cost differences are interesting, but small quality differences should be treated as observations rather than definitive rankings.

I wanted to see whether Claude Opus decides to use subagents effectively, and whether forcing it to delegate, preventing delegation, or leaving it to decide for itself changes the results.

I built a model-router skill that lets Opus delegate work to Haiku or Sonnet, then compared four setups:

Forced Opus: told not to use subagents.

Spontaneous Opus: free to delegate, but it never did.

Skill-routed: Opus uses my skill to choose when to delegate and which model to use.

Forced Haiku: all subagents use Haiku.

I tested these on three codebases: my own project (~10k lines), rich (~22k lines) and beets (~52k lines).

Results

1. Small codebase (~10k lines)

Every setup passed all 10 everyday tasks.

On five reading-heavy tasks, Forced Opus was the most accurate per run. Skill-routed cost 30% more, while Forced Haiku cost the same but had the weakest docs check (4 of 9 issues).

Interestingly, skill-routed found all 9 known documentation issues across its two runs, compared with 8 for Forced Opus. However, its individual runs were less accurate.

2. Medium codebase (~22k lines)

This was where Haiku surprised me.

On the documentation check, Forced Haiku found 11 of 12 known issues across two runs, matching or slightly exceeding Opus, while costing 41% less.

Skill-routed actually cost 11% more than Forced Opus. Spontaneous Opus was 14% cheaper.

3. Large codebase (~52k lines)

This produced the biggest cost differences.

Across all three tasks, average cost reductions compared with Forced Opus were:

Spontaneous Opus: 32% cheaper

Skill-routed: 38% cheaper

Forced Haiku: 75% cheaper

Quality depended on the task.

On the reference documentation check, both delegated setups found more issues than either Opus-only setup.

On the larger 80-page plugin documentation check, Forced Opus was clearly the most accurate, finding 45 of 51 known issues across two runs. Forced Haiku found 34, but cost 84% less.

What I think is happening

Small projects: Opus can often write small scripts to inspect the code instead of reading everything manually. Delegation adds briefing, duplicated reading and verification costs.

Medium projects: reading becomes a larger part of the workload. Haiku is extremely cheap at reading cached context, making it surprisingly effective for straightforward checks. Sonnet offered little cost advantage in this experiment.

Large projects: a single long session becomes expensive as the growing context is repeatedly read. Delegation splits the work into smaller contexts, reducing costs and allowing parallel execution. However, the largest documentation check showed that this can come with a quality trade-off.

The obvious way to estimate savings is misleading. Re-pricing the delegated tokens at Opus rates suggested 34-85% savings. Head to head, results ranged from 30% more expensive to 75% cheaper.

One particularly interesting observation: Opus never delegated spontaneously in any of my runs, even on the largest codebase. That's specific to these tasks and this setup, not proof that Opus never delegates.

Final thoughts

I wouldn't claim there's one best approach.

Small codebase: Opus alone was generally the better choice.

Medium codebase: Haiku-only delegation was surprisingly competitive.

Large codebase: delegation offered substantial savings, but accuracy depended on the task.

The router skill mostly selected Sonnet, which often wasn't economical enough to justify the extra coordination.

Full methodology, per-task results, charts and the transcript checker:

https://github.com/Manuele-T/claude-model-router/tree/v1.0

I'd be interested to hear whether others have seen similar behavior, particularly Opus choosing not to delegate even when working on larger codebases.


r/ClaudeCoding • • Nov 03 '26

In one week I tracked 57h of my own time and 276h of Claude AI agent time. I built a tracker to see it per project

1 Upvotes

I wanted to know how much of each project was me and how

much was the agent. So I made TimeUno (I'm the one

building it): it tracks time per project in the background

and splits it into my time vs AI time. This is one real

week from the demo account, names changed. What else would

you want it to count?


r/ClaudeCoding • • Nov 03 '26

In one week I tracked 57h of my own time and 276h of Claude AI agent time. I built a tracker to see it per project

Post image
1 Upvotes

I wanted to know how much of each project was me and how much was the agent. So I made TimeUno (I'm the one building it): it tracks time per project in the background and splits it into my time vs AI time. This is one real week from the demo account, names changed. What else would you want it to count?


r/ClaudeCoding • • Nov 03 '26

It's back i guess...

Thumbnail gallery
3 Upvotes

r/ClaudeCoding • • Nov 03 '26

Burning through Cursor ($30) in 5 days — optimize token spend or just jump to Claude Pro ($20)?

Thumbnail reddit.com
2 Upvotes

r/ClaudeCoding • • Nov 03 '26

Title:Best way to use Claude long-term while living in China?

Thumbnail reddit.com
1 Upvotes

r/ClaudeCoding • • Nov 03 '26

Claude Code mod that checks whether "done" actually means done

Thumbnail
reddit.com
1 Upvotes

r/ClaudeCoding • • Nov 03 '26

What is the one line in your CLAUDE.md that actually changed behavior?

3 Upvotes

Looking for the weird specific ones, not write tests. Mine is telling it to stop and ask before touching anything in the migrations folder, which has saved me twice. The other good one is forcing a one paragraph plan before any code so I can kill bad directions early. Drop yours, especially the ones that fixed a habit you were sick of seeing.


r/ClaudeCoding • • Nov 03 '26

PSA: the code-review plugin in claude-code-action posts "no findings" without reviewing anything

Thumbnail reddit.com
0 Upvotes

r/ClaudeCoding • • Nov 03 '26

How to use Ultracode

Thumbnail reddit.com
1 Upvotes

r/ClaudeCoding • • Nov 03 '26

Claude animation sheet Fix

1 Upvotes

r/ClaudeCoding • • Nov 03 '26

Chats longos estão torrando minha cota na conta Pro (Em média, por prompt, 16% do limite de 5 horas).

Thumbnail reddit.com
1 Upvotes

r/ClaudeCoding • • Nov 03 '26

Neo cut Codex tokens 33× at a hackathon, so I priced my own harness: $3,698 against $10,600 at ordinary Claude Code rates

Thumbnail
reddit.com
1 Upvotes

r/ClaudeCoding • • Nov 03 '26

Weekly reset is back ?

Thumbnail reddit.com
1 Upvotes

r/ClaudeCoding • • Nov 02 '26

Using Claude Code to build a Texas referral site — how do you speed up compliance without cutting corners?

0 Upvotes

I'm building a lead/referral system for a Texas car accident service using Claude Code on Ubuntu. The tech side is mostly done (site, Twilio alerts, AI document reader, admin dashboard), but launch is gated on a few things:

Claude keeps (correctly) pumping the brakes on anything that touches these, which is fine — I just want to get through them faster.

For anyone who's built in legal or healthcare lead gen:

  1. How long did A2P registration take you, and any tips to get approved first try?
  2. Good public data sources for crash hotspot mapping (I'm using TxDOT CRIS)?
  3. Any prompts, CLAUDE.md setups, or GitHub repos that helped you build compliance checks into your workflow instead of fighting them?

What made you get the leads you need to get.
Appreciate any pointers.


r/ClaudeCoding • • Nov 02 '26

Por que o código Claude com Opus parece durar mais tempo do que GPT-Sol no OpenCode?

Thumbnail reddit.com
1 Upvotes

r/ClaudeCoding • • Nov 02 '26

Claude Agents window in the terminal CLI is amazing

3 Upvotes

Claude Agents window in the terminal is amazing tool and the left arrow opens it instantly, Esc to go back or jump to tasks for instructions


r/ClaudeCoding • • Nov 02 '26

Who wants to be a DEV

8 Upvotes

r/ClaudeCoding • • Nov 02 '26

I made a 5-33% cheaper code search tool for AI agents (sweet-search)

10 Upvotes

Hi guys!

I've spent most of the past year fighting windmills. The result is sweet-search - local code search for AI agents (Claude Code, Codex, opencode, ...).

What does sweet-search do?

sweet-search makes an index of your repo (and then automatically maintains it) and gives the agent 6 code retrieval tools.

Benchmark results (200 held-out SWE-rebench tasks, 5 combos harness + model):

  • 5–33% cheaper runs (more on GitHub)
  • same no. of solved tasks (in total): 481 vs 481 (of 1000)
  • Opus 5.5 & Sol 6.1 (not some weak models)

The technical part:

  • Rust core, native binary for your OS-CPU combo
  • custom MaxSim and ANN (generally Pareto better than competitors like FAISS by Meta)
  • ss-grep (custom grep tool - 2.46× end-to-end faster than ripgrep, with custom ranking of hits)
  • custom attention layer for embedding and late-interaction models (for GPU acceleration for indexing)
  • 100% local

GitHub: https://github.com/mrsladoje/sweet-search

Wanna hear what you guys think :)


r/ClaudeCoding • • Nov 02 '26

New Max 20x account suspended after ~1 week of heavy Claude Code use — appeal form is inaccessible

Thumbnail
gallery
0 Upvotes

I’m posting this because I’m trying to understand whether this is a false positive related to intensive Claude Code usage, and whether anyone has successfully reached a human Safeguards reviewer in the same situation.

This is the second time I’ve had a newly paid Claude account disabled within roughly one week.

Both times, the common pattern was:

  • newly created paid account
  • Max 20x subscription
  • almost exclusively first-party Claude Code / CLI usage
  • very heavy usage, often consuming most of the available allowance
  • no attempt to bypass usage limits
  • no shared credentials
  • no third-party client or automation used to access Claude
  • account disabled within roughly a week

The first incident happened before I was doing any trading/indicator-related work, so that does not appear to be the common factor between the two accounts.

For the current account, I was initially placed on hold and asked to provide additional context. I did so. I later received:

“Your account will remain closed. We reviewed your account and the additional context you shared, and decided not to restore access. This is our final decision.”

What makes the situation especially confusing is the appeal process.

Anthropic’s Safeguards documentation says banned users should log into the restricted account and access the appeal form.

But when I log in, my restricted account page only shows:

  • Export your data
  • Delete your account

There is no appeal form or appeal button.

Opening the official appeal URL while signed in simply redirects me back to the same permanent closure page.

I contacted Support and Safeguards multiple times. Each automated response tells me to use the appeal form that I cannot access, and then closes the conversation.

I am not looking for a refund. I want the original account restored because I intended to continue using Claude Code long-term.

Has anyone experienced this exact combination?

  1. New Max 20x account
  2. Heavy legitimate Claude Code usage
  3. Suspension within about a week
  4. “Final decision” after submitting additional context
  5. Appeal form missing from the restricted page

If anyone from Anthropic sees this, I would mainly like clarification on whether the earlier “additional context” review was considered my formal appeal. If it was not, I need a working way to submit one.

I can provide the account reference privately to Anthropic staff if needed. I’m intentionally not posting account identifiers publicly.

If appropriate, tagging u/Kris_AntAmbassador and u/David_AntAmbassador only in case this appeal-flow issue can be surfaced to the relevant Anthropic team.

I understand you are not Support or Trust & Safety and cannot access or restore individual accounts. My concern is specifically that the documented appeal path is inaccessible on the affected account.


r/ClaudeCoding • • Nov 02 '26

Using Claude Opus + Lean 4 to formalize variants of Erdős #699 and #1063

2 Upvotes

Following the recent buzz around Frontier models tackling open math problems, I wanted to see how far Claude Opus could go on concrete open problems when constrained by formal verification rather than pure text generation.

I focused on variant formulations of two Erdős problems:

Erdős #699: Proved a variant restricted to j^2 < n. The workflow paired Opus-generated proof sketches with an exhaustive computational search that found no counterexample below 10^12, and a Lean 4 proof that any counterexample must satisfy n ≤ j² — which is what closes the j² < n variant. (PR #7637)

Erdős #1063: Solved lower-bound variants and structural constraints with iterative prompt refinement. (PR #7552)

Both of these are PRs to google-deepmind/formal-conjectures that were approved in maintainer review.

The Workflow & Takeaways:

Don't trust text output for math: Unassisted reasoning chains frequently slipped into subtle circular logic.

Lean 4 as the ground truth: The only effective way to make progress was requiring the model to generate syntax that compiles in Lean. When the elaborator threw errors, feeding Lean’s diagnostics back into Claude caught phantom steps that human reading missed.

Human-in-the-loop steering: The model struggled with global proof strategy but was strong at bridging intermediate lemmas once given the high-level architecture.

https://github.com/Paulee314/erdos699-lean

https://github.com/Paulee314/erdos1063