The only considerable issue with Claude Code is it's price 😅

Status Fixed / completed
Maintainer reply ✓ Yes — bcherny
Activity 9 comments · opened Feb 26, 2025 · closed Feb 26, 2025
💡 Likely answer: A maintainer (bcherny, collaborator) responded on this thread — see the highlighted reply below.

~$2/minute, 28k/month is insane

View original on GitHub ↗

9 Comments

ViezeVingertjes · 1 year ago

Math isn't mathing, but sounds like youre not using prompt caching etc?

chad-fossa · 1 year ago

How do you use prompt caching with claude code?

devjerry0 · 1 year ago

@chad-fossa it's enabled by default
DISABLE_PROMPT_CACHING=0 to have it enabled and 1 to disable
aws bedrock has it in preview

chad-fossa · 1 year ago

Got it, thank you

On Wed, Feb 26, 2025, 13:36 Jerry @.***> wrote:

@chad-fossa <https://github.com/chad-fossa> it's enabled by default DISABLE_PROMPT_CACHING=0 to have it enabled and 1 to disable aws bedrock has it in preview — Reply to this email directly, view it on GitHub <https://github.com/anthropics/claude-code/issues/129#issuecomment-2685877627>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BGRID57EOQDJO7TE3IRSXI32RYCRPAVCNFSM6AAAAABX44Q6I6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOBVHA3TONRSG4> . You are receiving this because you were mentioned.Message ID: @.***> [image: devjerry0]devjerry0 left a comment (anthropics/claude-code#129) <https://github.com/anthropics/claude-code/issues/129#issuecomment-2685877627> @chad-fossa <https://github.com/chad-fossa> it's enabled by default DISABLE_PROMPT_CACHING=0 to have it enabled and 1 to disable aws bedrock has it in preview — Reply to this email directly, view it on GitHub <https://github.com/anthropics/claude-code/issues/129#issuecomment-2685877627>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BGRID57EOQDJO7TE3IRSXI32RYCRPAVCNFSM6AAAAABX44Q6I6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOBVHA3TONRSG4> . You are receiving this because you were mentioned.Message ID: @.***>
bcherny collaborator · 1 year ago

Er, sorry not quite. Prompt caching is enabled by default, and you can opt out with DISABLE_PROMPT_CACHING=0. We do not recommend that because Code will become suuuper slow.

Claude Code is expensive, and may get more expensive. We also want to make it very capable, to make the cost worth it. We know that isn't for everyone!

chad-fossa · 1 year ago

Sounds like cost management is out of scope LOL

ReyNeill · 1 year ago
Er, sorry not quite. Prompt caching is enabled by default, and you can opt out with DISABLE_PROMPT_CACHING=0. We do not recommend that because Code will become suuuper slow. Claude Code is expensive, and may get more expensive. We also want to make it very capable, to make the cost worth it. We know that isn't for everyone!

Interesting, so the cost is in red or even. An increase of capability and decrease of inference cost is what we hope so.

Price increase -> Capability increase -> Price decrease

gerrywastaken · 1 year ago

Relevant: https://github.com/anthropics/claude-code/issues/203#issue-2885312232

We could apparently be saving 14% on those tokens

cc: @ReyNeill @bcherny

github-actions[bot] · 1 year ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.