diff --git a/providers/anthropic.toml b/providers/anthropic.toml index 38b69c7..a05d71a 100644 --- a/providers/anthropic.toml +++ b/providers/anthropic.toml @@ -1,5 +1,5 @@ # Anthropic — https://anthropic.com -# Models: 6 +# Models: 7 [provider] id = "anthropic" @@ -8,11 +8,17 @@ api_key_env = "ANTHROPIC_API_KEY" base_url = "https://api.anthropic.com" key_required = true +# Source for model metadata: +# https://platform.claude.com/docs/en/docs/about-claude/models/overview +# Keep entries ordered with the currently-promoted "latest" at the top so the +# `opus` / `claude-opus` / `sonnet` / etc. aliases resolve to the current +# flagship and not a previous-generation snapshot. + [[models]] -id = "claude-opus-4-6" -display_name = "Claude Opus 4.6" +id = "claude-opus-4-7" +display_name = "Claude Opus 4.7" tier = "frontier" -context_window = 200000 +context_window = 1000000 max_output_tokens = 128000 input_cost_per_m = 5.0 output_cost_per_m = 25.0 @@ -22,6 +28,20 @@ supports_streaming = true supports_thinking = true aliases = ["opus", "claude-opus"] +[[models]] +id = "claude-opus-4-6" +display_name = "Claude Opus 4.6" +tier = "frontier" +context_window = 1000000 +max_output_tokens = 128000 +input_cost_per_m = 5.0 +output_cost_per_m = 25.0 +supports_tools = true +supports_vision = true +supports_streaming = true +supports_thinking = true +aliases = [] + [[models]] id = "claude-sonnet-4-6" display_name = "Claude Sonnet 4.6"