Fix AnyAPI provider: correct model names and add 150+ models#2942
Open
es697 wants to merge 3 commits into
Open
Fix AnyAPI provider: correct model names and add 150+ models#2942es697 wants to merge 3 commits into
es697 wants to merge 3 commits into
Conversation
- Fix model names to match anyapi-models.json (dots instead of dashes) - Fix provider directory prefixes: xai->x-ai, mistral->mistralai, zai->z-ai - Add 150+ new models across 17 providers - Validated with bun validate
9b3be3b to
029624e
Compare
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.
Fixes model names in the AnyAPI provider to match anyapi-models.json and adds 150+ new models.
Changes
claude-opus-4.7notclaude-opus-4-7)xai→x-ai,mistral→mistralai,zai→z-aibase_model. Cost fields are omitted as AnyAPI uses a credit-based pricing system.Models (180 total)
Fixed (original 30): anthropic (claude), cohere, deepseek, google (gemini), mistralai, openai (gpt, o-series), perplexity, x-ai (grok)
Added: meta-llama (llama-3.3, llama-4), qwen (qwen3, qwen3.5, qwen3.6, qwen3.7), z-ai (glm-4.5..5.2), nvidia (nemotron-3), moonshotai (kimi-k2), stepfun, xiaomi, tencent, plus extended openai, anthropic, google, cohere, deepseek, perplexity catalogs
Validated locally with
bun validate.