Fetch latest LLM model IDs from Anthropic, Gemini, OpenAI, and OpenRouter. Use to get current model names for API calls.
Fetch the latest 10 models from multiple LLM providers with names, dates, and pricing.
# All providers, latest models
list-models
# Specific provider
list-models anthropic
list-models openai gemini
# Search by name
list-models gpt-5.1
list-models openai gpt-5.1
# Filter by tag
list-models --vision
list-models --coding
list-models openai --fast
# Combine search + tag
list-models openrouter deepseek --coding
| Tag | Description |
|---|---|
--top | Best overall models (Opus, GPT-5, etc.) |
--vision | Vision/OCR capable models |
--coding | Best for code generation |
--reasoning |
| Best for complex reasoning (o3, R1) |
--fast | Low latency models (Haiku, Flash, Mini) |
--cheap | Budget-friendly models |
| Provider | Source API | Models Shown |
|---|---|---|
| Anthropic | Native | Claude models (all) |
| Gemini | Native | Gemini models (excludes embeddings) |
| OpenAI | Native | GPT, o1, o3, o4 models |
| OpenRouter (Other) | OpenRouter | Meta, DeepSeek, Mistral, Qwen, xAI, Perplexity, Cohere |
| Variable | Required For |
|---|---|
ANTHROPIC_API_KEY | Anthropic models |
GEMINI_API_KEY | Gemini models |
OPENAI_API_KEY | OpenAI models |
OPENROUTER_API_KEY | Pricing data + Other models |
Models sorted by version (highest first), then by date.
## Anthropic
| Model ID | Name | Date | Input | Output |
| ------------------------ | ----------------- | ---------- | -------- | -------- |
| claude-opus-4-5-20251101 | Claude Opus 4.5 | 2025-11-24 | $15.00/M | $75.00/M |
| claude-sonnet-4-5-... | Claude Sonnet 4.5 | 2025-09-29 | $3.00/M | $15.00/M |
bun runtimeOPENROUTER_API_KEY required for pricing data