How They Use AI  |  Newest

<< Home  |  Tech

Saved 14,000 tokens per turn via config change

AreaTech
AI usedClaude Code
Sourcer/ClaudeCode
Posted2026-04-05

The move

Enable deferred tool loading in your settings to prevent unnecessary context bloat.

Steps

  1. Open your Claude Code settings.json file.
  2. Add the line "ENABLE_TOOL_SEARCH": "true" within the env object.
  3. Restart your Claude Code session to apply the changes.
  4. Run the /context command to verify the reduction in starting token usage.

Prompt for your AI

Analyze my current Claude Code session context and identify which tool schemas or memory files are consuming the most tokens that I am not actively using.

What happened

The user discovered that Claude Code was consuming excessive tokens by loading all tool schemas into context at session start. By enabling the 'ENABLE_TOOL_SEARCH' setting, they reduced starting context from 45k to 20k tokens. This simple configuration change saved thousands of tokens on every turn, preventing unnecessary rate limit hits and costs.

Watch out

Enabling deferred tool loading may slightly increase latency for the first time a specific tool is called in a session. Ensure your settings.json syntax is valid to avoid configuration errors.

Give it to your agent

Read https://howtheyuse.ai/p/saved-14-000-tokens-per-turn-via-config-change.md and help me do this.

Sources



Last updated November 26, 2026.