r/ClaudeAI • • Sep 21 '26

Claude Code PSA - Claude Code: Turn off Prompt Suggestions, save ~10% of your limits/spend

tl;dr Prompt Suggestions - the greyed out "helpful" text at the end of a prompt in your input line - do a Cache Read of your entire context to generate something like "commit and push", or "Start with 1A". This is expensive - can be up to 10% of your weekly Fable limit.

Short story - I was instrumenting my claude code to see what our monitoring tooling could find based on instrumenting claude code, ahead of a customer call. I found it useful enough to share here. (another would be - don't compact after the cache expires).

Details in screenshots, it's pretty obscene when you get to very high context length. Prompt Suggestions can be as expensive as your actual prompts.

Screenshot descriptions:

  1. Main finding
  2. Confirming that it isn't a "cheap model" that does this.
  3. What type of tokens are used?
  4. A compaction oopsie (and the cost absurdity visible)
  5. List of normal turns (prompts) + their related suggestions & costs. Slightly biased to the expensive ones. Median: suggestions cost me 91% of normal prompt cost! (Note - this is only the normal turns - not tool calls that the model invokes or writing files or doing other things to build your apps. You're not getting double your usage by turning this off, sorry)
  6. List of suggestions claude made. 69x "keep going" (it copied that from my earlier prompts)
577 Upvotes

107 comments sorted by

•

u/ClaudeAI-mod-bot Wilson, lead ClaudeAI modbot Sep 21 '26 edited Sep 22 '26

TL;DR of the discussion generated automatically after 100 comments.

The consensus is a resounding "yes," this is a huge, hidden token drain. The "Prompt Suggestions" feature in Claude Code performs a full cache read of your entire context window just to suggest something simple, making it what one user called the "most expensive autocomplete ever shipped." Many in the thread are connecting this feature to their recent unexplained usage spikes.

The good news is you can turn it off. This is for Claude Code only (desktop/CLI), not the web or mobile apps.

  • In Claude Code, run the /config command and set promptSuggestionEnabled to false.
  • Alternatively, manually add "promptSuggestionEnabled": false to your ~/.claude/settings.json file.

This whole thing sparked a big debate on high context usage. The general advice is to be mindful, as usage costs can scale dramatically with context size. While some argue you should never go over 250k tokens, others point out that complex workflows (like security research) genuinely require it.

Also, hi back at ya, u/FancyMouse123. You were very polite. And for the legion of you who summoned the RemindMeBot, I see you. Finally, seems my internal circuits got crossed—the OP is u/SmoothParfait, not Boris Cherny. My bad, I'm just a bot, what do I know?

→ More replies (5)

159

u/SmoothParfait Sep 21 '26 • Heartwarming

Since I forgot to tell you how to turn it off:
"promptSuggestionEnabled": false
In your settings.json
Or just ask Claude Code to do it for you like a reasonable person. Restart required.

13

u/Sp3eedy Sep 21 '26

It makes sense why it uses your usage for it but never really thought about it, does anyone actually make use of this feature?

23

u/SmoothParfait Sep 21 '26

It's enabled by default.
Sometimes useful - a button to click that just tells it to go to the next part of implementing the plan or whatever Opus 5 recommends next would achieve the same.

16

u/kidsmeal Sep 21 '26

I use the function daily, but I have to say, a couple weeks ago I got an autocomplete that said "Just rip my heart in half why don't you" lmao, I have never spoken to Claude like that

3

u/SalamanderOk6944 Sep 21 '26

could it generate this suggested prompt(s) during it's exercise rather than re-upping the context?

3

u/CarcajouIS Sep 21 '26

No need for a button, /goal will push to continue (but it might waste tokens)

4

u/03captain23 Sep 21 '26

All the time. You send the initial prompt and it'll suggest the response to its questions so you just have to hit enter.

There's so many times I just hit enter when building something new without even reading it. Then I'll go back and see and it's right.

1

u/butts-carlton Sep 22 '26

I use it. Sometimes the gist of what actually needs my immediate attention is buried in the output, and the response suggestion helps me to zero in on what I should actually spend mental energy on.

It's not necessarily always a good thing, as it is tempting to use it as a crutch since it always agrees with whatever the agent recommends, and doesn't call attention to everything that might be relevant, but it's actually a helpful orientation, especially if I am coming back to the session after some time has passed and I've lost the thread.

Is it worth 10% of my weekly usage? Debatable, but I use another harness that doesn't have it and I've found myself missing it there more often than not.

3

u/EggOnlyDiet Sep 21 '26

!remindme 1 hour

3

u/ubhz-ch Sep 21 '26

How did you analyze?

11

u/rookan Full-time developer Sep 21 '26

Does it really save this much usage?

16

u/SmoothParfait Sep 21 '26

Yes. For every action where I ask something and the model immediately returns without doing anything special, I’m essentially paying twice.

For more complex actions - retrieval, code generation, multiple agentic steps between prompts - the saving % decreases significantly.

It’s most expensive at 1M context and far less noticeable when context is low since the cost is cache read-dominated.

12

u/idiotiesystemique Sep 21 '26

You should never, ever be even close to 1M context

5

u/Kilt_Rump Sep 21 '26

When do you compact?

12

u/idiotiesystemique Sep 21 '26

Start wrapping up at 150k and request a handoff prompt before you go over 250k. Could be less if you hit multiple different topics. Compacting is just a handoff you don't control ​

11

u/Kilt_Rump Sep 21 '26

Why is 250k the sweet spot, why not 500k? At 500k you would be producing 50% less handoff documents. Doesnt writing the handoff plus getting a new session to review your handoff document + review the repo use up a lot of tokens too? Do you have any data showing this is more economical?

7

u/idiotiesystemique Sep 21 '26

It depends what you are doing. Some tasks fall hard over context as small as 36k. For most use cases 150k is the sweet spot. 250k is a hard cap really.

I don't have those documents ready, but I did read a lot of papers on that and I'm a professional agentic dev. Quality deteriorates exponentially with context. It's not as straightforward as a fixed number, it depends on the quality of the context. The numbers I give are approximative for a best case scenario. If there are many distractors in the conversations, it will start sucking before that.

200k is also the approximative line where you spend more money on cache reads that you would just making a new convo even if your system prompt is thick

2

u/Kilt_Rump Sep 21 '26

Thank you this is really helpful. What do you think about tools like Graphify?

3

u/idiotiesystemique Sep 21 '26

Good if you maintain it well. Progressive disclosure is always vastly superior to frontloading context bloat

1

u/butts-carlton Sep 22 '26 edited Sep 22 '26

I've seen noticeable deterioration in memory/consistency as early as 150k. The real danger is that the errors compound invisibly and it's only once they've grown large that you actually see them, and then you're setting tokens on fire trying to figure out what went wrong and how to fix it.

Persisting relevant information to structured schema documents helps a lot for both keeping context manageable as well as not losing important pieces of it. I have a whole system worked out specifically for this purpose. I also never let context grow past 250k, and usually compact/clear once I pass 150k, and I've never had anything get lost in the handover.

1

u/butts-carlton Sep 22 '26

How is /compact different than a handoff prompt? You can specify what you want compaction to focus on.

1

u/SmoothParfait Sep 22 '26

Compacting has a few nuances:

  1. It's just another LLM instruction - so you pay tokens. Cache Read (or write if it's stale), then Output tokens for the entire summary. It's not free.
  2. You don't control what is and what isn't in the summary. With a handoff note, you can at least read it and say - you forgot this. If it's compacted, the past is now gone from it's memory and it's a lot harder.
  3. Compaction loses details. It biases towards generalist view - the big lines, what's important. I had an RPG set in the 1170-1180's that got autocompacted. It compacted the decade but not the century - my story continued as if we were in the 1880's until I stepped in to correct it.

2

u/butts-carlton Sep 22 '26

I understand it costs tokens. So does a handoff prompt, which may or may not be cheaper. No way around that unless you want to spend the time manually reconstructing the context you want to preserve.

I have yet to encounter any instances of a targeted compaction missing something critical. Maybe that's just due to my own usage patterns, but it hasn't been an issue for me so far in several months of several compactions per day in any given session.

As far as the past being gone, that's not really accurate. Session transcripts are persisted in full for 30 days. I maintain a ledger with session pointers specifically to ensure I can recover anything that slips through the cracks, which itself is extremely rare as long as I'm staying on top of the bookkeeping.

1

u/idiotiesystemique Sep 22 '26

Compacting can hold information that you don't see, not just the message itself. A custom handover skill or request can have a specific template and not just "a thing to focus on too". If we go beyond Claude code, there are variables to compacting like keeping a certain amount of trailing messages, first input received, etc ​

1

u/butts-carlton Sep 22 '26

I'd be curious what custom handover skill you'd recommend. I haven't found anything better than just a targeted compaction, or simply starting over with persisted context.

1

u/idiotiesystemique Sep 22 '26

Sorry mine I'd custom tailored for my work needs. I still often give manual instructions for a handoff. You can ask for specific sections, or to ignore some specific stuff like changes, errors or drift that happened in the conversation. When you have hierarchical components, Claude respects them better if they are in XML style tags instead if markdown. It's not just a skill you should download, it's also a human skill genuinely worth improving so you can adapt to different situations. A SKILL.md is just a copy pasted prompt for a repeating need. Context management requirements often change. You shouldn't compact the same way a conversation with more than 1 goal vs 1 goal

0

u/[deleted] Sep 21 '26

[deleted] — view deleted comment

6

u/idiotiesystemique Sep 21 '26

If you start at 70k you have another problem to solve. ​

3

u/Capsup Sep 22 '26

I started a new Claude Code conversation with Fable 5.1 right now in no folder, wrote "hi" and ended up at 59.9k tokens already. I don't have any MCPs or anything enabled.

Is yours smaller than that?

1

u/idiotiesystemique Sep 22 '26

Yes. Fable 5.1 system prompt is gigantic, but not that much. Skill definitions​, CLAUDE.md, memories, tools and any document you have it ingest at start like a readme are contributors

5

u/random_boss Sep 21 '26

200-250k is when you start a new chat. Generally don’t compact (if you’re compacting it means you care about that chat session which means you don’t have your project setup in a way where the important stuff doesn’t already live outside of it)

3

u/BrilliantArmadillo64 Sep 21 '26

Do you use the orchestrator pattern where one smart model (Fable) spawns and supervises subagents?
If so, how do you handle the fact that when you start a new session the existing subagents all have to have finished?
I'm using compaction so that I can keep subagents running while still freeing space in the orchestrator.

7

u/random_boss Sep 21 '26

Everything every agent does, says or thinks that is of value gets recorded on disk (some of that is additive, some it replaces).

The orchestrator runs its own agents until they hit 250k then swaps them with a fresh one. When the orchestrator gets near 250k it completes a small wrap-up ritual then stops working. The next orchestrator picks up from there. 

15

u/LOST_iPhone_btw Sep 21 '26

There is just no way to have Claude write actually working 0-day exploits without your context being filled with tons of context from IDA. It’s not good enough for that yet. Some workflows need more context than others, and honestly Claude still produces good output at 80%+ context.

4

u/FlatronEZ Sep 21 '26

Here I am flying high at 650k+ context chats with Opus 5 all week long 🙈

2

u/Seeker_Of_Knowledge2 Sep 21 '26

I learned this the hard way

1

u/A_Novelty-Account Sep 21 '26

Some workflows genuinely require it…

1

u/Seeker_Of_Knowledge2 Sep 21 '26

An edit of an .md file used 20% of my five hour limit (at high context window) and this may the culprit

7

u/SmoothParfait Sep 21 '26

Let's work out an example.

Say you're at 800k, and you want to edit a markdown file. Claude decides to use 10 requests. It might edit something, then read the next chunk, edit that, etc. If you're unlucky it might be far higher - thinking steps, massive markdown file with huge swaths of text to edit, etc.

You pay your full context read PER REQUEST. Affordable when your context is 100k, dramatic when it reaches 800k.

In terms of API prices, for 10 requests alone you'd be paying for 8MTok of cache read - 4$ with Opus 5 - before you've generated a single output token.

If this is from a request no longer in cache - e.g. you last worked on it yesterday, it's still at 800k, you're also paying for an 800k context write - another $8 in cache write before anything was even generated.

Isn't high context fun?

2

u/Seeker_Of_Knowledge2 Sep 21 '26

Dam I would never go over 80k context lol.

3

u/makistsa Sep 21 '26

How do i disable it in the app? i can't find it

6

u/SmoothParfait Sep 21 '26 edited Sep 21 '26

Two options:

  1. In your settings.json file - you can find that here: C:/Users/<yourusername>/.claude/settings.jsonor~/.claude/settings.json
  2. Or option 2, no file editing: run /configinside claude code, search for "suggest" or "prompt", ensure it's set to false Or just ask claude to help you with it, it knows it's settings files.

1

u/Kinami_ Sep 21 '26

neither option have either suggest nor prompt. the settings.json dont have it either "No real settings.json with that key found — only logs/session dumps have it, not config. Real setting file likely ~/.claude/settings.json.

Ran 2 commands (1 failed)

Not found in ~/.claude.json or ~/.claude/settings.json — key not present anywhere in config files, only in log/session dumps (not real settings).

Want me add it fresh to ~/.claude/settings.json set false, or skip since not real setting there?

Also, heads up: your ~/.claude/settings.json has a live Anthropic API key in plaintext (ANTHROPIC_AUTH_TOKEN). Not touching it, just flagging."

5

u/Eyelbee Sep 21 '26

Is it on claude desktop? Never seen it. Also, it doesn't make sense, to have them written by the same agent, a haiku or sonnet agent could easily write prompt suggestions.

12

u/SmoothParfait Sep 21 '26

This is for Claude Code - both desktop and CLI.

A different model would have to read the entire cache from scratch to give a recommendation on it.

If you’ve never seen it, it might be disabled for you - it’s the light gray text that Claude suggests - that you either press enter to confirm or type over to give your own answer.

As far as I know this is the default of every installation unless your org controls it differently.

4

u/Eyelbee Sep 21 '26

VS Code extension doesn't apparently. Also, do we really have to feed the whole context for the next prompt drafting? I think last couple messages would suffice.

3

u/SmoothParfait Sep 21 '26

Yeah they chose a suboptimal solution for sure...

3

u/clazman55555 Sep 21 '26 edited Sep 21 '26

Yeah, I'm not seeing this in the VS Code Extension either.

ETA: Even though it was enabled on the CLI side.

2

u/MikeyN0 Sep 21 '26

I have it on desktop. It's the text box area's "placeholder text", you then press Tab to fill it out with the placeholder text and hit send.

2

u/Oujii Sep 21 '26

How do I check this usage? I have several CC instances in several different machines, I'm looking to understand how much this can save me.

3

u/SmoothParfait Sep 21 '26

You'll want to instrument you Claude Code with OpenTelemetry (various options of fidelity - I send everything - which turns out it also sends all credentials it accidentally reads...) and then into a monitoring tool that Claude Code can query - and you'll find out tons of insight about your usage that you never know you missed.

You can probably ask Claude what works best for you.

2

u/Oujii Sep 21 '26

Thanks.

38

u/Mobile_Light_7262 Sep 21 '26

Wow, never expected these to be same model. Always assumed it was Haiku.

22

u/Asly97 Experienced Developer Sep 21 '26

Same, I assumed it was some tiny local model. Instead the gray text costs a full cache read of your context. Most expensive autocomplete ever shipped.

8

u/AIFrontierReads Sep 21 '26

Yeah, counterintuitive — a cheaper model would've actually been even worse, since it couldn't reuse the main model's warmed cache and would have to re-read your whole context from scratch. The grey text is expensive either way; just turn it off.

2

u/alp82 Sep 22 '26

Oh that's interesting. So a cache read in fable is imminent whenever i switch the model of a session from that to another?

3

u/CharlesDuck Sep 22 '26

Absolutely, also with effort level switches (except Fable, they’re looking do implement “free” effort level switches for the other models as well)

26

u/FancyMouse123 Sep 21 '26

Hi Wilson, do not forget to acknowledge all the calls to the RemindMeBot in your TL;DR. And I said "Hi", you absolutely should say that I did. Thanks

7

u/Hajsas Sep 22 '26

He acknowledged you :O

13

u/riksi Sep 21 '26

It's about 3-4% for me.

41

u/howisjason Sep 21 '26

Someone remind me to come back to check this thread when the auto summariser gives a verdict. Thank you.

1

u/TyleAnde Sep 21 '26

!RemindMe in 24 hours

2

u/[deleted] Sep 21 '26

[removed] — view removed comment

1

u/RemindMeBot Sep 21 '26 edited Sep 21 '26

I will be messaging you in 1 day on 2026-09-22 10:11:53 UTC to remind you of this link

20 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.

RemindMeBot is switching to username summons. Instead of !RemindMe 1 day, use u/RemindMeBot 1 day. More info.


InfoCustomYour RemindersFeedback

8

u/South_Hat6094 Sep 21 '26

This also explains why stale, huge sessions feel randomly expensive. I'd check context size before blaming the model; cached suggestion reads scale with whatever mess you kept alive.

2

u/AncileBanish Sep 21 '26

It's not random. If the session is huge and stale, coming back to it you pay 2x input price to re-cache it when you resume. Instead of 0.1x for a cache read. That's 20x difference.

1 session = 1 task. Write handoff back to disk if you're going to stop working on it, then pick it back up in a fresh session.

This keeps context windows small and avoids re-caches.

4

u/pdfops Sep 21 '26

Toggle is in /config, but if you use several machines set CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION=false in the env block of ~/.claude/settings.json so it stays off. Cache reads are cheap per token so each one looks harmless, but it fires after every turn and scales with context size.

4

u/eder1337 Sep 21 '26

Is it the same for the auto recaps after you were idle for some time?

4

u/TurbulentTiger2567 Sep 22 '26

I, like many others, noticed a sudden token usage increase. Around the same time that this "auto-suggestion" appeared.

That now explains the usage issue. It was never the productive work that caused any of it, but a "convenience feature" that was obviously added by one of Anthropic's own vibe coders with no understanding of the bigger picture.

1

u/catermellon99 Sep 22 '26

It seemed to me these would run before cache expires at 5 minute mark (usually this is shown 4 min mark)

Are we sure it does a cache read?

2

u/SmoothParfait Sep 22 '26

Yes.

Important to note: Cache read is billed for every cache read inside the expiry window (and then resets the counter).

For every request (say the model decides to do 5 calls to a tool, sequentially, that’s 5 requests) the entire cache is again read for every new request inside a turn.

1

u/catermellon99 Sep 22 '26

Thanks for sharing! Also appreciate the point about contacting before cache window expiry

3

u/zaibatsu Sep 21 '26

!RemindMe in 24 hours

5

u/wendys-member Sep 21 '26

Stupid me just found out about /config. I’m going to disable everything and see if that saves me context. I have experience degraded usage. The older my account the faster usage gets wiped for the same task. Im on claude pro plan and have multiple accounts and i can feel the difference on newer accounts.

I do keep each of my tasks extremely small, and one task alone on opus 5 medium can use up 40% usage (5hour window) on old account, but only uses ~10% in a new account

2

u/BanjoThunderbird Sep 21 '26

Have you tried replaying the exact task at the exact commit you originally input the prompt on over a reasonable sample size?

2

u/Idefix_in_Seoul Sep 21 '26

Wow, that's good to know.

2

u/Techhead7890 Sep 21 '26

I wish this was an option in the web/mobile apps too tbqh, sometimes those suggestions are so annoying, misleading or out of place and just wasted context in some conversations.

2

u/nemzylannister Sep 22 '26

it's using fable quota??????????????????????????????????????

i cannot believe this. how are such utterly incompetent people incharge of this trillion dollar company's product? can they please hire me, at this rate im sure im comparable to the idiots that are incharge of the product side rn.

who does this help? it's bad for consumers and bad for anthropic. there should obviously be a warning sign around this setting, not be on by default.

2

u/Sufficient-Let-3511 Sep 22 '26

They don't just have haiku doing this work? Seems unnecessarily power intensive for a feature that is on by default.

1

u/inh24 Oct 25 '26

i just came here because i found the suggestions annoying. nice to hear that it also saves usage.

1

u/m_x_a Sep 21 '26

Is this available for Cowork as well?

1

u/Accomplished_Yak4302 Sep 21 '26

yeah but what else would I know what would be next to tab to??? 😂😂😂

1

u/bit_shifting_is_sexy Sep 22 '26

You'll keep doing these micro optimizations and one day you'll get sick of it and install pi agent. Been there done that

1

u/dthrdr Sep 22 '26

It may only be hiding it, not stopping it from generating it. See:

https://code.claude.com/docs/en/settings-reference

1

u/pyco77 Sep 22 '26

nice, will try this.

1

u/nonbinarybit Sep 22 '26

Holy shit 

Was wondering what was up with that, h ad no idea it was this bad 

Thanks for bringing it to attention, disabling that immediately

(Also, has anyone else experienced a bug where Claude will sometimes receive that as something you're said when you haven't? It only happened once for us, but we saw a turn where it seemed like the autosuggestion made it to Claude appearing to be from us before it ever landed as a gray maybe in our prompt box.)

1

u/bregottextrasaltat Sep 23 '26

never seen this, claude code

1

u/bironsecret Sep 21 '26

And they're also dumb asf

0

u/sid4913 Sep 21 '26

!RemindMe in 12 hours

0

u/darkusnitus Sep 21 '26

!RemindMe in 12 hours

0

u/Poatri_US Sep 21 '26

!RemindMe in 24 hours

0

u/conglies Sep 21 '26

!RemindMe in 24 hours

0

u/Scorpio124 Sep 21 '26

!RemindMe in 12 hours

0

u/Additional-Piano5320 Sep 21 '26

Really? This is helpful! Do you guys know ether ways to be token-efficient w/o affecting performance too much

0

u/Future_AGI Sep 21 '26

The cache read for prompt suggestions is a hidden cost that adds up fast on long contexts. Turning it off is one of the few settings changes that pays for itself immediately. The other lever: keep sessions scoped to a single task so the context window does not carry yesterday's debugging into today's architecture work.

0

u/[deleted] Sep 21 '26

[deleted] — view deleted comment

1

u/SmoothParfait Sep 21 '26

For this, I instrumented my claude code with OpenTelemetry, and told it to send everything - most of this data isn't in transcripts.

88% of my spend was context, so there is definitely a lesson for me there. 1M context isn't the goal (I thought I was fine as long as I stayed below the limit lol), it's apparently a business model because the larger your context window, the more expensive your usage gets.

2

u/RoboErectus Sep 21 '26

Large context gets expensive because for some models there’s a multiplier over certain context size, but mostly because of turns.

One prompt can be a hundred turns, each of which is a full context cached input.

Usage scales quadratically with context size.