chore: prune deprecated models across providers (#75)

* 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.
This commit is contained in:
Evan authored and GitHub committed 2026-04-27 09:36:43 +09:00
1 parent 98ae51444f
commit 541052dc79
27 files changed
+41 -1180

No files matched your search

+1 -160
View File
@@ -1,5 +1,5 @@
# OpenRouter — https://openrouter.ai
# Models: 18 (10 paid + 8 free)
# Models: 38
[provider]
id = "openrouter"
@@ -39,33 +39,6 @@ supports_streaming = true
supports_thinking = true
aliases = []
[[models]]
id = "openrouter/anthropic/claude-sonnet-4"
display_name = "Claude Sonnet 4 (OpenRouter)"
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 = []
[[models]]
id = "openrouter/openai/gpt-4o"
display_name = "GPT-4o (OpenRouter)"
tier = "smart"
context_window = 128000
max_output_tokens = 16384
input_cost_per_m = 2.5
output_cost_per_m = 10.0
supports_tools = true
supports_vision = true
supports_streaming = true
aliases = []
[[models]]
id = "openrouter/deepseek/deepseek-chat"
display_name = "DeepSeek V3 (OpenRouter)"
@@ -79,32 +52,6 @@ supports_vision = false
supports_streaming = true
aliases = []
[[models]]
id = "openrouter/meta-llama/llama-3.3-70b-instruct"
display_name = "Llama 3.3 70B (OpenRouter)"
tier = "balanced"
context_window = 128000
max_output_tokens = 32768
input_cost_per_m = 0.39
output_cost_per_m = 0.39
supports_tools = true
supports_vision = false
supports_streaming = true
aliases = []
[[models]]
id = "openrouter/qwen/qwen-2.5-72b-instruct"
display_name = "Qwen 2.5 72B (OpenRouter)"
tier = "balanced"
context_window = 128000
max_output_tokens = 32768
input_cost_per_m = 0.36
output_cost_per_m = 0.36
supports_tools = true
supports_vision = false
supports_streaming = true
aliases = []
[[models]]
id = "openrouter/google/gemini-2.5-pro"
display_name = "Gemini 2.5 Pro (OpenRouter)"
@@ -132,19 +79,6 @@ supports_vision = false
supports_streaming = true
aliases = []
[[models]]
id = "openrouter/google/gemma-2-9b-it"
display_name = "Gemma 2 9B (OpenRouter)"
tier = "fast"
context_window = 8192
max_output_tokens = 4096
input_cost_per_m = 0.03
output_cost_per_m = 0.09
supports_tools = false
supports_vision = false
supports_streaming = true
aliases = []
[[models]]
id = "openrouter/deepseek/deepseek-r1"
display_name = "DeepSeek R1 (OpenRouter)"
@@ -244,19 +178,6 @@ supports_vision = false
supports_streaming = true
aliases = []
[[models]]
id = "openrouter/meta-llama/llama-3.2-3b-instruct:free"
display_name = "Llama 3.2 3B Free (OpenRouter)"
tier = "fast"
context_window = 131072
max_output_tokens = 4096
input_cost_per_m = 0.0
output_cost_per_m = 0.0
supports_tools = false
supports_vision = false
supports_streaming = true
aliases = []
[[models]]
id = "openrouter/ai21/jamba-large-1.7"
display_name = "AI21: Jamba Large 1.7 (OpenRouter)"
@@ -277,16 +198,6 @@ input_cost_per_m = 0.09
output_cost_per_m = 0.45
supports_streaming = true
[[models]]
id = "openrouter/allenai/olmo-3-32b-think"
display_name = "AllenAI: Olmo 3 32B Think (OpenRouter)"
tier = "fast"
context_window = 65536
max_output_tokens = 65536
input_cost_per_m = 0.15
output_cost_per_m = 0.5
supports_streaming = true
[[models]]
id = "openrouter/allenai/olmo-3.1-32b-instruct"
display_name = "AllenAI: Olmo 3.1 32B Instruct (OpenRouter)"
@@ -307,16 +218,6 @@ input_cost_per_m = 0.3
output_cost_per_m = 2.5
supports_streaming = true
[[models]]
id = "openrouter/amazon/nova-lite-v1"
display_name = "Amazon: Nova Lite 1.0 (OpenRouter)"
tier = "fast"
context_window = 300000
max_output_tokens = 5120
input_cost_per_m = 0.06
output_cost_per_m = 0.24
supports_streaming = true
[[models]]
id = "openrouter/amazon/nova-micro-v1"
display_name = "Amazon: Nova Micro 1.0 (OpenRouter)"
@@ -417,16 +318,6 @@ input_cost_per_m = 2.5
output_cost_per_m = 10.0
supports_streaming = true
[[models]]
id = "openrouter/liquid/lfm-2-24b-a2b"
display_name = "LiquidAI: LFM2-24B-A2B (OpenRouter)"
tier = "fast"
context_window = 32768
max_output_tokens = 8192
input_cost_per_m = 0.03
output_cost_per_m = 0.12
supports_streaming = true
[[models]]
id = "openrouter/liquid/lfm-2.5-1.2b-instruct:free"
display_name = "LiquidAI: LFM2.5-1.2B-Instruct (free) (OpenRouter)"
@@ -457,46 +348,6 @@ input_cost_per_m = 0.135
output_cost_per_m = 0.5
supports_streaming = true
[[models]]
id = "openrouter/nousresearch/hermes-2-pro-llama-3-8b"
display_name = "NousResearch: Hermes 2 Pro - Llama-3 8B (OpenRouter)"
tier = "fast"
context_window = 8192
max_output_tokens = 8192
input_cost_per_m = 0.14
output_cost_per_m = 0.14
supports_streaming = true
[[models]]
id = "openrouter/nousresearch/hermes-3-llama-3.1-405b"
display_name = "Nous: Hermes 3 405B Instruct (OpenRouter)"
tier = "smart"
context_window = 131072
max_output_tokens = 16384
input_cost_per_m = 1.0
output_cost_per_m = 1.0
supports_streaming = true
[[models]]
id = "openrouter/nousresearch/hermes-3-llama-3.1-405b:free"
display_name = "Nous: Hermes 3 405B Instruct (free) (OpenRouter)"
tier = "fast"
context_window = 131072
max_output_tokens = 16384
input_cost_per_m = 0.0
output_cost_per_m = 0.0
supports_streaming = true
[[models]]
id = "openrouter/nousresearch/hermes-3-llama-3.1-70b"
display_name = "Nous: Hermes 3 70B Instruct (OpenRouter)"
tier = "fast"
context_window = 131072
max_output_tokens = 16384
input_cost_per_m = 0.3
output_cost_per_m = 0.3
supports_streaming = true
[[models]]
id = "openrouter/nousresearch/hermes-4-405b"
display_name = "Nous: Hermes 4 405B (OpenRouter)"
@@ -527,16 +378,6 @@ input_cost_per_m = 0.2
output_cost_per_m = 1.1
supports_streaming = true
[[models]]
id = "openrouter/rekaai/reka-edge"
display_name = "Reka Edge (OpenRouter)"
tier = "fast"
context_window = 16384
max_output_tokens = 16384
input_cost_per_m = 0.1
output_cost_per_m = 0.1
supports_streaming = true
[[models]]
id = "openrouter/rekaai/reka-flash-3"
display_name = "Reka Flash 3 (OpenRouter)"