Luke Curley

For Claude Code and Codex

Optimize your settings

token-max replays your Claude Code and Codex transcripts, computes the price of different settings, and suggests which ones to change. No recommendations based on vibes, only math.

$ curl -LsSf https://max.kixel.me/run.sh | sh
PS> irm https://max.kixel.me/run.ps1 | iex

It changes nothing without a yes.

token-max doctor --defaults across my hosts, as a new user
$ token-max doctor --defaults --since 2026-10-25 --ssh desktop --ssh fedora --include-local
  Claude Code caches the main conversation for 1h on a Claude plan and 5m on an API key or usage
  credits. Which pays can't be read from the transcripts, so say which to price each profile against
  its own default.
  Nothing is saved; the next run asks again.
  How is ~/.claude paid for? [p]lan, [a]PI key or usage credits, [s]kip: p
  How is ~/.claude-api-credits paid for? [p]lan, [a]PI key or usage credits, [s]kip: a
  How is ~/.claude-personal.merged-20261106 paid for? [p]lan, [a]PI key or usage credits, [s]kip: a

token-max: total over 3 hosts  1,144,077 requests and 163,713,079,606 tokens in 15,909 sessions,
                               ~$65,000 ± $98 at API prices
  Changes offered: ~$4,653/mo ± $19, 7% of these hosts' spend, plus up to ~$10,050/mo ± $29, 15% of
  these hosts' spend, from 3 changes whose saving depends on the default it replaces, plus 1 change
  whose saving was not measured; overlapping changes may save less.

