Indicate whether the streaming API shall be used.
OptionalheadersAdditional HTTP headers sent with every request to the endpoint, e.g. headers required by a gateway in front of the API.
The identifier of the model which will be shown in the UI.
Maximum number of retry attempts when a request fails. Default is 3.
The model ID as used by the Anthropic API.
OptionalreleasedRelease date (ms since epoch) reported by discovery, surfaced as LanguageModelMetaData.released.
OptionalserverResolved default enablement of server-side compaction (global preference folded with the per-provider override). Defaults to disabled when omitted.
OptionalserverResolved default input-token threshold for server-side compaction. undefined preserves the provider default.
OptionalurlThe Anthropic API compatible endpoint where the model is hosted. If not provided the default Anthropic endpoint will be used.
Indicate whether the model supports prompt caching.
The key for the model. If
trueis provided the global Anthropic API key will be used.