anthropic constant
ProviderPreset
const anthropic
Implementation
static const anthropic = ProviderPreset(
id: 'anthropic',
name: 'Anthropic (Claude)',
protocol: ProviderProtocol.anthropic,
baseUrl: 'https://api.anthropic.com/v1',
requiresApiKey: true,
suggestedModels: [
'claude-opus-5-5',
'claude-sonnet-5-5',
'claude-haiku-5-5',
],
apiKeyUrl: 'https://platform.claude.com/settings/keys',
note:
'Current Claude models think before answering: allow at least a '
'few thousand max tokens.',
);