Expand description
Curated list of Claude models known to work with this CLI. Centralized so the settings dropdown, defaults, and subagent hints agree.
Constants§
- DEFAULT_
LEGACY_ ADAPTIVE_ FALLBACK - Default legacy-model thinking budget used when the “adaptive” sentinel (0) leaks into the non-adaptive request path. Matches the “high” tier.
- KNOWN_
MODELS
Functions§
- context_
window_ for_ model - Returns the input context window size for a given model, in tokens. Used as the denominator for the chatui context-usage bar and anywhere else the client needs to know how much prompt the model will accept.
- default_
model - effort_
for_ thinking_ level - Maps a SynapsCLI thinking level to an Anthropic
effortvalue for models that use adaptive thinking (Opus 4.6+/Sonnet 4.6+). Effort controls thinking depth whenbudget_tokensis unavailable/deprecated. - model_
supports_ 1m - Returns true for models that support opting into the 1M context window
via the
context-1m-2025-08-07beta header. - model_
supports_ adaptive_ thinking - Returns true for models that support (and require) adaptive thinking:
thinking: {type: "adaptive"}with NObudget_tokensfield. - thinking_
level_ for_ budget - Maps a raw
thinking_budgetvalue to the user-facing level name.