* chore: prune deprecated models across providers Remove old-generation models that are strictly superseded by current versions on the same provider/family. Affected providers: anthropic, bedrock, vertex-ai, xai, moonshot, zhipu, baichuan, stepfun, volcengine, minimax, cohere, together, fireworks, deepinfra, openrouter. Also clean up orphan aliases (grok3, grok-mini, minimax-m2.1) and remap moonshot alias to kimi-k2.5. Net: -42 model entries across 18 files. Provider model counts and README rows updated accordingly. * chore: remove redundant and orphan aliases from aliases.toml Provider TOML files auto-register their model.aliases at load time, so re-declaring them globally is duplication. Also drop entries pointing to models that no longer exist after the prune. - 45 redundant entries duplicating provider-defined aliases - 11 orphan targets (gpt-4o, gpt-4o-mini, grok-2-mini, grok-3, mixtral-8x7b-32768, copilot/gpt-4, open-mistral-nemo, pixtral-large-latest, jamba-1.5-large, palmyra-x5, venice-uncensored) Net: 100 lines down to 21. The file is now what the header comment always claimed it was: 'additional global aliases not tied to a specific model entry.' * chore: second pass — prune more deprecated models Apply the same 'strictly superseded by same-provider/family successor' rule to providers missed in the first pass: - openai: gpt-4.1 / -mini / -nano, o3, o4-mini (5) - meta-llama: llama-3.3-70b-instruct (1) - zhipu: glm-4v-plus (1) - together: Llama-3.3-70B-Instruct-Turbo (1) - xiaomi: mimo-v2-flash / -omni / -pro (3) - aion-labs: aion-1.0 / -mini (2) - qianfan: ernie-speed-128k, ernie-4.0-turbo-8k (2) - cerebras: cerebras/llama3.1-8b (1) - qwen-code: qwen-code/qwq-32b (1) - nvidia-nim: 12 models (llama-3.1/3.2 series, mixtral-8x22b, mistral-small-3.1, phi-4-mini, qwq-32b, r1-distill-32b, qwen2.5-coder, nemotron-mini-4b, nemotron-70b-instruct) - openrouter: meta-llama/llama-3.3-70b (paid), rekaai/reka-edge (2) - alibaba-coding-plan: qwen3.5-plus, qwen3-max-2026-01-23, MiniMax-M2.5, kimi-k2.5 (4) Net: -35 model entries. providers/README.md model counts updated. 220 models remain.
86 lines
2.0 KiB
TOML
86 lines
2.0 KiB
TOML
# Anthropic — https://anthropic.com
|
|
# Models: 5
|
|
|
|
[provider]
|
|
id = "anthropic"
|
|
display_name = "Anthropic"
|
|
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-7"
|
|
display_name = "Claude Opus 4.7"
|
|
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 = ["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"
|
|
tier = "smart"
|
|
context_window = 200000
|
|
max_output_tokens = 64000
|
|
input_cost_per_m = 3.0
|
|
output_cost_per_m = 15.0
|
|
supports_tools = true
|
|
supports_vision = true
|
|
supports_streaming = true
|
|
supports_thinking = true
|
|
aliases = ["sonnet", "claude-sonnet"]
|
|
|
|
[[models]]
|
|
id = "claude-haiku-4-5-20251001"
|
|
display_name = "Claude Haiku 4.5"
|
|
tier = "fast"
|
|
context_window = 200000
|
|
max_output_tokens = 8192
|
|
input_cost_per_m = 0.25
|
|
output_cost_per_m = 1.25
|
|
supports_tools = true
|
|
supports_vision = true
|
|
supports_streaming = true
|
|
supports_thinking = true
|
|
aliases = ["haiku", "claude-haiku"]
|
|
|
|
[[models]]
|
|
id = "claude-sonnet-4-5-20250514"
|
|
display_name = "Claude Sonnet 4.5"
|
|
tier = "smart"
|
|
context_window = 200000
|
|
max_output_tokens = 64000
|
|
input_cost_per_m = 3.0
|
|
output_cost_per_m = 15.0
|
|
supports_tools = true
|
|
supports_vision = true
|
|
supports_streaming = true
|
|
supports_thinking = true
|
|
aliases = []
|