⌨️ANTHROPIC_BETAS
Also known as ANTHROPIC_BETAS environment variable, anthropic-beta header
It turns on API betas for each request.
Think of it like
It is like you ask to try a new ride early.
Example
Lucy wants to try a new API beta on her Max plan. The --betas flag needs an API key, so she sets ANTHROPIC_BETAS instead.
Why it matters
You can try a new API feature the day it ships, without waiting for an update.
Definition
Example code
bash
export ANTHROPIC_BETAS="new-feature-2026-01-01"
claudeCommon mistake
Key takeaways
- 1Comma list. anthropic-beta values.
- 2Every request. Every session.
- 3Any sign-in. Unlike --betas.