Analysis and Solutions for Claude Code System Prompt Excessive Memory Usage

Claude Code users have discovered that the System prompt occupies over 20K of space during usage, causing rapid consumption of API usage. Users compared performance across different environments: when opened in WSL (v2.0.54), the memory usage was high, while in the Windows native application in the same directory (v2.0.74), it occupied less than 3K. Users are asking about the specific contents of the System prompt and the reasons for this discrepancy. This issue reflects the optimization needs of AI tools in practical use and serves as a valuable reference for other Claude Code users. Currently, no relevant information has been found in official documentation, requiring further community discussion to find solutions.

Original link:Linux.do

C code80.ai · AI 编码 API 聚合 Claude / GPT 多模型统一接入,稳定不限速,按量计费,几行配置接入 Claude Code。 了解一下 ›

抢沙发

评论前必须登录!

立即登录   注册