Models.dev

An open-source database of AI models

xAI

xai
Models
9
Package
@ai-sdk/xai
API
-
Docs
Provider docs

Models

9
Model Model ID Context Output Price Reasoning Tool Call Structured Temperature
Grok 4.20 (Non-Reasoning)xai/grok-4.20-0309-non-reasoninggrok-4.20-0309-non-reasoning1,000,00030,000$1.25 / $2.50NoYesYesYes
Grok 4.20 (Reasoning)xai/grok-4.20-0309-reasoninggrok-4.20-0309-reasoning1,000,00030,000$1.25 / $2.50YesYesYesYes
Grok 4.20 Multi-AgentProvider-specificgrok-4.20-multi-agent-03091,000,00030,000$1.25 / $2.50YesNoYesYes
Grok 4.3xai/grok-4.3grok-4.31,000,00030,000$1.25 / $2.50YesYesYesYes
Grok 4.5xai/grok-4.5grok-4.5500,000500,000$2.00 / $6.00YesYesYesYes
Grok Build 0.1xai/grok-build-0.1grok-build-0.1256,000256,000$1.00 / $2.00YesYesYesYes
Grok Imagine ImageProvider-specificgrok-imagine-image8,0000-NoNo-No
Grok Imagine Image QualityProvider-specificgrok-imagine-image-quality8,0000-NoNo-No
Grok Imagine VideoProvider-specificgrok-imagine-video1,0240-NoNo-No
No rows match the current search.

No rows match the current search.

Menu

Esc

Search

No matching results.

How to use

Models.dev is a comprehensive open-source database of AI model specifications, pricing, and features.

The homepage starts with provider-agnostic model metadata. Model pages list the providers serving that model; provider pages list every model available from that provider; lab pages group canonical models by author.

API

You can access provider data, provider-agnostic model metadata, or the combined catalog through JSON endpoints.

Logos

Provider logos are available at /logos/{provider}.svg where {provider} is the provider ID. Lab logos are available at /logos/labs/{lab}.svg.

SDK

Use the SDK to query the API from your app. It's type-safe and exports the latest snapshot for offline use.

Contribute

The data is stored in GitHub as TOML files organized by provider and canonical model.