token-max: this host  187,816 requests in 2,406 sessions from 2026-10-25 to 2026-11-23 (29 days),
                      ~$11,365 ± $97 at API prices
  As a user with no settings files would see it (--defaults): every user, project and local settings
  file, T3 Code's settings and the shell's setting variables are pretended away, so each setting is
  at its Claude Code or Codex default and every tool, skill and MCP server is on. Managed and system
  policy still apply.
  Profiles: claude ~/.claude, claude ~/.claude-api-credits, claude
  ~/.claude-personal.merged-20261106, codex ~/.codex, T3 claudeAgent claude (~/.claude), T3
  claude_api_credits claude (~/.claude), T3 codex codex (~/.codex).
  T3 state: "/home/kixelated/.t3/userdata"; read-only consistent SQLite snapshot; allowlisted native
  links and controls only
  T3 coverage: Native terminal suggestions, away summaries, goal check-ins, Codex TUI recaps and
  terminal keepalive guidance do not apply to T3; their native toggles do not control T3 helpers
  T3 coverage: T3 instance opencode (opencode) is unsupported; its spend is excluded
  T3 coverage: T3 instance antigravity (antigravity) is unsupported; its spend is excluded
  T3 unresolved: 20,524 requests: the request predates T3's oldest retained turn item
  T3 unresolved: 9 requests: the subagent's root session has no transcript and no T3 provider thread
  T3 removed: 11,843 requests of instance claude_proxy, no longer in T3's settings: billed, left out
  of every current profile's checks
  T3 removed: 2,448 requests of instance claude_personal, no longer in T3's settings: billed, left
  out of every current profile's checks
  T3 removed: 888 requests of instance claude_local, no longer in T3's settings: billed, left out of
  every current profile's checks
  Dollars are public API prices, not an invoice: the closest public measure of what a request uses
  of a Claude or ChatGPT plan's limits, and what Claude's usage credits bill past them. Nothing was
  changed.
  28,053 Codex requests are priced at an assumed service tier, which their records leave unclear;
  --details shows each tier's cost.
  188 requests have no recorded usage and are left out of comparisons.

  23 changes recommended and 3 worth considering.
  From the defaults, these changes save ~$601/mo ± $3.90, 5% of this host's spend, plus 1 change
  whose saving was not measured; overlapping changes may save less.

  Savings are per 30 days at the window's rate, and costs are totals over the window; each percent
  is of this host's spend over the window, ~$11,365 ± $97, extrapolated from the requests that could
  be priced. A ~ marks a figure extrapolated from the requests that could be priced to those that
  could not, assuming they resemble each other, followed by its 95% margin of error. A tool, skill,
  MCP server or auto memory that was never used is recommended off, and one that cost more than $1
  per use (--max-cost-per-use) is worth considering off.
  Background estimates apply current files to history; historical settings and unrecorded launch
  overrides remain unknown.
  ● change  ● consider  ● keep  ○ no verdict

  CHANGES  biggest saving first ────────────────────────────────────────────────────────────────────
  ● Subagent prompt cache TTL                 5m → 1h            saves  ~$354/mo ± $1.21   3%
    [~/.claude/settings.json]  "subagentPromptCacheTtl": "1h"
  ● Main-agent prompt cache TTL               5m (default) → 1h  saves   $134/mo   1%
    [~/.claude-api-credits/settings.json]  "promptCacheTtl": "1h"
  ● Auto memory                               on → off           saves  ~$40/mo ± $2.57  <1%
    [~/.claude/settings.json]  "autoMemoryEnabled": false
  ● Workflow tool                             on → off           saves  ~$19/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "enableWorkflows": false
  ● ScheduleWakeup tool                       on → off           saves  ~$17/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["ScheduleWakeup"]} (added to the list)
  ● ReportFindings tool                       on → off           saves  ~$8.57/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["ReportFindings"]} (added to the list)
  ● Skill dataviz                             on → typed only    saves  ~$7.79/mo ± $0.03  <1%
    [~/.claude/settings.json]  "skillOverrides": {"dataviz": "user-invocable-only"}
  ● Skill code-review                         on → typed only    saves  ~$4.52/mo ± $0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"code-review": "user-invocable-only"}
  ● Skill update-config                       on → typed only    saves  ~$3.80/mo ± $0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"update-config": "user-invocable-only"}
  ● Skill run                                 on → typed only    saves  ~$1.98/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"run": "user-invocable-only"}
  ● Skill loop                                on → typed only    saves  ~$1.85/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"loop": "user-invocable-only"}
  ● Skill plugin-authoring                    on → typed only    saves  ~$1.43/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"plugin-authoring": "user-invocable-only"}
  ● Skill workflow-authoring                  on → typed only    saves  ~$1.36/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"workflow-authoring": "user-invocable-only"}
  ● Skill keybindings-help                    on → typed only    saves  ~$1.33/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"keybindings-help": "user-invocable-only"}
  ● Skill bump                                on → typed only    saves  ~$1.14/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"bump": "user-invocable-only"}
  ● Skill fewer-permission-prompts            on → typed only    saves  ~$1.03/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"fewer-permission-prompts": "user-invocable-only"}
  ● Skill simplify                            on → typed only    saves  ~$1.01/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"simplify": "user-invocable-only"}
  ● Skill security-review                     on → typed only    saves  ~$0.48/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"security-review": "user-invocable-only"}
  ● Skill init                                on → typed only    saves  ~$0.36/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"init": "user-invocable-only"}
  ● ExitWorktree tool                         on → off           saves  ~$0.07/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["ExitWorktree"]} (added to the list)
  ● NotebookEdit tool                         on → off           saves  ~$0.07/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["NotebookEdit"]} (added to the list)
  ● CronDelete tool                           on → off           saves  ~$0.06/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["CronDelete"]} (added to the list)
  ● EnterPlanMode tool                        on → off           saves  ~$0.06/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["EnterPlanMode"]} (added to the list)
  ● ExitPlanMode tool                         on → off           saves  ~$0.05/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["ExitPlanMode"]} (added to the list)
  ● CronList tool                             on → off           saves  ~$0.05/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["CronList"]} (added to the list)
  ● Bash timeout cap                          10m → 4m           saving not measured
    [~/.claude-personal.merged-20261106/settings.json]  "env": {"BASH_MAX_TIMEOUT_MS": "240000"}

  EVERYTHING ELSE  biggest cost first ──────────────────────────────────────────────────────────────
  … 264 lines on every other setting and feature, cut from this page

  WARNINGS  provider guidance the transcripts cannot price ─────────────────────────────────────────
  Explore subagent [~/.claude/settings.json]: Ran on claude-opus-5-5 and cost ~$24 ± $0.49. On
    claude-haiku-5-5 the same recorded tokens would cost ~$2.59 ± $0.09, assuming the same turns.
    Anthropic's model guide notes that the built-in Explore runs on the session's model, and
    suggests a user agent named Explore with model: haiku to keep exploration cheap.
    https://claude.dev/blog/which-claude-model-should-you-build-with/
  Fable weekly use [~/.claude/settings.json]: Cost $12 over 108 Fable requests. On a Claude Max or
    Ultra plan or a Team or seat-based Enterprise premium seat, Fable models can use up to half the
    weekly usage limit, and use it faster than other models; on Pro or a Team or seat-based
    Enterprise standard seat, they run on usage credits; on usage-based Enterprise, they bill at API
    rates. https://support.claude.com/en/articles/15424964-claude-fable-models-on-your-plan

  Prices: fetched from https://models.dev/api.json (2026-11-23).
  Each line compares one setting with everything else unchanged, so a sum of savings may count the
  same requests twice.
  --details shows the evidence, assumptions and sources behind each line.

