
TL;DR
The models.dev project is trending because AI teams need one boring source of truth for model specs, pricing, context windows, modalities, and tool support.
Read next
The AI coding market is noisy. The changes that matter are easier to spot when you separate model capability, editor loops, terminal agents, background agents, agent frameworks, UI layers, context, security, and cost.
10 min readA Q2 2026 pricing and packaging update for AI coding tools, based on official plan docs and release notes. Includes practical cost traps and selection frameworks for teams.
12 min readTwo platforms, two philosophies. Here is how Anthropic and OpenAI compare on APIs, SDKs, documentation, pricing, and the actual experience of building with each.
8 min read| Source | What it covers |
|---|---|
| models.dev GitHub | Open-source model registry with TOML-based provider and model definitions, contribution guidelines, and schema documentation |
| models.dev API | Public JSON API endpoint exposing all model specifications, pricing, and capabilities |
| AI SDK Providers | Vercel AI SDK provider documentation with model IDs that align with models.dev conventions |
| Anthropic Pricing | Official Claude model pricing for verification against registry data |
| OpenAI Pricing | Official GPT model pricing for verification against registry data |
| Google AI Pricing | Official Gemini model pricing for verification against registry data |
Models.dev is the kind of project that looks boring until you have tried to keep an AI product current for more than a month.
The repo describes itself as an open-source database of AI model specifications, pricing, and capabilities. It stores provider and model data as TOML files, exposes an API at https://models.dev/api.json, and uses model IDs that line up with AI SDK conventions.
That is not a glamorous pitch. It is exactly why it matters.
AI development is no longer "pick GPT or Claude." Teams are routing across providers, context windows, reasoning models, tool-calling support, image input, audio, cache pricing, output limits, and regional or enterprise constraints. A stale spreadsheet is not enough.
If your app already has AI coding tools pricing, OpenAI versus Anthropic developer experience, and Vercel AI SDK decisions in play, model metadata becomes infrastructure.
The GitHub repo was showing about 4.1k stars and nearly a thousand forks on May 23, 2026. Its README says there is no single database with information about all available AI models, and that the project started as a community-contributed answer to that gap.
That gap is real.
Every provider publishes model information differently. Pricing pages change. Context windows expand. Tool-calling support varies. Some models support structured outputs. Some support reasoning fields. Some accept images or PDFs. Some are open weights. Some are only accessible through specific platforms.
Those details affect production behavior:
You can hard-code this once. You cannot hard-code it forever.
Models.dev uses a repo-native contribution model. Provider folders contain model definitions. The README shows fields for attachments, reasoning, tool calls, structured outputs, temperature support, knowledge cutoff, release date, open weights, cost, limits, modalities, and interleaved reasoning fields.
That structure is valuable because routing needs typed facts.
A model router should not decide from vibes. It should ask concrete questions:
Need image input? Filter models where modalities.input includes image.
Need tool calls? Filter tool_call = true.
Need 200k context? Filter limit.context >= 200000.
Need cheap summarization? Sort by input and output cost.
Need open weights? Filter open_weights = true.
This is where one tool beats ten endpoints. A clean model registry turns provider fragmentation into data your app can reason about.
Get the weekly deep dive
Tutorials on Claude Code, AI agents, and dev tools - delivered free every week.
From the archive
May 23, 2026 • 8 min read
May 22, 2026 • 8 min read
May 14, 2026 • 7 min read
May 12, 2026 • 8 min read
The skeptical view is simple: model data changes too fast for a community registry to stay accurate.
That concern is valid. A wrong price or capability flag can break routing decisions, produce bad cost estimates, or make a product promise a feature a model does not support. In a regulated or high-volume environment, you should still verify critical fields against official provider docs.
But the alternative is often worse: every team maintaining its own stale copy.
The right posture is to treat models.dev as a registry layer, not an oracle. Use it to discover and normalize options. For billing-critical decisions, compare against official pricing pages or provider APIs. For routing-critical decisions, add runtime checks and fallbacks.
There are three practical uses.
If your product lets users choose models, a registry can drive filters like context window, provider, input modalities, open weights, and cost class.
That is better than a dropdown full of names.
Internal systems can map task classes to model requirements:
The router can then select candidates instead of hard-coding a provider.
Cost calculators need current model prices. DD already has an AI API pricing table and AI cost calculator. A project like models.dev is the kind of source layer that makes those surfaces easier to keep honest.
The AI model market is too fragmented for every app to carry its own hand-maintained model map.
Models.dev is interesting because it treats model choice as structured infrastructure: provider packages, env vars, capabilities, limits, prices, and modalities in one place.
The winning pattern is not "trust a registry blindly." It is "use a registry to make routing explicit, then verify critical fields where money or reliability depends on them."
That is a boring workflow. Boring is what production AI needs more of.
Models.dev is an open-source database of AI model specifications, pricing, and capabilities maintained as TOML files in a GitHub repo with a public JSON API. AI teams need it because every provider publishes model information differently - pricing pages change, context windows expand, tool-calling support varies. Instead of maintaining stale spreadsheets or hard-coding model data, teams can query a shared registry that tracks provider packages, environment variables, capabilities, limits, prices, and modalities in one place.
Models.dev is community-maintained, so data can lag behind official sources. Treat it as a registry layer, not an oracle. Use it to discover and normalize options. For billing-critical decisions, verify prices against official pricing pages (Anthropic, OpenAI, Google AI). For routing-critical decisions, add runtime checks and fallbacks. The alternative - every team maintaining its own stale copy - is usually worse than a community registry with occasional gaps.
The registry tracks attachments, reasoning support, tool calls, structured outputs, temperature support, knowledge cutoff, release date, open weights status, input/output cost, context limits, modalities (text, image, audio), and interleaved reasoning fields. These typed facts let model routers ask concrete questions: filter models where modalities.input includes image, filter tool_call = true, filter limit.context >= 200000, or sort by output cost.
Models.dev uses model IDs that align with AI SDK conventions, so you can use registry data directly with the Vercel AI SDK provider system. This means a model router built on models.dev data can map task requirements to AI SDK provider calls without custom translation layers. The registry effectively becomes a typed lookup table for the AI SDK ecosystem.
Three practical uses: (1) Model selection UI - drive filters like context window, provider, modalities, and cost class instead of a dropdown of names. (2) Routing policy - map task classes to model requirements (code review requires tool calls and long context, image analysis requires image input) and let the router select candidates. (3) Cost reporting - feed current model prices into cost calculators and usage dashboards instead of maintaining manual spreadsheets.
Trust it for discovery and normalization, but verify critical fields. The right posture is "use a registry to make routing explicit, then verify where money or reliability depends on it." For high-volume or regulated environments, compare billing-critical prices against official docs and add runtime capability checks. Models.dev reduces the maintenance burden but does not eliminate the need for verification on fields that matter.
The project uses a repo-native contribution model. Provider folders contain model definitions in TOML format. Fork the repo, add or update model definitions following the existing schema, and submit a pull request. The README documents the field schema and contribution guidelines. Community contributions are how the registry stays current as providers release new models and update pricing.
The alternative is every team maintaining its own hand-written model map - usually a spreadsheet or config file that drifts out of date within weeks. When a provider changes pricing, adds a new model, or updates context limits, someone has to notice and update the internal copy. A shared registry spreads that maintenance across the community, so individual teams spend less time chasing model metadata changes.
Technical content at the intersection of AI and development. Building with AI agents, Claude Code, and modern dev tools - then showing you exactly how it works.
Fastest inference for open-source models. 200+ models via unified API. Ranks #1 on speed benchmarks for DeepSeek, Qwen,...
View ToolUnified API for 200+ models. One API key, one billing dashboard. OpenAI, Anthropic, Google, Meta, Mistral, and more. Aut...
View ToolRun 50,000+ ML models with a simple API. No infrastructure management. Pay-per-second billing. Deploy custom models with...
View ToolBilling infrastructure for SaaS. Pricing tables, credit-based metering, checkout, and customer portal - all in TypeScrip...
View ToolRoute prompts to the right model based on cost, latency, and priority rules.
View AppGive your agents a filesystem that branches like git. Crash-safe by default.
View AppPick a model in 30 seconds. Built for the answer, not the marketing.
View AppInstall Ollama and LM Studio, pull your first model, and run AI locally for coding, chat, and automation - with zero cloud dependency.
Getting StartedManaged scheduling on Anthropic infrastructure with API and GitHub triggers.
Claude CodeAuto-guarded directories like .git, .claude, and .vscode.
Claude Code
The AI coding market is noisy. The changes that matter are easier to spot when you separate model capability, editor loo...

A Q2 2026 pricing and packaging update for AI coding tools, based on official plan docs and release notes. Includes prac...

Two platforms, two philosophies. Here is how Anthropic and OpenAI compare on APIs, SDKs, documentation, pricing, and the...

Two popular frameworks for building AI apps in TypeScript. Here is when to use each and why most Next.js developers shou...

The AI SDK is the fastest way to add streaming AI responses to your Next.js app. Here is how to use it with Claude, GPT,...

Most agent tool APIs are just REST endpoints with nicer names. Production agents need intent-shaped tools that compress...

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.