GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — feat: add LLM Gateway models and providers by steebchen · Pull Request #698 · anomalyco/models.dev Conversation
Contributor
SummaryThis PR adds model data sourced from LLM Gateway, an OpenAI-compatible API gateway supporting 40+ LLM providers. New Providers (7)
New Models (72 across 17 providers)
Test plan
🤖 Generated with Claude Code
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
3 tasks done
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pull request overviewThis PR integrates a large set of LLM Gateway-backed models into the catalog, adding several new providers and many new model definitions across existing providers. The main focus is enriching the registry with future-dated models, pricing, limits, and modality metadata while keeping formats consistent with existing Changes:
Reviewed changesCopilot reviewed 120 out of 120 changed files in this pull request and generated 11 comments. Show a summary per file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| @@ -0,0 +1,21 @@ | |||
| name = "Gemma 3n E4B IT" | |||
| family = "gemini" | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Gemma 3n E4B models elsewhere in the repo are classified with family = "gemma" (see providers/openrouter/models/google/gemma-3n-e4b-it.toml:3), but this entry uses family = "gemini". To maintain a consistent notion of model family across providers, this should also use the gemma family.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| @@ -0,0 +1,21 @@ | |||
| name = "Gemma 3n E2B IT" | |||
| family = "gemini" | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This Gemma 3n E2B model is tagged with family = "gemini", while comparable Gemma 3n models use family = "gemma" (e.g. providers/openrouter/models/google/gemma-3n-e4b-it.toml:3). Please align the family value to gemma so clients relying on family can treat Gemma models consistently.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| @@ -0,0 +1,21 @@ | |||
| name = "Gemma 3 4B IT" | |||
| family = "gemini" | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
For Gemma 3 4B, the rest of the codebase uses family = "gemma" for Gemma models (examples: providers/amazon-bedrock/models/google.gemma-3-4b-it.toml:2, providers/cloudflare-workers-ai/models/gemma-3-12b-it.toml:4). Using family = "gemini" here is inconsistent and may cause this model to be grouped with Gemini instead of Gemma; consider changing the family to gemma.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| @@ -0,0 +1,21 @@ | |||
| name = "Gemma 3 12B IT" | |||
| family = "gemini" | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The Gemma 3 12B model here is assigned family = "gemini", while the rest of the repo classifies Gemma 3 models under the gemma family (for example, providers/amazon-bedrock/models/google.gemma-3-12b-it.toml:2, providers/inference/models/google/gemma-3.toml:2). To avoid confusing Gemma with Gemini in downstream tooling, the family should be gemma.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| @@ -0,0 +1,22 @@ | |||
| name = "GPT OSS 20B" | |||
| family = "gpt" | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This NanoGPT GPT OSS 20B model is given family = "gpt", but GPT OSS 20B is modeled elsewhere with family = "gpt-oss" (for example, providers/deepinfra/models/openai/gpt-oss-20b.toml:4 and providers/vercel/models/openai/gpt-oss-20b.toml:2). To align with the existing convention and avoid misclassifying GPT OSS as generic GPT, consider switching the family to gpt-oss.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| @@ -0,0 +1,21 @@ | |||
| name = "Gemma 3 27B" | |||
| family = "gemini" | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This Gemma 3 27B model is using family = "gemini", but other Gemma 3 27B entries in the repo use family = "gemma" (e.g. providers/nvidia/models/google/gemma-3-27b-it.toml:2 and providers/openrouter/models/google/gemma-3-27b-it.toml:3). Consider switching the family to gemma for consistency across providers and to avoid misclassification in family-based tooling.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| @@ -0,0 +1,21 @@ | |||
| name = "Gemma 3 1B IT" | |||
| family = "gemini" | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This Gemma 3 1B model is marked with family = "gemini", but Gemma models elsewhere (e.g. providers/amazon-bedrock/models/google.gemma-3-12b-it.toml:2 and providers/cloudflare-workers-ai/models/gemma-3-12b-it.toml:4) use family = "gemma". Please update the family to gemma to be consistent with how Gemma is modeled across providers.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| @@ -0,0 +1,22 @@ | |||
| name = "GPT OSS 20B" | |||
| family = "gpt" | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This GPT OSS 20B model uses family = "gpt", but GPT OSS models elsewhere consistently use family = "gpt-oss" (for example, providers/deepinfra/models/openai/gpt-oss-20b.toml:4 and providers/openrouter/models/openai/gpt-oss-20b.toml:2). For consistent family grouping and to distinguish GPT OSS from other GPT-family models, this should be updated to use the gpt-oss family.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| @@ -0,0 +1,22 @@ | |||
| name = "GPT OSS 120B" | |||
| family = "gpt" | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
For GPT OSS 120B under NanoGPT, family = "gpt" is inconsistent with other GPT OSS 120B entries that use family = "gpt-oss" (e.g. providers/google-vertex/models/openai/gpt-oss-120b-maas.toml:2 and providers/openrouter/models/openai/gpt-oss-120b.toml:2). Please change the family to gpt-oss to match the established convention for this model family.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
1b46ffa to
093e6cd
Compare
Add LLM Gateway (llmgateway.io) as a new provider with all supported models
organized by upstream provider subdirectory.
LLM Gateway is an OpenAI-compatible API gateway that provides unified
access to 40+ LLM providers through a single API endpoint.
Directory structure:
providers/llmgateway/
├── provider.toml
├── README.md
├── scripts/
│ └── generate.ts
└── models/
├── anthropic/ (16 models)
├── openai/ (28 models)
├── google/ (19 models)
├── zai/ (17 models - GLM, CogView)
├── alibaba/ (27 models - Qwen)
├── meta/ (12 models - Llama)
├── xai/ (9 models - Grok)
├── deepseek/ (5 models)
├── bytedance/ (6 models - Seed)
├── moonshot/ (4 models - Kimi)
├── mistral/ (3 models)
├── perplexity/ (3 models - Sonar)
├── minimax/ (1 model)
├── nvidia/ (1 model)
└── llmgateway/ (2 models - auto, custom)
Co-Authored-By: Claude Opus 4.5 <[email protected]>
093e6cd to
3549abe
Compare
Removes provider subdirectories, exports all models directly to models/ folder for simpler structure. Co-Authored-By: Claude Opus 4.5 <[email protected]>
Removes empty generate.ts file and scripts/ directory. README now links to llmgateway repo for regeneration. Co-Authored-By: Claude Opus 4.5 <[email protected]>
models.dev schema requires limit.output field. Defaults to 16384 when not specified. Co-Authored-By: Claude Opus 4.5 <[email protected]>
Maps internal family names to valid models.dev families: - moonshot → kimi - bytedance → seed - zai → glm - nvidia → nemotron Co-Authored-By: Claude Opus 4.5 <[email protected]>
Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Gemma models now use "gemma" family instead of "gemini" - GPT OSS models now use "gpt-oss" family instead of "gpt" Co-Authored-By: Claude Opus 4.5 <[email protected]>
## Summary Add a script to export all models and providers from `@llmgateway/models` to TOML format compatible with [models.dev](https://github.com/anomalyco/models.dev). ## Usage ```bash npx tsx scripts/export-models-dev.ts ``` ## Output ``` exports/providers/ ├── openai/ │ ├── provider.toml │ └── models/ │ ├── gpt-4o.toml │ └── ... ├── anthropic/ │ ├── provider.toml │ └── models/ │ └── ... └── ... (24 providers) ``` ## Features - Exports 222 models across 24 providers - Generates `provider.toml` with: - npm package (`@ai-sdk/openai`, etc.) - Environment variables - Documentation URL - API endpoint (for OpenAI-compatible providers) - Generates model TOMLs with: - Pricing (input/output/cache per million tokens) - Context and output limits - Capabilities (vision, tools, reasoning, structured output) - Modalities (text, image) - Status (alpha/beta/deprecated) - Auto-detects open weights models (Llama, Qwen, Gemma, etc.) - Maps provider IDs and family names to models.dev conventions ## Test plan - [x] Script runs successfully - [x] Output matches models.dev schema - [x] PR submitted to models.dev: anomalyco/models.dev#698 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a capability to export provider and model metadata into a standardized TOML format with per-model files and a summary of outputs. * **Chores** * Updated version control ignore rules to exclude generated export outputs. * **Refactor** * Cleaned up component imports to remove a duplicate import and streamline module organization. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 4.5 <[email protected]>
## Summary Add a script to export all models and providers from `@llmgateway/models` to TOML format compatible with [models.dev](https://github.com/anomalyco/models.dev). ## Usage ```bash npx tsx scripts/export-models-dev.ts ``` ## Output ``` exports/providers/ ├── openai/ │ ├── provider.toml │ └── models/ │ ├── gpt-4o.toml │ └── ... ├── anthropic/ │ ├── provider.toml │ └── models/ │ └── ... └── ... (24 providers) ``` ## Features - Exports 222 models across 24 providers - Generates `provider.toml` with: - npm package (`@ai-sdk/openai`, etc.) - Environment variables - Documentation URL - API endpoint (for OpenAI-compatible providers) - Generates model TOMLs with: - Pricing (input/output/cache per million tokens) - Context and output limits - Capabilities (vision, tools, reasoning, structured output) - Modalities (text, image) - Status (alpha/beta/deprecated) - Auto-detects open weights models (Llama, Qwen, Gemma, etc.) - Maps provider IDs and family names to models.dev conventions ## Test plan - [x] Script runs successfully - [x] Output matches models.dev schema - [x] PR submitted to models.dev: anomalyco/models.dev#698 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a capability to export provider and model metadata into a standardized TOML format with per-model files and a summary of outputs. * **Chores** * Updated version control ignore rules to exclude generated export outputs. * **Refactor** * Cleaned up component imports to remove a duplicate import and streamline module organization. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 4.5 <[email protected]>
The llmgateway models are now sourced from models.dev instead of being maintained as a hardcoded list in source code. See: anomalyco/models.dev#698 Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.