Models.dev Is the AI Model Database You Needed in 2025
Picking an AI model in 2026 means sorting through hundreds of options across a dozen providers. The models change weekly. Prices shift without notice. Benchmarks use different methodologies and the numbers you see on Twitter were obsolete before the tweet was posted.
Models.dev is an open-source attempt to fix this. It is a community-maintained database of AI model specifications, pricing, benchmark scores, and provider availability. The project has 4,879 GitHub stars and counting. The data is structured, versioned, and — crucially — exposed through an API.
I have been using it alongside OpenRouter’s model page and Artificial Analysis for about two months. Here is what it does well, where it falls short, and how it fits into a model selection workflow in mid-2026.
What Models.dev Actually Contains
The database covers roughly 200 models across major providers: OpenAI, Anthropic, Google, Meta, Mistral, DeepSeek, Qwen, Cohere, and about 20 smaller providers. Each model entry includes:
Specifications. Parameter count, context window size, max output tokens, training data cutoff date, supported modalities (text, image, audio, video), and architecture details where publicly documented.
Pricing. Per-token costs for input and output, both at standard and batch pricing tiers. Cached input pricing where available. Free tier availability. The pricing data is pulled from official API documentation pages, not from third-party aggregators.
Benchmarks. MMLU, MMLU-Pro, HumanEval, GSM8K, MATH, HellaSwag, ARC-Challenge, and a few others. Scores are sourced from official model cards and technical reports. Where multiple benchmarks exist for the same model (different evaluation frameworks, different prompt formats), all are listed with source attribution.
Provider availability. Which API providers serve the model, whether it is available for self-hosting, and which cloud platforms have it in their marketplace (AWS Bedrock, GCP Vertex AI, Azure AI Studio).
License and origin. Open-source vs proprietary, license type, releasing organization, release date.
A typical entry for Claude 4 Opus shows 10-15 data points across these categories, all from Anthropic’s official model card and API documentation. The data is stored as structured JSON in the GitHub repository, which means you can diff model updates and track changes over time.
Why This Exists
HuggingFace has 800,000+ models. That is great for discovery but terrible for comparison. The Hub is optimized for finding models to download and fine-tune. Comparing GPT-5.5 Pro against Claude 4 Opus against Gemini 3.5 Flash on pricing per million tokens, with consistent benchmark methodology, is not what the Hub is built for.
Each provider has its own model page. OpenAI lists its models. Anthropic lists its models. Google lists its models. They all use different formats, different benchmark selections, and different time frames. If you want to compare three models across three providers, you are opening three tabs and manually transcribing numbers into a spreadsheet.
The LLM leaderboard ecosystem — LMSys Chatbot Arena, Open LLM Leaderboard, Artificial Analysis — solves the comparison problem but each has its own angle. LMSys focuses on human preference. Open LLM Leaderboard focuses on open models and academic benchmarks. Artificial Analysis focuses on latency and throughput. None of them cover pricing comprehensively, and none expose their data as a simple JSON API.
Models.dev sits in the middle. It is not a leaderboard. It does not rank models. It is a database. You query it for structured data and make your own decisions.
Comparison: Models.dev vs Alternatives
| Feature | Models.dev | HuggingFace Hub | OpenRouter | Artificial Analysis |
|---|---|---|---|---|
| Model count | ~200 | 800K+ | ~250 | ~150 |
| Pricing data | Yes, structured | No | Yes, per-token | No |
| Benchmarks | Yes, from model cards | Some, inconsistent | Limited | Yes, independent |
| API access | Yes (JSON) | Yes (REST) | Yes (REST) | Partial |
| Self-hostable | Yes (open source) | No | No | No |
| Latency/throughput | No | No | No | Yes |
| Human preference | No | No | No | Some |
| Provider agnostic | Yes | Partially | No (uses OpenRouter) | Yes |
| License info | Yes | Yes | No | No |
| Update frequency | Community PRs | Real-time | Provider-synced | Weekly |
HuggingFace Hub is the right tool if you are searching for a niche fine-tuned model or need to download weights. It is the wrong tool if you need to answer “which model is cheapest for a 128K context summarization task.”
OpenRouter is the right tool if you plan to route API calls through a unified interface and need consistent pricing. It is the wrong tool if you want benchmark comparisons or self-hosting information.
Artificial Analysis is the right tool if you care about real-world latency, throughput, and time-to-first-token. Their independent benchmarking methodology is more rigorous than most model card figures. It is the wrong tool if you need comprehensive pricing across providers.
Models.dev is the right tool if you need structured, queryable data about model specifications, pricing, and benchmarks from official sources, and you want it in a format you can pipe into a spreadsheet, a CI pipeline, or an internal tool. It is the wrong tool if you need real-time latency numbers or human preference rankings.
The API: How to Use It
Models.dev exposes its data through a straightforward REST API. No authentication required. The data is the same as what is in the GitHub repository, served as JSON.
Getting all models:
GET https://models.dev/api/models
Returns an array of model objects with all fields populated. You can filter by provider:
GET https://models.dev/api/models?provider=openai
Or search by name:
GET https://models.dev/api/models?search=claude
The response for each model looks like this (truncated for Claude 4 Opus):
{
"id": "claude-4-opus-20250521",
"name": "Claude 4 Opus",
"provider": "anthropic",
"context_window": 200000,
"max_output_tokens": 16384,
"pricing": {
"input_per_1m_tokens": 15.00,
"output_per_1m_tokens": 75.00,
"cached_input_per_1m_tokens": 3.75,
"batch_input_per_1m_tokens": 7.50,
"batch_output_per_1m_tokens": 37.50
},
"benchmarks": {
"mmlu_pro": 0.862,
"human_eval": 0.948,
"gsm8k": 0.961,
"gpqa_diamond": 0.723
},
"modalities": ["text", "image"],
"license": "proprietary",
"release_date": "2025-05-21",
"training_cutoff": "2025-04",
"available_on": ["anthropic_api", "aws_bedrock", "gcp_vertex"]
}
For programmatic model selection, this is vastly better than scraping provider pages. You can write a script that queries models.dev, filters by your constraints (must have vision, must run on Bedrock, must have >0.85 on MMLU-Pro), sorts by price, and returns the cheapest option. That script will not break when Anthropic redesigns their pricing page.
Who Should Use Models.dev
Developers building model routing or selection logic. If your application switches between models based on cost, capability, or availability, models.dev gives you a single source of truth you can query programmatically.
Procurement and engineering teams evaluating providers. When your organization needs to pick a default model provider for the next quarter, the data on pricing, benchmarks, and availability is what you need. Models.dev aggregates it.
Benchmark researchers and dataset curators. Having a structured database of model specifications with explicit release dates and training cutoffs makes it easier to control for temporal bias in evaluation.
Anyone writing about AI models. Instead of manually tracking 15 model cards, query the API. The data is attributable to official sources, which means you can cite it.
Who Should NOT Use Models.dev
If you need real-time latency benchmarks. Artificial Analysis measures actual API response times across providers. Models.dev does not. These are different problems — specification vs performance — and you probably need both.
If you need human preference data. LMSys Chatbot Arena captures real user preferences through blind A/B comparisons. Models.dev has benchmark scores, which correlate with but do not replace preference data.
If you are searching for obscure fine-tuned models. The database focuses on major providers and widely-used open models. The 800K models on HuggingFace are not represented. If you need a specific Llama fine-tune for medical text, HuggingFace is still the place.
If you want model output samples. Models.dev is structured data only. For qualitative evaluation of writing style, reasoning quality, or code generation, you need to run the models yourself or look at independent reviews.
The Data Quality Question
The biggest risk with any aggregated database is stale or incorrect data. Models.dev relies on community contributions through GitHub pull requests. The maintainers verify changes against official sources, but they are volunteers. A pricing change from OpenAI can sit unmerged for 24-48 hours.
I checked a random sample of 20 model entries against their official documentation. Three observations:
Pricing data is mostly current but not real-time. At the time of writing, all 20 models had correct pricing within a tolerance of the most recent official update. The largest lag I found was about 36 hours on a mid-tier provider’s batch pricing update.
Benchmark scores are inconsistently attributed. Some entries cite the model card. Others cite the technical report. A few cite third-party evaluations without noting that methodology differences can swing scores by 2-5 points. This is the biggest quality issue currently.
Provider availability data is the weakest field. Several models listed as “available on GCP Vertex AI” were only available in preview or required explicit allowlisting. The binary “available/not available” does not capture the spectrum of limited availability, regional restrictions, and waitlist requirements.
For production use, verify the data against official sources before making decisions. The database reduces your research time from hours to minutes, but it does not eliminate the need for verification.
How It Fits Into a Model Selection Workflow
After two months of using models.dev alongside other tools, here is the workflow I landed on:
Step 1: Narrow the field with models.dev. Query the API with your hard constraints: max price per million tokens, minimum benchmark score on your critical eval, required modalities. This usually narrows 200 models down to 5-10 candidates.
Step 2: Check real-world performance with Artificial Analysis. The 5-10 candidates get screened for latency and throughput on your target hardware or API. A model that looks great on benchmarks but takes 8 seconds for first token is not usable for interactive applications.
Step 3: Qualitative evaluation. This is the part no database replaces. Run your actual prompts through the remaining 2-3 candidates. Does the tone match your use case? Does it handle edge cases in your domain? Do the structured outputs parse correctly? Budget an hour per model.
Step 4: Monitor for changes. Set up a cron job that queries models.dev weekly and diffs the results. If your chosen model’s pricing changes or a new model with better specs appears, you know within a week.
This workflow takes about 2-3 hours total for a new model selection, down from 10-15 hours of manual research. The time savings come almost entirely from Step 1, which models.dev automates.
Limitations and What Needs to Improve
Benchmark methodology transparency. The database needs a “methodology” field for each benchmark score — was this measured by the provider, by an independent lab, or self-reported? Methodology matters and is currently invisible.
Latency data. Even rough latency ranges (fast/medium/slow) would be useful for narrowing candidates. Artificial Analysis covers this, but having it in the same database would eliminate one tool from the workflow.
Model deprecation tracking. When a provider sunsets a model, the entry should be marked as deprecated rather than removed. Historical data is useful for reproducibility and for understanding capability trends over time.
Regional pricing. Some providers charge different rates in different regions, or offer region-specific free tiers. This complexity is not captured.
Fine-tuned model coverage. The database does not include fine-tuned variants (Llama-3-70B-Instruct vs base Llama-3-70B), which matters for practical model selection. Fine-tuned models often benchmark differently from base models.
These are not dealbreakers for the current use case, but they limit how much of the model selection workflow models.dev can absorb. Version 2, I hope, will address at least the methodology and deprecation issues.
Contributing
Models.dev is open source under MIT license. Contributions are through GitHub pull requests. Adding a new model means creating a JSON file in the data/models/ directory following the schema. The maintainers review PRs within 2-3 days on average.
If you maintain a model or provider, add your own entry. It is the fastest way to ensure accuracy and the maintainers prioritize PRs from official sources.
If you spot stale data, open an issue or submit a correction PR. The database is only as good as the community maintaining it.
Bottom Line
Models.dev does not solve model selection. Nothing does — the landscape changes too fast and the right model depends too much on your specific task. But it reduces the “gather data” phase of model selection from hours to seconds, and it does so with structured data you can query programmatically.
The alternatives — HuggingFace Hub, OpenRouter, Artificial Analysis — each solve different problems. HuggingFace for discovery, OpenRouter for unified API access, Artificial Analysis for latency benchmarks. Models.dev for structured specifications and pricing. They are complementary, not competitive.
If you ship AI features, you should have models.dev in your toolchain. Query it weekly. Diff the results. Know when your model’s pricing changes before your CFO asks about the API bill.