Skip to content

Instantly share code, notes, and snippets.

@clonn
Last active December 20, 2025 15:26
Show Gist options
  • Select an option

  • Save clonn/174f229c624f045470b61f6c22f41e8f to your computer and use it in GitHub Desktop.

Select an option

Save clonn/174f229c624f045470b61f6c22f41e8f to your computer and use it in GitHub Desktop.
claude code to max token setup
# https://github.com/anthropics/claude-code/issues/4002
# Error: File content (28375 tokens) exceeds maximum allowed tokens (25000).
# You have to prepare to max account before
export CLAUDE_CODE_MAX_OUTPUT_TOKENS=100000
export MAX_MCP_OUTPUT_TOKENS=1000000
# 設定之後再重新跑 claude code
# After configuring the settings, rerun Claude Code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment