You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: CLAUDE_CODE_ENTRYPOINT=t3-code makes Claude auto mode use the billed local classifier #34562
T3 sets CLAUDE_CODE_ENTRYPOINT=t3-code for Claude sessions (mergeClaudeProcessEnvironment). With that value, Claude Code doesn't use auto mode's server-side safety check, which doesn't charge for classifier overhead. Instead it sends a separate claude-sonnet-5 classifier request for every tool call. Each request carries about 140K characters of classifier prompt. They bill to the user's account but don't appear in session transcripts. On my account this added tens of millions of Sonnet 5 tokens after I switched to T3.
A/B test, Claude Code 2.1.322 run directly in a terminal with the same settings and credential, only the entrypoint changed, a few Bash calls in auto mode with --debug:
CLAUDE_CODE_ENTRYPOINT
[auto-mode] new action being classified lines
cli
0
sdk-ts
0
t3-code
1 per tool call (classifierChars≈139,700)
Fix: leave the SDK's default entrypoint (sdk-ts) alone, or get t3-code onto Anthropic's list of entrypoints that get the server-side check. CLAUDE_CODE_ENTRYPOINT_ON_REQUESTS doesn't work as an attribution workaround, because Claude Code reads it only when the entrypoint is claude-desktop-3p. CLAUDE_CODE_AUTO_MODE_MODEL doesn't work either: Claude Code ignores claude-sonnet-5-5 and keeps Sonnet 5.
Workaround: set CLAUDE_CODE_ENTRYPOINT to sdk-ts in the env block of ~/.claude/settings.json. T3 reads it in mergeClaudeProcessEnvironment.
Activity
Warn against setting CLAUDE_CODE_ENTRYPOINT for Claude processes (#1981)