Models.dev

An open-source database of AI models

⌘K
Provider Model Provider ID Model ID Attachment Reasoning Temperature
Input Cost
per 1M tokens
Output Cost
per 1M tokens
Cache Read Cost
per 1M tokens
Cache Write Cost
per 1M tokens
Context Limit Output Limit
Amazon BedrockClaude 2amazon-bedrockanthropic.claude-v2NoNoYes$8$24--100,0004,096
Amazon BedrockClaude 2.1amazon-bedrockanthropic.claude-v2:1NoNoYes$8$24--200,0004,096
Amazon BedrockClaude 3 Haikuamazon-bedrockanthropic.claude-3-haiku-20240307-v1:0YesNoYes$0.25$1.25--200,0004,096
Amazon BedrockClaude 3 Opusamazon-bedrockanthropic.claude-3-opus-20240229-v1:0YesNoYes$15$75--200,0004,096
Amazon BedrockClaude 3 Sonnetamazon-bedrockanthropic.claude-3-sonnet-20240229-v1:0YesNoYes$3$15--200,0004,096
Amazon BedrockClaude 3.5 Haikuamazon-bedrockanthropic.claude-3-5-haiku-20241022-v1:0YesNoYes$0.8$4$0.08$1200,0008,192
Amazon BedrockClaude 3.5 Sonnetamazon-bedrockanthropic.claude-3-5-sonnet-20240620-v1:0YesNoYes$3$15$0.3$3.75200,0008,192
Amazon BedrockClaude 3.5 Sonnet v2amazon-bedrockanthropic.claude-3-5-sonnet-20241022-v2:0YesNoYes$3$15$0.3$3.75200,0008,192
Amazon BedrockClaude 3.7 Sonnetamazon-bedrockanthropic.claude-3-7-sonnet-20250219-v1:0YesNoYes$3$15$0.3$3.75200,0008,192
Amazon BedrockClaude Instantamazon-bedrockanthropic.claude-instant-v1NoNoYes$0.8$2.4--100,0004,096
Amazon BedrockClaude Opus 4amazon-bedrockanthropic.claude-opus-4-20250514-v1:0YesYesYes$15$75$1.5$18.75200,00032,000
Amazon BedrockClaude Sonnet 4amazon-bedrockanthropic.claude-sonnet-4-20250514-v1:0YesYesYes$3$15$0.3$3.75200,00064,000
Amazon BedrockCommandamazon-bedrockcohere.command-text-v14NoNoYes$1.5$2--4,0964,096
Amazon BedrockCommand Lightamazon-bedrockcohere.command-light-text-v14NoNoYes$0.3$0.6--4,0964,096
Amazon BedrockCommand Ramazon-bedrockcohere.command-r-v1:0NoNoYes$0.5$1.5--128,0004,096
Amazon BedrockCommand R+amazon-bedrockcohere.command-r-plus-v1:0NoNoYes$3$15--128,0004,096
Amazon BedrockDeepSeek-R1amazon-bedrockdeepseek.r1-v1:0NoYesYes$1.35$5.4--128,0008,192
Amazon BedrockJamba 1.5 Largeamazon-bedrockai21.jamba-1-5-large-v1:0NoNoYes$2$8--256,0004,096
Amazon BedrockJamba 1.5 Miniamazon-bedrockai21.jamba-1-5-mini-v1:0NoNoYes$0.2$0.4--256,0004,096
Amazon BedrockLlama 3 70B Instructamazon-bedrockmeta.llama3-70b-instruct-v1:0NoNoYes$2.65$3.5--8,1922,048
Amazon BedrockLlama 3 8B Instructamazon-bedrockmeta.llama3-8b-instruct-v1:0NoNoYes$0.3$0.6--8,1922,048
Amazon BedrockLlama 3.1 70B Instructamazon-bedrockmeta.llama3-1-70b-instruct-v1:0NoNoYes$0.72$0.72--128,0004,096
Amazon BedrockLlama 3.1 8B Instructamazon-bedrockmeta.llama3-1-8b-instruct-v1:0NoNoYes$0.22$0.22--128,0004,096
Amazon BedrockLlama 3.2 11B Instructamazon-bedrockmeta.llama3-2-11b-instruct-v1:0YesNoYes$0.16$0.16--128,0004,096
Amazon BedrockLlama 3.2 1B Instructamazon-bedrockmeta.llama3-2-1b-instruct-v1:0NoNoYes$0.1$0.1--131,0004,096
Amazon BedrockLlama 3.2 3B Instructamazon-bedrockmeta.llama3-2-3b-instruct-v1:0NoNoYes$0.15$0.15--131,0004,096
Amazon BedrockLlama 3.2 90B Instructamazon-bedrockmeta.llama3-2-90b-instruct-v1:0YesNoYes$0.72$0.72--128,0004,096
Amazon BedrockLlama 3.3 70B Instructamazon-bedrockmeta.llama3-3-70b-instruct-v1:0NoNoYes$0.72$0.72--128,0004,096
Amazon BedrockLlama 4 Maverick 17B Instructamazon-bedrockmeta.llama4-maverick-17b-instruct-v1:0YesNoYes$0.24$0.97--1,000,00016,384
Amazon BedrockLlama 4 Scout 17B Instructamazon-bedrockmeta.llama4-scout-17b-instruct-v1:0YesNoYes$0.17$0.66--3,500,00016,384
Amazon BedrockNova Liteamazon-bedrockamazon.nova-lite-v1:0YesNoYes$0.06$0.24$0.015-300,0008,192
Amazon BedrockNova Microamazon-bedrockamazon.nova-micro-v1:0NoNoYes$0.035$0.14$0.00875-128,0008,192
Amazon BedrockNova Premieramazon-bedrockamazon.nova-premier-v1:0YesYesYes$2.5$12.5--1,000,00016,384
Amazon BedrockNova Proamazon-bedrockamazon.nova-pro-v1:0YesNoYes$0.8$3.2$0.2-300,0008,192
AnthropicClaude 3 Haikuanthropicclaude-3-haiku-20240307YesNoYes$0.25$1.25$0.03$0.03200,0004,096
AnthropicClaude 3 Opusanthropicclaude-3-opus-20240229YesNoYes$15$75$1.5$1.5200,0004,096
AnthropicClaude 3 Sonnetanthropicclaude-3-sonnet-20240229YesNoYes$3$15$0.3$0.3200,0004,096
AnthropicClaude 3.5 Haikuanthropicclaude-3-5-haiku-20241022YesNoYes$0.8$4$0.08$0.08200,0008,192
AnthropicClaude 3.5 Sonnetanthropicclaude-3-5-sonnet-20240620YesNoYes$3$15$0.3$0.3200,0008,192
AnthropicClaude 3.5 Sonnet v2anthropicclaude-3-5-sonnet-20241022YesNoYes$3$15$0.3$0.3200,0008,192
AnthropicClaude 3.7 Sonnetanthropicclaude-3-7-sonnet-20250219YesYesYes$3$15$0.3$0.3200,00064,000
AnthropicClaude 4 Opusanthropicclaude-opus-4-20250514YesYesYes$15$75$1.5$1.5200,00032,000
AnthropicClaude 4 Sonnetanthropicclaude-sonnet-4-20250514YesNoYes$3$15$3.75$0.3200,00050,000
AzureGPT-3.5 Turbo 0125azuregpt-3.5-turbo-0125NoNoYes$0.5$1.5--16,38416,384
AzureGPT-3.5 Turbo 0301azuregpt-3.5-turbo-0301NoNoYes$1.5$2--4,0964,096
AzureGPT-3.5 Turbo 0613azuregpt-3.5-turbo-0613NoNoYes$3$4--16,38416,384
AzureGPT-3.5 Turbo 1106azuregpt-3.5-turbo-1106NoNoYes$1$2--16,38416,384
AzureGPT-3.5 Turbo Instructazuregpt-3.5-turbo-instructNoNoYes$1.5$2--4,0964,096
AzureGPT-4azuregpt-4NoNoYes$60$120--8,1928,192
AzureGPT-4 32Kazuregpt-4-32kNoNoYes$60$120--32,76832,768
AzureGPT-4 Turboazuregpt-4-turboYesNoYes$10$30--128,0004,096
AzureGPT-4 Turbo Visionazuregpt-4-turbo-visionYesNoYes$10$30--128,0004,096
AzureGPT-4.1azuregpt-4.1YesNoYes$2$8$0.5-1,047,57632,768
AzureGPT-4.1 Miniazuregpt-4.1-miniYesNoYes$0.4$1.6$0.1-1,047,57632,768
AzureGPT-4.1 Nanoazuregpt-4.1-nanoYesNoYes$0.1$0.4$0.03-1,047,57632,768
AzureGPT-4oazuregpt-4oYesNoYes$2.5$10$1.25-128,00016,384
AzureGPT-4o Miniazuregpt-4o-miniYesNoYes$0.15$0.6$0.08-128,00016,384
Azureo1azureo1NoYesNo$15$60$7.5-200,000100,000
Azureo1-miniazureo1-miniNoYesNo$1.1$4.4$0.55-128,00065,536
Azureo1-previewazureo1-previewNoYesNo$16.5$66$8.25-128,00032,768
Azureo3azureo3YesYesNo$2$8$0.5-200,000100,000
Azureo3-miniazureo3-miniNoYesNo$1.1$4.4$0.55-200,000100,000
Azureo4-miniazureo4-miniYesYesNo$1.1$4.4$0.28-200,000100,000
DeepSeekDeepSeek Chatdeepseekdeepseek-chatYesYesYes$0.27$1.1$0.07-65,5368,192
DeepSeekDeepSeek Reasonerdeepseekdeepseek-reasonerYesYesYes$0.55$2.19$0.14-65,5368,192
GoogleGemini 1.5 Flashgooglegemini-1.5-flashYesNoYes$0.075$0.3$0.01875-1,000,0008,192
GoogleGemini 1.5 Flash-8Bgooglegemini-1.5-flash-8bYesNoYes$0.0375$0.15$0.01-1,000,0008,192
GoogleGemini 1.5 Progooglegemini-1.5-proYesNoYes$1.25$5$0.3125-2,000,0008,192
GoogleGemini 2.0 Flashgooglegemini-2.0-flashYesNoYes$0.1$0.4$0.025-1,048,5768,192
GoogleGemini 2.0 Flash Litegooglegemini-2.0-flash-liteYesNoYes$0.075$0.3--1,048,5768,192
GoogleGemini 2.5 Flashgooglegemini-2.5-flashYesYesYes$0.3$2.5$0.075-1,048,57665,536
GoogleGemini 2.5 Flash Lite Preview 06-17googlegemini-2.5-flash-lite-preview-06-17YesYesYes$0.1$0.4$0.025-65,53665,536
GoogleGemini 2.5 Flash Preview 04-17googlegemini-2.5-flash-preview-04-17YesYesYes$0.15$0.6$0.0375-1,048,57665,536
GoogleGemini 2.5 Flash Preview 05-20googlegemini-2.5-flash-preview-05-20YesYesYes$0.15$0.6$0.0375-1,048,57665,536
GoogleGemini 2.5 Progooglegemini-2.5-proYesYesYes$1.25$10$0.31-1,048,57665,536
GoogleGemini 2.5 Pro Preview 05-06googlegemini-2.5-pro-preview-05-06YesYesYes$1.25$10$0.31-1,048,57665,536
GoogleGemini 2.5 Pro Preview 06-05googlegemini-2.5-pro-preview-06-05YesYesYes$1.25$10$0.31-1,048,57665,536
GroqDeepSeek R1 Distill Llama 70Bgroqdeepseek-r1-distill-llama-70bNoYesYes$0.75$0.99--131,0728,192
GroqGemma 2 9B ITgroqgemma2-9b-itNoNoYes$0.2$0.2--8,1928,192
GroqLlama 3 70Bgroqllama3-70b-8192NoNoYes$0.59$0.79--8,1928,192
GroqLlama 3 8Bgroqllama3-8b-8192NoNoYes$0.05$0.08--8,1928,192
GroqLlama 3.1 8B Instantgroqllama-3.1-8b-instantNoNoYes$0.05$0.08--131,0728,192
GroqLlama 3.3 70B Versatilegroqllama-3.3-70b-versatileNoNoYes$0.59$0.79--131,07232,768
GroqLlama 4 Maverick 17Bgroqmeta-llama%2Fllama-4-maverick-17b-128e-instructNoNoYes$0.2$0.6--131,0728,192
GroqLlama 4 Scout 17Bgroqmeta-llama%2Fllama-4-scout-17b-16e-instructNoNoYes$0.11$0.34--131,0728,192
GroqLlama Guard 3 8Bgroqllama-guard-3-8bNoNoYes$0.2$0.2--8,1928,192
GroqLlama Guard 4 12Bgroqmeta-llama%2Fllama-guard-4-12bNoNoYes$0.2$0.2--131,072128
GroqMistral Saba 24Bgroqmistral-saba-24bNoNoYes$0.79$0.79--32,76832,768
GroqQwen QwQ 32Bgroqqwen-qwq-32bNoYesYes$0.29$0.39--131,07216,384
GroqQwen3 32Bgroqqwen%2Fqwen3-32bNoNoYes$0.29$0.59--131,07216,384
LlamaCerebras-Llama-4-Maverick-17B-128E-Instructllamacerebras-llama-4-maverick-17b-128e-instructYesNoYes$0$0--128,0004,096
LlamaCerebras-Llama-4-Scout-17B-16E-Instructllamacerebras-llama-4-scout-17b-16e-instructYesNoYes$0$0--128,0004,096
LlamaGroq-Llama-4-Maverick-17B-128E-Instructllamagroq-llama-4-maverick-17b-128e-instructYesNoYes$0$0--128,0004,096
LlamaLlama-3.3-70B-Instructllamallama-3.3-70b-instructYesNoYes$0$0--128,0004,096
LlamaLlama-3.3-8B-Instructllamallama-3.3-8b-instructYesNoYes$0$0--128,0004,096
LlamaLlama-4-Maverick-17B-128E-Instruct-FP8llamallama-4-maverick-17b-128e-instruct-fp8YesNoYes$0$0--128,0004,096
LlamaLlama-4-Scout-17B-16E-Instruct-FP8llamallama-4-scout-17b-16e-instruct-fp8YesNoYes$0$0--128,0004,096
MistralCodestralmistralcodestral-latestNoYesYes$0.3$0.9--256,0004,096
MistralDevstralmistraldevstral-small-2505NoYesYes$0.1$0.3--128,000128,000
MistralMagistral Mediummistralmagistral-medium-latestNoYesYes$2$5--128,00016,384
MistralMagistral Smallmistralmagistral-smallNoYesYes$0.5$1.5--128,000128,000
MistralMinistral 3Bmistralministral-3b-latestNoYesYes$0.04$0.04--128,000128,000
MistralMinistral 8Bmistralministral-8b-latestNoYesYes$0.1$0.1--128,000128,000
MistralMistral 7Bmistralopen-mistral-7bNoYesYes$0.25$0.25--8,0008,000
MistralMistral Largemistralmistral-large-latestNoYesYes$2$6--131,07216,384
MistralMistral Mediummistralmistral-medium-latestNoYesYes$0.4$2--128,00016,384
MistralMistral Nemomistralmistral-nemoNoYesYes$0.15$0.15--128,000128,000
MistralMistral Smallmistralmistral-small-latestNoYesYes$0.1$0.3--128,00016,384
MistralMixtral 8x22Bmistralopen-mixtral-8x22bNoYesYes$2$6--64,00064,000
MistralMixtral 8x7Bmistralopen-mixtral-8x7bNoYesYes$0.7$0.7--32,00032,000
MistralPixtral 12Bmistralpixtral-12bYesYesYes$0.15$0.15--128,000128,000
MistralPixtral Largemistralpixtral-large-latestYesYesYes$2$6--128,000128,000
MorphAutomorphautoNoNoNo$0.85$1.55--32,00032,000
MorphMorph v3 Fastmorphmorph-v3-fastNoNoNo$0.8$1.2--16,00016,000
MorphMorph v3 Largemorphmorph-v3-largeNoNoNo$0.9$1.9--32,00032,000
OpenAICodex Miniopenaicodex-mini-latestYesYesNo$1.5$6$0.375-200,000100,000
OpenAIGPT-4 Turboopenaigpt-4YesNoYes$10$30--8,1928,192
OpenAIGPT-4 Turboopenaigpt-4-turboYesNoYes$10$30--128,0004,096
OpenAIGPT-4.1openaigpt-4.1YesNoYes$2$8$0.5-1,047,57632,768
OpenAIGPT-4.1 Miniopenaigpt-4.1-miniYesNoYes$0.4$1.6$0.1-1,047,57632,768
OpenAIGPT-4.1 Nanoopenaigpt-4.1-nanoYesNoYes$0.1$0.4$0.03-1,047,57632,768
OpenAIGPT-4.5 Previewopenaigpt-4.5-previewYesNoYes$75$150$37.5-128,00016,384
OpenAIGPT-4oopenaigpt-4oYesNoYes$2.5$10$1.25-128,00016,384
OpenAIGPT-4o Miniopenaigpt-4o-miniYesNoYes$0.15$0.6$0.08-128,00016,384
OpenAIo1openaio1YesYesNo$15$60$7.5-200,000100,000
OpenAIo1-miniopenaio1-miniNoYesNo$1.1$4.4$0.55-128,00065,536
OpenAIo1-previewopenaio1-previewNoYesYes$15$60$7.5-128,00032,768
OpenAIo1-proopenaio1-proYesYesNo$150$600--200,000100,000
OpenAIo3openaio3YesYesNo$2$8$0.5-200,000100,000
OpenAIo3-miniopenaio3-miniNoYesNo$1.1$4.4$0.55-200,000100,000
OpenAIo3-proopenaio3-proYesYesNo$20$80--200,000100,000
OpenAIo4-miniopenaio4-miniYesYesNo$1.1$4.4$0.28-200,000100,000
Vercelv0-1.0-mdvercelv0-1.0-mdYesYesYes$3$15--128,00032,000
Vercelv0-1.5-lgvercelv0-1.5-lgYesYesYes$15$75--512,00032,000
Vercelv0-1.5-mdvercelv0-1.5-mdYesYesYes$3$15--128,00032,000
xAIGrok 2xaigrok-2NoNoYes$2$10$2$10131,0728,192
xAIGrok 2 (1212)xaigrok-2-1212NoNoYes$2$10$2$10131,0728,192
xAIGrok 2 Latestxaigrok-2-latestNoNoYes$2$10$2$10131,0728,192
xAIGrok 2 Visionxaigrok-2-visionYesNoYes$2$10$2$108,1924,096
xAIGrok 2 Vision (1212)xaigrok-2-vision-1212YesNoYes$2$10$2$108,1924,096
xAIGrok 2 Vision Latestxaigrok-2-vision-latestYesNoYes$2$10$2$108,1924,096
xAIGrok 3xaigrok-3NoNoYes$3$15$0.75$15131,0728,192
xAIGrok 3 Fastxaigrok-3-fastNoNoYes$5$25$1.25$25131,0728,192
xAIGrok 3 Fast Latestxaigrok-3-fast-latestNoNoYes$5$25$1.25$25131,0728,192
xAIGrok 3 Latestxaigrok-3-latestNoNoYes$3$15$0.75$15131,0728,192
xAIGrok 3 Minixaigrok-3-miniNoYesYes$0.3$0.5$0.075$0.5131,0728,192
xAIGrok 3 Mini Fastxaigrok-3-mini-fastNoYesYes$0.6$4$0.15$4131,0728,192
xAIGrok 3 Mini Fast Latestxaigrok-3-mini-fast-latestNoYesYes$0.6$4$0.15$4131,0728,192
xAIGrok 3 Mini Latestxaigrok-3-mini-latestNoYesYes$0.3$0.5$0.075$0.5131,0728,192
xAIGrok Betaxaigrok-betaNoNoYes$5$15$5$15131,0724,096
xAIGrok Vision Betaxaigrok-vision-betaYesNoYes$5$15$5$158,1924,096

How to use

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

There's no single database with information about all the available AI models. We started Models.dev as a community-contributed project to address this. We also use it internally in opencode.

API

You can access this data through an API.

Use the Model ID field to do a lookup on any model; it's the identifier used by AI SDK.

Contribute

The data is stored in the GitHub repo as TOML files; organized by provider and model. This is used to generate this page and power the API.

We need your help keeping this up to date. Feel free to edit the data and submit a pull request. Refer to the README for more information.