token-max: desktop  651,959 requests in 8,278 sessions from 2026-10-25 to 2026-11-23 (29 days),
                    ~$37,094 ± $11 at API prices
  As a user with no settings files would see it (--defaults): every user, project and local settings
  file, T3 Code's settings and the shell's setting variables are pretended away, so each setting is
  at its Claude Code or Codex default and every tool, skill and MCP server is on. Managed and system
  policy still apply.
  Profiles: claude ~/.claude, claude ~/.claude-api-credits, codex ~/.codex, T3 claudeAgent claude
  (~/.claude), T3 codex codex (~/.codex), T3 claude_api_credits claude (~/.claude-api-credits).
  T3 state: "/home/kixelated/.t3/userdata"; read-only consistent SQLite snapshot; allowlisted native
  links and controls only
  T3 coverage: Native terminal suggestions, away summaries, goal check-ins, Codex TUI recaps and
  terminal keepalive guidance do not apply to T3; their native toggles do not control T3 helpers
  T3 coverage: T3 instance opencode (opencode) is unsupported; its spend is excluded
  T3 coverage: T3 instance grok (grok) is unsupported; its spend is excluded
  T3 coverage: T3 instance antigravity (antigravity) is unsupported; its spend is excluded
  T3 unresolved: 80,264 requests: the request predates T3's oldest retained turn item
  T3 unresolved: 195 requests: the subagent's root session has no transcript and no T3 provider
  thread
  T3 removed: 215,051 requests of instance claude_personal, no longer in T3's settings: billed, left
  out of every current profile's checks
  T3 removed: 40,908 requests of instance claude_proxy, no longer in T3's settings: billed, left out
  of every current profile's checks
  T3 removed: 8,244 requests of instance claude_local, no longer in T3's settings: billed, left out
  of every current profile's checks
  Dollars are public API prices, not an invoice: the closest public measure of what a request uses
  of a Claude or ChatGPT plan's limits, and what Claude's usage credits bill past them. Nothing was
  changed.
  21,737 Codex requests are priced at an assumed service tier, which their records leave unclear;
  --details shows each tier's cost.
  5,161 requests have no recorded usage and are left out of comparisons.
  51 unreadable transcript lines in 34 files were skipped. One holds back a recommendation only when
  it names the feature or a tool result in its file has no call; a call cut off before its result
  was written would not show.

  31 changes recommended and 29 worth considering.
  From the defaults, these changes save ~$2,365/mo ± $18, 6% of this host's spend, plus up to
  ~$5,753/mo ± $24, 15% of this host's spend, from 2 changes whose saving depends on the default it
  replaces; overlapping changes may save less.

  Savings are per 30 days at the window's rate, and costs are totals over the window; each percent
  is of desktop's spend over the window, ~$37,094 ± $11, extrapolated from the requests that could
  be priced. A ~ marks a figure extrapolated from the requests that could be priced to those that
  could not, assuming they resemble each other, followed by its 95% margin of error. A tool, skill,
  MCP server or auto memory that was never used is recommended off, and one that cost more than $1
  per use (--max-cost-per-use) is worth considering off.
  Background estimates apply current files to history; historical settings and unrecorded launch
  overrides remain unknown.
  ● change  ● consider  ● keep  ○ no verdict

  CHANGES  biggest saving first ────────────────────────────────────────────────────────────────────
  ● Main-agent prompt cache TTL               unset → 1h         saves up to ~$5,355/mo ± $22  14%
    [~/.claude/settings.json]  "promptCacheTtl": "1h"
  ● Subagent prompt cache TTL                 5m → 1h            saves       ~$1,749/mo ± $16   5%
    [~/.claude/settings.json]  "subagentPromptCacheTtl": "1h"
  ● Main-agent prompt cache TTL               unset → 1h         saves up to ~$398/mo ± $2.13   1%
    [~/.claude-api-credits/settings.json]  "promptCacheTtl": "1h"
  ● Auto memory                               on → off           saves       ~$221/mo ± $1.27   1%
    [~/.claude/settings.json]  "autoMemoryEnabled": false
  ● Workflow tool                             on → off           saves       ~$70/mo ± $0.04  <1%
    [~/.claude/settings.json]  "enableWorkflows": false
  ● ScheduleWakeup tool                       on → off           saves       ~$60/mo ± $0.03  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["ScheduleWakeup"]} (added to the list)
  ● Skill dataviz                             on → typed only    saves       ~$44/mo ± $0.09  <1%
    [~/.claude/settings.json]  "skillOverrides": {"dataviz": "user-invocable-only"}
  ● ReportFindings tool                       on → off           saves       ~$31/mo ± $0.02  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["ReportFindings"]} (added to the list)
  ● Skill code-review                         on → typed only    saves       ~$31/mo ± $0.07  <1%
    [~/.claude/settings.json]  "skillOverrides": {"code-review": "user-invocable-only"}
  ● Skill update-config                       on → typed only    saves       ~$21/mo ± $0.04  <1%
    [~/.claude/settings.json]  "skillOverrides": {"update-config": "user-invocable-only"}
  ● Skill run                                 on → typed only    saves       ~$11/mo ± $0.02  <1%
    [~/.claude/settings.json]  "skillOverrides": {"run": "user-invocable-only"}
  ● MCP tool mcp__t3-code__request_secret     on → off           saves       ~$10/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["mcp__t3-code__request_secret"]} (added to
    the list)
  ● Skill loop                                on → typed only    saves       ~$10/mo ± $0.02  <1%
    [~/.claude/settings.json]  "skillOverrides": {"loop": "user-invocable-only"}
  ● Skill grill                               on → typed only    saves       ~$8.68/mo ± $0.03  <1%
    [~/.claude/settings.json]  "skillOverrides": {"grill": "user-invocable-only"}
  ● Skill plugin-authoring                    on → typed only    saves       ~$8.13/mo ± $0.02  <1%
    [~/.claude/settings.json]  "skillOverrides": {"plugin-authoring": "user-invocable-only"}
  ● Skill workflow-authoring                  on → typed only    saves       ~$7.64/mo ± $0.02  <1%
    [~/.claude/settings.json]  "skillOverrides": {"workflow-authoring": "user-invocable-only"}
  ● Skill bump                                on → typed only    saves       ~$7.55/mo ± $0.02  <1%
    [~/.claude/settings.json]  "skillOverrides": {"bump": "user-invocable-only"}
  ● Skill keybindings-help                    on → typed only    saves       ~$7.52/mo ± $0.02  <1%
    [~/.claude/settings.json]  "skillOverrides": {"keybindings-help": "user-invocable-only"}
  ● Skill peer-review                         on → typed only    saves       ~$6.85/mo ± $0.04  <1%
    [~/.claude/settings.json]  "skillOverrides": {"peer-review": "user-invocable-only"}
  ● Workflow tool                             on → off           saves       ~$6.72/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "enableWorkflows": false
  ● Skill recommended                         on → typed only    saves       ~$6.69/mo ± $0.07  <1%
    [~/.claude/settings.json]  "skillOverrides": {"recommended": "user-invocable-only"}
  ● ScheduleWakeup tool                       on → off           saves       ~$5.93/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "permissions": {"deny": ["ScheduleWakeup"]} (added to the
    list)
  ● Skill fewer-permission-prompts            on → typed only    saves       ~$5.79/mo ± $0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"fewer-permission-prompts": "user-invocable-only"}
  ● Skill simplify                            on → typed only    saves       ~$5.70/mo ± $0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"simplify": "user-invocable-only"}
  ● Skill claude-api                          on → typed only    saves       ~$4.98/mo ± $0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"claude-api": "user-invocable-only"}
  ● Skill dataviz                             on → typed only    saves       ~$3/mo ± $0.02  <1%
    [~/.claude-api-credits/settings.json]  "skillOverrides": {"dataviz": "user-invocable-only"}
  ● ReportFindings tool                       on → off           saves       ~$2.97/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "permissions": {"deny": ["ReportFindings"]} (added to the
    list)
  ● Skill security-review                     on → typed only    saves       ~$2.71/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"security-review": "user-invocable-only"}
  ● Skill init                                on → typed only    saves       ~$2.02/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"init": "user-invocable-only"}
  ● Skill code-review                         on → typed only    saves       ~$1.74/mo ± $0.01  <1%
    [~/.claude-api-credits/settings.json]  "skillOverrides": {"code-review": "user-invocable-only"}
  ● ListAgents tool                           on → off           saves       ~$1.57/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "permissions": {"deny": ["ListAgents"]} (added to the
    list)
  ● Skill update-config                       on → typed only    saves       ~$1.47/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "skillOverrides": {"update-config":
    "user-invocable-only"}
  ● Skill run                                 on → typed only    saves       ~$0.76/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "skillOverrides": {"run": "user-invocable-only"}
  ● Skill loop                                on → typed only    saves       ~$0.71/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "skillOverrides": {"loop": "user-invocable-only"}
  ● Skill plugin-authoring                    on → typed only    saves       ~$0.55/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "skillOverrides": {"plugin-authoring":
    "user-invocable-only"}
  ● Skill workflow-authoring                  on → typed only    saves       ~$0.52/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "skillOverrides": {"workflow-authoring":
    "user-invocable-only"}
  ● Skill keybindings-help                    on → typed only    saves       ~$0.51/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "skillOverrides": {"keybindings-help":
    "user-invocable-only"}
  ● Skill quest-audit                         on → typed only    saves       ~$0.42/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "skillOverrides": {"quest-audit": "user-invocable-only"}
  ● NotebookEdit tool                         on → off           saves       ~$0.40/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["NotebookEdit"]} (added to the list)
  ● Skill fewer-permission-prompts            on → typed only    saves       ~$0.40/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "skillOverrides": {"fewer-permission-prompts":
    "user-invocable-only"}
  ● Skill simplify                            on → typed only    saves       ~$0.39/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "skillOverrides": {"simplify": "user-invocable-only"}
  ● Skill quest-recurring                     on → typed only    saves       ~$0.39/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "skillOverrides": {"quest-recurring":
    "user-invocable-only"}
  ● Skill claude-api                          on → typed only    saves       ~$0.34/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "skillOverrides": {"claude-api": "user-invocable-only"}
  ● Skill quest-export                        on → typed only    saves       ~$0.33/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "skillOverrides": {"quest-export": "user-invocable-only"}
  ● Skill deploy                              on → typed only    saves       ~$0.26/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "skillOverrides": {"deploy": "user-invocable-only"}
  ● EnterPlanMode tool                        on → off           saves       ~$0.23/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["EnterPlanMode"]} (added to the list)
  ● ExitPlanMode tool                         on → off           saves       ~$0.22/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["ExitPlanMode"]} (added to the list)
  ● CronDelete tool                           on → off           saves       ~$0.20/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["CronDelete"]} (added to the list)
  ● Skill security-review                     on → typed only    saves       ~$0.19/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "skillOverrides": {"security-review":
    "user-invocable-only"}
  ● CronList tool                             on → off           saves       ~$0.16/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["CronList"]} (added to the list)
  ● Skill init                                on → typed only    saves       ~$0.14/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "skillOverrides": {"init": "user-invocable-only"}
  ● Skill quest-import                        on → typed only    saves       ~$0.10/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "skillOverrides": {"quest-import": "user-invocable-only"}
  ● Skill quest-delete                        on → typed only    saves       ~$0.07/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "skillOverrides": {"quest-delete": "user-invocable-only"}
  ● NotebookEdit tool                         on → off           saves       ~$0.03/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "permissions": {"deny": ["NotebookEdit"]} (added to the
    list)
  ● EnterPlanMode tool                        on → off           saves       ~$0.03/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "permissions": {"deny": ["EnterPlanMode"]} (added to the
    list)
  ● ExitPlanMode tool                         on → off           saves       ~$0.02/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "permissions": {"deny": ["ExitPlanMode"]} (added to the
    list)
  ● CronCreate tool                           on → off           saves       ~$0.02/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "permissions": {"deny": ["CronCreate"]} (added to the
    list)
  ● CronDelete tool                           on → off           saves       ~$0.02/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "permissions": {"deny": ["CronDelete"]} (added to the
    list)
  ● DesignSync tool                           on → off           saves       ~$0.02/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "permissions": {"deny": ["DesignSync"]} (added to the
    list)
  ● CronList tool                             on → off           saves       ~$0.02/mo ± <$0.01  <1%
    [~/.claude-api-credits/settings.json]  "permissions": {"deny": ["CronList"]} (added to the list)

  EVERYTHING ELSE  biggest cost first ──────────────────────────────────────────────────────────────
  … 398 lines on every other setting and feature, cut from this page

  WARNINGS  provider guidance the transcripts cannot price ─────────────────────────────────────────
  Explore subagent [T3 claude_personal (removed from T3 settings)]: Ran on claude-opus-5-5 (99.3%),
    claude-opus-4-8 (0.6%) and cost ~$83 ± $0.09. On claude-haiku-5-5 the same recorded tokens would
    cost ~$6.49 ± $0.01, assuming the same turns. Anthropic's model guide notes that the built-in
    Explore runs on the session's model, and suggests a user agent named Explore with model: haiku
    to keep exploration cheap. https://claude.dev/blog/which-claude-model-should-you-build-with/
  Explore subagent [T3 claude_proxy (removed from T3 settings)]: Ran on claude-opus-5-5 and cost
    $63. On claude-haiku-5-5 the same recorded tokens would cost $9.39, assuming the same turns.
    Anthropic's model guide notes that the built-in Explore runs on the session's model, and
    suggests a user agent named Explore with model: haiku to keep exploration cheap.
    https://claude.dev/blog/which-claude-model-should-you-build-with/
  Explore subagent [~/.claude-api-credits/settings.json]: Ran on claude-opus-5-5 and cost $5.11. On
    claude-haiku-5-5 the same recorded tokens would cost $0.16, assuming the same turns. Anthropic's
    model guide notes that the built-in Explore runs on the session's model, and suggests a user
    agent named Explore with model: haiku to keep exploration cheap.
    https://claude.dev/blog/which-claude-model-should-you-build-with/
  Fable weekly use [~/.claude/settings.json]: Cost ~$693 ± $2.20 over 4,517 Fable requests. On a
    Claude Max or Ultra plan or a Team or seat-based Enterprise premium seat, Fable models can use
    up to half the weekly usage limit, and use it faster than other models; on Pro or a Team or
    seat-based Enterprise standard seat, they run on usage credits; on usage-based Enterprise, they
    bill at API rates.
    https://support.claude.com/en/articles/15424964-claude-fable-models-on-your-plan

  Prices: fetched from https://models.dev/api.json (2026-11-23).
  Each line compares one setting with everything else unchanged, so a sum of savings may count the
  same requests twice.
  --details shows the evidence, assumptions and sources behind each line.

