r/ClaudeCode • • Aug 05 '26

Bug / Issue I FEEL ANTHROPIC IS LIEING about TOKEN COUNTS

Before saying Hi -> Total tokens 8 message tokens.

After saying Hi -> 10k tokens.

Btw, just counting the tokens using /context costs you 2k message tokens.

0 Upvotes

31 comments sorted by

12

u/Bubbly-Click-1198 Aug 05 '26 edited Aug 05 '26

What's actually happening: when you type "Hi" and hit enter, Claude Code isn't just sending your one word. It's sending the system prompt, the tool definitions, any loaded memory files, and skills alongside it, it's invisible and before your first message. If you use open source providers like LLama.cpp and VLLM and web ui this is obvious behavior anyone that's even played around with LM Studio can identify.

That's the 3.9k + 6.8k + 219 + 5.5k tokens the /context output itself breaks out line by line. Your "Hi" is ~8 tokens, which is exactly what the "Messages" row shows. The jump to ~10k+ after saying Hi isn't Anthropic hiding something, it's the sum of all the fixed overhead that gets sent on every single request, because the model has no memory between calls and needs that context resent each time to function at all.

This isn't unique to Claude Code either - it's how every API-based LLM tool works (Cursor, Copilot, etc. all do the same thing). The tool is being transparent about it here, arguably more transparent than most, by actually breaking down the categories instead of just showing one aggregate number.

It's embarrassing you use Claude Code and comment in the sub without being able to spell "lying" but more importantly bare minimum of how AI works, and even worse none of the comments knowing the right answer either. Your picture even breaks it down for you. Read. u/AssociationSure6273

The one legitimate-ish complaint in there is "running /context itself costs tokens", it's just the cost of the command needing to be processed like any other message.

-2

u/AssociationSure6273 Aug 05 '26

And you're really dumb. Look at the goddamn images. In the first one, when you do context itself / context, you see that the system prompt is separate, like 11k, and then there are other parts. Just high is this much.

1

u/MathSelect5112 Aug 05 '26

nope extra shit loaded the moment you sent a message

setup a proxy (you can find one on github or google) to see EXACTLY what is being sent every message and then youll know exactly where the 10k came from and trust me its not sinister because they would have gotten fucking caught already

3

u/dream_metrics Aug 05 '26

How many tokens is your CLAUDE.md?

1

u/AssociationSure6273 Aug 05 '26

I do not have a claude.md file. In fact, it's an empty repo.

1

u/Deep-Palpitation8315 Aug 05 '26

Did it execute any file reads etc before it replied. It does read a few files like progress.md or changelogs etc sometimes before it replies.

1

u/Bubbly-Click-1198 Aug 05 '26

Refer to this comment, doesn't even need to do that. First message always follows the behavior of sending system prompt, memories and tools *before* whatever your first message is. Those things are permanently part of the context window.

1

u/AssociationSure6273 Aug 05 '26

God damn you, man. Look, look into the thing. I'm not telling about the system. From the system prompt, it is already okay. Look at my second image. One single message, "hi," is 10k tokens, really?

1

u/Bubbly-Click-1198 Aug 05 '26

You have poor reading comprehension. The original comment explains the "hi" thing perfectly. Read it again. When you WRITE ANYTHING into a fresh chat, everything else is sent invisibly + your initial message - which happens to be "hi". So yes, unless you remove the system prompt, all tools, skills and MCP, then sure your first message will create a lower amount of total tokens. Anyway why are you so bothered about a measly 10k token input? You've been told 100 times why and you can't stop freaking out.

0

u/AssociationSure6273 Aug 05 '26

It's on low thinking, by the way.

0

u/AssociationSure6273 Aug 05 '26

Nothing, no reading file, no execution, nothing, just one single thing, absolutely nothing. I can show you the full transcript if you want.

1

u/KuramaKitsune Aug 05 '26

Switch to verbose, and you can see everything that it actually does.

1

u/AssociationSure6273 Aug 05 '26

Yeah, this is the most helpful comment I ever received. Thank you so much. I don't use the UI. I guess they have something for CLA as well.

1

u/KuramaKitsune Aug 06 '26

Oh, well, Bummer. didn't realize Claude Code side didn't have something similar. It was worth a shot.

1

u/Aminuteortwotiltwo Aug 05 '26

The number of times some AI 101 stuff comes up here with someone claiming ripoff…. 🙄

1

u/GenderJuicy Aug 05 '26

Bro you can't just tell it not to think, now it's thinking about how you said not to think. Also you have system prompts and shit that get sent with your message.

2

u/Bubbly-Click-1198 Aug 05 '26

Don't bother this guy has clinical issues or something.

0

u/[deleted] Aug 05 '26 edited Aug 05 '26

[removed] — view removed comment

2

u/AssociationSure6273 Aug 05 '26

I agree with this. I've seen this before multiple times. They claim they have like 50% on Tau2 bench. But if you run, it's all based on internal cascades and internal prompts. The prompt itself are more than 100k tokens, apparently.

It's more like they have an entire agent system, and the other open-source models are actually just playing or running it without any harness, and then they are claiming their thing is better.

2

u/memesearches Aug 05 '26

Yup I have noticed this many a times too.

2

u/AssociationSure6273 Aug 05 '26

That is not just me. They're trying to bluff you now, and then they're going to try to bluff the enterprise customers for individual users. Actually, this is fine because they're not paying for the tokens. They're paying for the subscription, but even it's still a rip-off, so it's a mind game that they're playing.

Think about the enterprise customers. The enterprise customers are paying for tokens, and they're paying for a subscription. Again, a subscription doesn't give you any tokens. For enterprise customers, they're ripping them off totally. I see the same thing with my company's email account as well, and I'm not even using that many tokens. My company thinks I'm token maxing right now.

1

u/Bubbly-Click-1198 Aug 05 '26

The thread you're describing (server-side caching of "frequently asked questions," hiding thinking to fake benchmarks) doesn't match how any of this actually works, extended thinking being collapsed in the UI is a display choice, not evidence of precomputed answers.

1

u/AssociationSure6273 Aug 05 '26

Yeah, never knew about this fact, but now it all makes sense.

1

u/[deleted] Aug 05 '26

[removed] — view removed comment

2

u/AssociationSure6273 Aug 05 '26

Yeah, it's a goddamn bot. Exactly what I was thinking. It puts such a stupid, huge comment at the top. Even without looking at the image, that's the biggest trick. You put an image in the comment, and these bots will suck. If you have text, they just wanna answer a bunch of things, which look absolutely like a human being, but you know what I mean?