chore: refresh seeded AI model catalog (Google/Anthropic/OpenAI) - #419
Merged
Conversation
added 4 commits
July 21, 2026 01:20
…d current models Google: drop gemini-2.0-flash-001 / gemini-2.0-flash-lite-preview (shut down 2026-06-01); add gemini-3.5-flash, gemini-3.1-pro-preview, gemini-3.1-flash-lite, gemini-3-flash-preview, gemini-3.1-flash-image, gemini-embedding-001/2. Anthropic: drop claude-2 and claude-opus-4.1 (deprecated); add claude-fable-5, claude-opus-4.8, claude-sonnet-5. OpenAI: drop gpt-3.5-turbo, gpt-4-turbo, gpt-4o, gpt-4.1-nano, o1-preview, o1-mini, dall-e-3, gpt-image-1 (all deprecated); add gpt-5.6-sol/terra/luna, gpt-5.5, gpt-5.4(-mini/-nano), gpt-5.2, gpt-image-2. OpenRouter: drop google/gemini-2.0-flash-exp:free.
Anthropic: drop claude-sonnet-4.5, claude-opus-4, claude-opus-4.5, claude-3.7-sonnet, claude-3.5-sonnet, claude-3.5-haiku, claude-sonnet-4-20250514 (all legacy generations; current set is fable-5 / opus-4.8 / sonnet-5 / haiku-4.5). Google: drop gemini-3-pro-preview (superseded by gemini-3.1-pro-preview). OpenAI: drop gpt-4.1, gpt-4.1-mini. OpenRouter: drop openai/gpt-4.1-mini, openai/gpt-4.1-nano, anthropic/claude-4.5-sonnet-20250929.
…hips deepseek-v4-pro/flash, z-ai/glm-5.2, moonshotai/kimi-k3 + kimi-k2.7, minimax-m3 + m2.7, microsoft/phi-4, google/gemma-4-31b-it, qwen3.7-max + qwen3.6-plus (kept deepseek-chat-v3.x, qwen3-vl/coder, minimax-m2).
… free ids Verified against the live OpenRouter /api/v1/models catalog (2026-07-20): - Added all 14 current ':free' models (gemma-4 x2, gpt-oss-20b, nemotron x7, cohere north-mini-code, poolside laguna x2, tencent hy3). - Removed stale ids that no longer exist: qwen/qwen3-coder:free → qwen/qwen3-coder, google/gemma-3-27b-it:free → google/gemma-3-27b-it. The ':free' suffix stays inside model_name — it is both the free label and the exact id litellm needs, so huf calls keep working unchanged.
esafwan
marked this pull request as ready for review
July 26, 2026 23:19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Refreshes
create_demo_ai_models()inhuf/install.pyagainst the providers' current model lineups (July 2026) — deprecated and legacy-but-still-available models pruned, OpenRouter open-weight lineup expanded.Google
gemini-2.0-flash-001,gemini-2.0-flash-lite-preview(deprecated, shut down 2026-06-01),gemini-3-pro-preview(superseded by 3.1)gemini-3.5-flash,gemini-3.1-pro-preview,gemini-3.1-flash-lite,gemini-3-flash-preview,gemini-3.1-flash-image(Nano Banana 2),gemini-embedding-001,gemini-embedding-2Anthropic
claude-2,claude-opus-4.1(deprecated), plus legacy:claude-sonnet-4.5,claude-opus-4,claude-opus-4.5,claude-3.7-sonnet,claude-3.5-sonnet,claude-3.5-haiku,claude-sonnet-4-20250514claude-fable-5,claude-opus-4.8,claude-sonnet-5(keptclaude-haiku-4.5— current)OpenAI
gpt-3.5-turbo,gpt-4-turbo,gpt-4o,gpt-4.1-nano,o1-preview,o1-mini,dall-e-3,gpt-image-1(deprecated), plus legacy:gpt-4.1,gpt-4.1-minigpt-5.6-sol/gpt-5.6-terra/gpt-5.6-luna,gpt-5.5,gpt-5.4/gpt-5.4-mini/gpt-5.4-nano,gpt-5.2,gpt-image-2OpenRouter
google/gemini-2.0-flash-exp:free,openai/gpt-4.1-mini,openai/gpt-4.1-nano,anthropic/claude-4.5-sonnet-20250929:freetier models, verified live against openrouter.ai/api/v1/models (2026-07-20): gemma-4-31b/26b, gpt-oss-20b, nemotron-3 x7, cohere north-mini-code, poolside laguna x2, tencent hy3. The:freesuffix stays inmodel_name— it is both the free label and the exact id litellm routes with.qwen/qwen3-coder:free→qwen/qwen3-coder,google/gemma-3-27b-it:free→google/gemma-3-27b-itdeepseek/deepseek-v4-pro+deepseek-v4-flash,z-ai/glm-5.2,moonshotai/kimi-k3+kimi-k2.7,minimax/minimax-m3+m2.7,microsoft/phi-4,google/gemma-4-31b-it,qwen/qwen3.7-max+qwen3.6-plusNotes