token-max: fedora  304,302 requests in 5,225 sessions from 2026-10-25 to 2026-11-23 (29 days),
                   ~$16,542 ± $7.05 at API prices
  As a user with no settings files would see it (--defaults): every user, project and local settings
  file, T3 Code's settings and the shell's setting variables are pretended away, so each setting is
  at its Claude Code or Codex default and every tool, skill and MCP server is on. Managed and system
  policy still apply.
  Profiles: claude ~/.claude, codex ~/.codex, T3 claudeAgent claude (~/.claude), T3
  claude_api_credits claude (~/.claude), T3 codex codex (~/.codex).
  T3 state: "/home/kixelated/.t3/userdata"; read-only consistent SQLite snapshot; allowlisted native
  links and controls only
  T3 coverage: Native terminal suggestions, away summaries, goal check-ins, Codex TUI recaps and
  terminal keepalive guidance do not apply to T3; their native toggles do not control T3 helpers
  T3 coverage: T3 instance opencode (opencode) is unsupported; its spend is excluded
  T3 coverage: T3 instance antigravity (antigravity) is unsupported; its spend is excluded
  T3 unresolved: 36 requests: the subagent's root session has no transcript and no T3 provider
  thread
  T3 removed: 5,311 requests of instance claude_local, no longer in T3's settings: billed, left out
  of every current profile's checks
  Dollars are public API prices, not an invoice: the closest public measure of what a request uses
  of a Claude or ChatGPT plan's limits, and what Claude's usage credits bill past them. Nothing was
  changed.
  47,085 Codex requests are priced at an assumed service tier, which their records leave unclear;
  --details shows each tier's cost.
  1,995 requests have no recorded usage and are left out of comparisons.
  12 unreadable transcript lines in 10 files were skipped. One holds back a recommendation only when
  it names the feature or a tool result in its file has no call; a call cut off before its result
  was written would not show.

  22 changes recommended and 7 worth considering.
  From the defaults, these changes save ~$1,687/mo ± $4.85, 10% of this host's spend, plus up to
  ~$4,297/mo ± $17, 25% of this host's spend, from 1 change whose saving depends on the default it
  replaces; overlapping changes may save less.

  Savings are per 30 days at the window's rate, and costs are totals over the window; each percent
  is of fedora's spend over the window, ~$16,542 ± $7.05, extrapolated from the requests that could
  be priced. A ~ marks a figure extrapolated from the requests that could be priced to those that
  could not, assuming they resemble each other, followed by its 95% margin of error. A tool, skill,
  MCP server or auto memory that was never used is recommended off, and one that cost more than $1
  per use (--max-cost-per-use) is worth considering off.
  Background estimates apply current files to history; historical settings and unrecorded launch
  overrides remain unknown.
  ● change  ● consider  ● keep  ○ no verdict

  CHANGES  biggest saving first ────────────────────────────────────────────────────────────────────
  ● Main-agent prompt cache TTL               unset → 1h         saves up to ~$4,297/mo ± $17  25%
    [~/.claude/settings.json]  "promptCacheTtl": "1h"
  ● Subagent prompt cache TTL                 5m → 1h            saves       ~$1,330/mo ± $2.51   8%
    [~/.claude/settings.json]  "subagentPromptCacheTtl": "1h"
  ● Workflow tool                             on → off           saves       ~$61/mo ± $0.02  <1%
    [~/.claude/settings.json]  "enableWorkflows": false
  ● Auto memory                               on → off           saves       ~$53/mo ± $2.08  <1%
    [~/.claude/settings.json]  "autoMemoryEnabled": false
  ● ScheduleWakeup tool                       on → off           saves       ~$52/mo ± $0.02  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["ScheduleWakeup"]} (added to the list)
  ● Skill dataviz                             on → typed only    saves       ~$37/mo ± $0.05  <1%
    [~/.claude/settings.json]  "skillOverrides": {"dataviz": "user-invocable-only"}
  ● ReportFindings tool                       on → off           saves       ~$27/mo ± $0.01  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["ReportFindings"]} (added to the list)
  ● Skill code-review                         on → typed only    saves       ~$22/mo ± $0.03  <1%
    [~/.claude/settings.json]  "skillOverrides": {"code-review": "user-invocable-only"}
  ● Skill update-config                       on → typed only    saves       ~$18/mo ± $0.03  <1%
    [~/.claude/settings.json]  "skillOverrides": {"update-config": "user-invocable-only"}
  ● MCP tool mcp__t3-code__request_secret     on → off           saves       ~$16/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["mcp__t3-code__request_secret"]} (added to
    the list)
  ● Skill run                                 on → typed only    saves       ~$9.44/mo ± $0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"run": "user-invocable-only"}
  ● Skill loop                                on → typed only    saves       ~$8.82/mo ± $0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"loop": "user-invocable-only"}
  ● Skill plugin-authoring                    on → typed only    saves       ~$6.95/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"plugin-authoring": "user-invocable-only"}
  ● Skill clean                               on → typed only    saves       ~$6.84/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"clean": "user-invocable-only"}
  ● Skill workflow-authoring                  on → typed only    saves       ~$6.46/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"workflow-authoring": "user-invocable-only"}
  ● Skill keybindings-help                    on → typed only    saves       ~$6.36/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"keybindings-help": "user-invocable-only"}
  ● Skill bump                                on → typed only    saves       ~$5.43/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"bump": "user-invocable-only"}
  ● Skill fewer-permission-prompts            on → typed only    saves       ~$4.90/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"fewer-permission-prompts": "user-invocable-only"}
  ● Skill simplify                            on → typed only    saves       ~$4.82/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"simplify": "user-invocable-only"}
  ● Skill claude-api                          on → typed only    saves       ~$4.20/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"claude-api": "user-invocable-only"}
  ● Skill security-review                     on → typed only    saves       ~$2.31/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"security-review": "user-invocable-only"}
  ● Skill init                                on → typed only    saves       ~$1.72/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "skillOverrides": {"init": "user-invocable-only"}
  ● EnterWorktree tool                        on → off           saves       ~$0.35/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["EnterWorktree"]} (added to the list)
  ● ExitWorktree tool                         on → off           saves       ~$0.32/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["ExitWorktree"]} (added to the list)
  ● NotebookEdit tool                         on → off           saves       ~$0.32/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["NotebookEdit"]} (added to the list)
  ● EnterPlanMode tool                        on → off           saves       ~$0.20/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["EnterPlanMode"]} (added to the list)
  ● ExitPlanMode tool                         on → off           saves       ~$0.19/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["ExitPlanMode"]} (added to the list)
  ● CronDelete tool                           on → off           saves       ~$0.18/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["CronDelete"]} (added to the list)
  ● CronList tool                             on → off           saves       ~$0.15/mo ± <$0.01  <1%
    [~/.claude/settings.json]  "permissions": {"deny": ["CronList"]} (added to the list)

  EVERYTHING ELSE  biggest cost first ──────────────────────────────────────────────────────────────
  … 223 lines on every other setting and feature, cut from this page

  WARNINGS  provider guidance the transcripts cannot price ─────────────────────────────────────────
  Explore subagent [~/.claude/settings.json]: Ran on claude-opus-5-5 (99.8%), claude-haiku-5-5
    (0.1%) and cost $81. On claude-haiku-5-5 the same recorded tokens would cost $8.81, assuming the
    same turns. Anthropic's model guide notes that the built-in Explore runs on the session's model,
    and suggests a user agent named Explore with model: haiku to keep exploration cheap.
    https://claude.dev/blog/which-claude-model-should-you-build-with/
  Explore subagent [T3 claude_local (removed from T3 settings)]: Ran on claude-opus-5-5 and cost
    $3.08. On claude-haiku-5-5 the same recorded tokens would cost $0.38, assuming the same turns.
    Anthropic's model guide notes that the built-in Explore runs on the session's model, and
    suggests a user agent named Explore with model: haiku to keep exploration cheap.
    https://claude.dev/blog/which-claude-model-should-you-build-with/
  Fable weekly use [~/.claude/settings.json]: Cost ~$788 ± $3.18 over 5,175 Fable requests. On a
    Claude Max or Ultra plan or a Team or seat-based Enterprise premium seat, Fable models can use
    up to half the weekly usage limit, and use it faster than other models; on Pro or a Team or
    seat-based Enterprise standard seat, they run on usage credits; on usage-based Enterprise, they
    bill at API rates.
    https://support.claude.com/en/articles/15424964-claude-fable-models-on-your-plan

  Prices: fetched from https://models.dev/api.json (2026-11-23).
  Each line compares one setting with everything else unchanged, so a sum of savings may count the
  same requests twice.
  --details shows the evidence, assumptions and sources behind each line.

For example, on my devices across the last 30 days:

Yes i do a lot of vibe coding

163.7 billion tokens in 1,144,077 requests on 3 machines

On my subscription

7%

less of my usage limits, so they last longer

If I paid API rates

28%

saved, ~$18,571/mo (hell no)

Where it comes from, at API rates

  1. Main-agent prompt cache TTL API only~$14,215/mo
  2. Subagent prompt cache TTL~$3,432/mo
  3. Auto memory~$315/mo
  4. Workflow tool~$157/mo
  5. ScheduleWakeup tool~$135/mo
  6. Everything else (37 settings)~$318/mo

saves on my subscription toosaves only at API rates

Replayed at public API prices on 3 of my machines on 2026-11-22, each change priced alone, so together they may save less. ~ marks figures extrapolated over unpriced requests.

How it knows

  1. 01

    Read

    Claude Code, Codex and T3 Code record each request's token counts. token-max streams them a line at a time and keeps the counts, times and IDs, never a prompt or a reply.

  2. 02

    Replay

    For every request it rebuilds what was cached, when it was written and whether it had expired by the next one, then plays the same sessions again under the other setting.

  3. 03

    Price

    At public API prices from models.dev, its only network request. What it can't price stays unknown, never zero. Then it offers each change, shows the edit and backs the file up first, unless git already holds it.