Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.0.58 ·

Custom API Beta Headers (--betas)

Entry
JSON All of v2.0.58
EntryKind: in v2.0.58,
ChangesSection of the release

What: API key users can now specify custom beta headers to include in API requests via a new CLI option.

How to use:

claude --betas context-1m-2025-08-07

Details:

  • Only available for API key authentication (not web/OAuth)
  • Currently only context-1m-2025-08-07 is in the allowlist
  • Invalid betas trigger warnings but don't fail execution
  • Evidence: wn0() at line 67682, $n0 allowlist at line 67714, CLI option at line 526721 in v2.0.58

See this entry in the whole of v2.0.58 →

Feedback