Skip to content
Back to skills

Models Dev

ASecurity

Query AI model specifications, pricing, and capabilities from models.dev database. Use when users ask about AI model parameters (context window, token limits, cost per token), model comparisons, provider information, or need to look up specific model IDs for AI SDK integration. Triggers on queries like "What's the context window for GPT-4o?", "Compare Claude vs GPT", "How much does Gemini Pro cost?", "List OpenAI models", or "What models support tool calling?".

  • 57 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 17, 2026
ai-agentspythonbashapidatabase

Works with

  • api

Security analysis

A100/100

Scanned October 17, 2026

npx -y skills add diegosouzapw/awesome-omni-skill --skill models-dev --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Models Dev?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Models Dev
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/diegosouzapw-models-dev/badge)](https://www.skillsdirectory.com/skills/diegosouzapw-models-dev)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: models-dev
description: Query AI model specifications, pricing, and capabilities from models.dev database. Use when users ask about AI model parameters (context window, token limits, cost per token), model comparisons, provider information, or need to look up specific model IDs for AI SDK integration. Triggers on queries like "What's the context window for GPT-4o?", "Compare Claude vs GPT", "How much does Gemini Pro cost?", "List OpenAI models", or "What models support tool calling?".
---

# Models.dev - AI Model Information Query

Query comprehensive AI model specifications from the models.dev open-source database.

## Usage

Run the script at `scripts/fetch_models.py`:

```bash
# List all providers
python scripts/fetch_models.py --providers

# Search models by name or ID
python scripts/fetch_models.py --search <query>

# Get specific model info
python scripts/fetch_models.py <model_id>

# List models from a provider
python scripts/fetch_models.py --provider <provider_name>

# Compare two models
python scripts/fetch_models.py --compare <model_id_1> <model_id_2>
```

## Examples

```bash
# Search for Claude models
python scripts/fetch_models.py --search claude

# Get GPT-4o details
python scripts/fetch_models.py gpt-4o

# List Anthropic models
python scripts/fetch_models.py --provider anthropic

# Compare Claude Sonnet 3.7 vs GPT-4o
python scripts/fetch_models.py --compare claude-3-7-sonnet-20250219 gpt-4o
```

## Available Data

Each model includes (when available):
- **Model ID**: Identifier for AI SDK integration
- **Provider**: Company/platform offering the model
- **SDK Package**: npm package for AI SDK
- **Capabilities**: Reasoning, Tool Calling, Structured Output, Attachments, Temperature
- **Modalities**: Input/output types (text, image, audio, video, pdf)
- **Limits**: Context window, max input/output tokens
- **Cost**: Per-million token pricing (input, output, cache, reasoning)
- **Dates**: Knowledge cutoff, release date, last updated
- **Status**: alpha, beta, deprecated (if applicable)
- **Open Weights**: Whether model weights are publicly available

## API Source

Data fetched from `https://models.dev/api.json` - a community-maintained open-source database.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.