This article details experiments with Claude Code 2.1.285 to understand its token usage in initial requests. When run in an empty directory, the default request consumes 23,207 tokens, but this can be reduced to 2,664 tokens by using specific flags like --strict-mcp-config and --tools "". The study found that user settings, including memory plugins and synced tools from a claude.ai account, significantly contribute to the initial token count, even when not directly present in the lab directory. AI
IMPACT Understanding token usage and configuration flags for tools like Claude Code is crucial for optimizing AI application development and cost management.
RANK_REASON The article details the technical performance and configuration of a specific software tool (Claude Code), rather than a new release or significant industry event.
Read on dev.to — Claude Code tag →
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →