Azure

[PROVIDER]
id: azure
npm: @ai-sdk/azure
env: AZURE_RESOURCE_NAME, AZURE_API_KEY

Models

Claude Fable 5

claude-fable-5
in $10.00/M
out $50.00/M
cache read $1.00/M
cache write $12.50/M
ctx: 1,000,000 max out: 128,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights beta

Claude Haiku 4.5

claude-haiku-4-5
in $1.00/M
out $5.00/M
cache read $0.10/M
cache write $1.25/M
ctx: 200,000 max out: 64,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Claude Mythos 5

claude-mythos-5
in $10.00/M
out $50.00/M
cache read $1.00/M
cache write $12.50/M
ctx: 1,000,000 max out: 128,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights beta

Claude Opus 4.1

claude-opus-4-1
in $15.00/M
out $75.00/M
cache read $1.50/M
cache write $18.75/M
ctx: 200,000 max out: 32,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Claude Opus 4.5

claude-opus-4-5
in $5.00/M
out $25.00/M
cache read $0.50/M
cache write $6.25/M
ctx: 200,000 max out: 64,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Claude Opus 4.6

claude-opus-4-6
in $5.00/M
out $25.00/M
cache read $0.50/M
cache write $6.25/M
ctx: 1,000,000 max out: 128,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Claude Opus 4.7

claude-opus-4-7
in $5.00/M
out $25.00/M
cache read $0.50/M
cache write $6.25/M
ctx: 1,000,000 max out: 128,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Claude Opus 4.8

claude-opus-4-8
in $5.00/M
out $25.00/M
cache read $0.50/M
cache write $6.25/M
ctx: 1,000,000 max out: 128,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Claude Opus 5

claude-opus-5
in $5.00/M
out $25.00/M
cache read $0.50/M
cache write $6.25/M
ctx: 1,000,000 max out: 128,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Claude Sonnet 4.5

claude-sonnet-4-5
in $3.00/M
out $15.00/M
cache read $0.30/M
cache write $3.75/M
ctx: 200,000 max out: 64,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Claude Sonnet 4.6

claude-sonnet-4-6
in $3.00/M
out $15.00/M
cache read $0.30/M
cache write $3.75/M
ctx: 1,000,000 max out: 64,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Claude Sonnet 5

claude-sonnet-5
in $2.00/M
out $10.00/M
cache read $0.20/M
cache write $2.50/M
ctx: 1,000,000 max out: 128,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights beta

Codestral 25.01

codestral-2501
in $0.30/M
out $0.90/M
ctx: 256,000 max out: 256,000 in: text out: text
reasoning tools vision structured temp open weights

Codex Mini

codex-mini
in $1.50/M
out $6.00/M
cache read $0.38/M
ctx: 200,000 max out: 100,000 in: text out: text
reasoning tools vision structured temp open weights deprecated

Command A

cohere-command-a
in $2.50/M
out $10.00/M
ctx: 131,072 max out: 8,192 in: text out: text
reasoning tools vision structured temp open weights

DeepSeek-R1

deepseek-r1
in $1.35/M
out $5.40/M
ctx: 163,840 max out: 163,840 in: text out: text
reasoning tools vision structured temp open weights deprecated

DeepSeek-V3.2

deepseek-v3.2
in $0.58/M
out $1.68/M
ctx: 128,000 max out: 128,000 in: text out: text
reasoning tools vision structured temp open weights

DeepSeek-V3.2-Speciale

deepseek-v3.2-speciale
in $0.58/M
out $1.68/M
ctx: 128,000 max out: 128,000 in: text out: text
reasoning tools vision structured temp open weights

DeepSeek-V4-Flash

deepseek-v4-flash
in $0.19/M
out $0.51/M
ctx: 1,000,000 max out: 384,000 in: text out: text
reasoning tools vision structured temp open weights

DeepSeek-V4-Pro

deepseek-v4-pro
in $1.74/M
out $3.48/M
ctx: 1,000,000 max out: 384,000 in: text out: text
reasoning tools vision structured temp open weights

Embed v3 English

cohere-embed-v3-english
in $0.10/M
out $0.00/M
ctx: 512 max out: 1,024 in: text out: text
reasoning tools vision structured temp open weights

Embed v3 Multilingual

cohere-embed-v3-multilingual
in $0.10/M
out $0.00/M
ctx: 512 max out: 1,024 in: text out: text
reasoning tools vision structured temp open weights

Embed v4

cohere-embed-v-4-0
in $0.12/M
out $0.00/M
ctx: 128,000 max out: 1,536 in: text, image out: text
reasoning tools vision structured temp open weights

GPT Chat Latest

gpt-chat-latest
in $5.00/M
out $30.00/M
cache read $0.50/M
ctx: 128,000 max out: 16,384 in: text, image, pdf out: text
reasoning tools vision structured temp open weights beta

GPT-3.5 Turbo 0125

gpt-3.5-turbo-0125
in $0.50/M
out $1.50/M
ctx: 16,384 max out: 16,384 in: text out: text
reasoning tools vision structured temp open weights deprecated

GPT-3.5 Turbo 1106

gpt-3.5-turbo-1106
in $1.00/M
out $2.00/M
ctx: 16,384 max out: 16,384 in: text out: text
reasoning tools vision structured temp open weights deprecated

GPT-3.5 Turbo Instruct

gpt-3.5-turbo-instruct
in $1.50/M
out $2.00/M
ctx: 4,096 max out: 4,096 in: text out: text
reasoning tools vision structured temp open weights deprecated

GPT-4 Turbo

gpt-4-turbo
in $10.00/M
out $30.00/M
ctx: 128,000 max out: 4,096 in: text, image out: text
reasoning tools vision structured temp open weights deprecated

GPT-4 Turbo Vision

gpt-4-turbo-vision
in $10.00/M
out $30.00/M
ctx: 128,000 max out: 4,096 in: text, image out: text
reasoning tools vision structured temp open weights deprecated

GPT-4.1

gpt-4.1
in $2.00/M
out $8.00/M
cache read $0.50/M
ctx: 1,047,576 max out: 32,768 in: text, image out: text
reasoning tools vision structured temp open weights deprecated

GPT-4.1 mini

gpt-4.1-mini
in $0.40/M
out $1.60/M
cache read $0.10/M
ctx: 1,047,576 max out: 32,768 in: text, image out: text
reasoning tools vision structured temp open weights deprecated

GPT-4.1 nano

gpt-4.1-nano
in $0.10/M
out $0.40/M
cache read $0.03/M
ctx: 1,047,576 max out: 32,768 in: text, image out: text
reasoning tools vision structured temp open weights deprecated

GPT-4o

gpt-4o
in $2.50/M
out $10.00/M
cache read $1.25/M
ctx: 128,000 max out: 16,384 in: text, image out: text
reasoning tools vision structured temp open weights deprecated

GPT-4o mini

gpt-4o-mini
in $0.15/M
out $0.60/M
cache read $0.07/M
ctx: 128,000 max out: 16,384 in: text, image out: text
reasoning tools vision structured temp open weights deprecated

GPT-5

gpt-5
in $1.25/M
out $10.00/M
cache read $0.13/M
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5 Mini

gpt-5-mini
in $0.25/M
out $2.00/M
cache read $0.03/M
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5 Nano

gpt-5-nano
in $0.05/M
out $0.40/M
cache read $0.01/M
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5 Pro

gpt-5-pro
in $15.00/M
out $120.00/M
ctx: 400,000 max out: 272,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5-Codex

gpt-5-codex
in $1.25/M
out $10.00/M
cache read $0.13/M
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.1

gpt-5.1
in $1.25/M
out $10.00/M
cache read $0.13/M
ctx: 400,000 max out: 128,000 in: text, image, audio out: text, image, audio
reasoning tools vision structured temp open weights

GPT-5.1 Codex

gpt-5.1-codex
in $1.25/M
out $10.00/M
cache read $0.13/M
ctx: 400,000 max out: 128,000 in: text, image, audio out: text, image, audio
reasoning tools vision structured temp open weights

GPT-5.1 Codex Max

gpt-5.1-codex-max
in $1.25/M
out $10.00/M
cache read $0.13/M
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.1 Codex Mini

gpt-5.1-codex-mini
in $0.25/M
out $2.00/M
cache read $0.03/M
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.2

gpt-5.2
in $1.75/M
out $14.00/M
cache read $0.13/M
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.2 Codex

gpt-5.2-codex
in $1.75/M
out $14.00/M
cache read $0.17/M
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.3 Codex

gpt-5.3-codex
in $1.75/M
out $14.00/M
cache read $0.17/M
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.4

gpt-5.4
in $2.50/M
out $15.00/M
cache read $0.25/M
ctx: 1,050,000 max out: 128,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

GPT-5.4 Mini

gpt-5.4-mini
in $0.75/M
out $4.50/M
cache read $0.07/M
ctx: 400,000 max out: 128,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

GPT-5.4 Nano

gpt-5.4-nano
in $0.20/M
out $1.25/M
cache read $0.02/M
ctx: 400,000 max out: 128,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

GPT-5.4 Pro

gpt-5.4-pro
in $30.00/M
out $180.00/M
ctx: 1,050,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.5

gpt-5.5
in $5.00/M
out $30.00/M
cache read $0.50/M
ctx: 1,050,000 max out: 128,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

GPT-5.6 Luna

gpt-5.6-luna
in $0.20/M
out $1.20/M
cache read $0.02/M
cache write $0.25/M
ctx: 1,050,000 max out: 128,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights beta

GPT-5.6 Sol

gpt-5.6-sol
in $5.00/M
out $30.00/M
cache read $0.50/M
cache write $6.25/M
ctx: 1,050,000 max out: 128,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights beta

GPT-5.6 Terra

gpt-5.6-terra
in $2.00/M
out $12.00/M
cache read $0.20/M
cache write $2.50/M
ctx: 1,050,000 max out: 128,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights beta

GPT-Image-1

gpt-image-1
in $5.00/M
out $40.00/M
cache read $1.25/M
ctx: 0 max out: 0 in: text, image out: image
reasoning tools vision structured temp open weights

GPT-Image-1.5

gpt-image-1.5
in $5.00/M
out $32.00/M
cache read $1.25/M
ctx: 0 max out: 0 in: text, image out: text, image
reasoning tools vision structured temp open weights

GPT-Image-2

gpt-image-2
in $5.00/M
out $30.00/M
cache read $1.25/M
ctx: 0 max out: 0 in: text, image out: image
reasoning tools vision structured temp open weights

Grok 4.1 Fast (Non-Reasoning)

grok-4-1-fast-non-reasoning
in $0.20/M
out $0.50/M
cache read $0.05/M
ctx: 128,000 max out: 8,192 in: text, image out: text
reasoning tools vision structured temp open weights beta

Grok 4.1 Fast (Reasoning)

grok-4-1-fast-reasoning
in $0.20/M
out $0.50/M
cache read $0.05/M
ctx: 128,000 max out: 8,192 in: text, image out: text
reasoning tools vision structured temp open weights beta

Grok 4.20 (Non-Reasoning)

grok-4-20-non-reasoning
in $2.00/M
out $6.00/M
ctx: 262,000 max out: 8,192 in: text out: text
reasoning tools vision structured temp open weights beta

Grok 4.20 (Reasoning)

grok-4-20-reasoning
in $2.00/M
out $6.00/M
ctx: 262,000 max out: 8,192 in: text out: text
reasoning tools vision structured temp open weights beta

Kimi K2.5

kimi-k2.5
in $0.60/M
out $3.00/M
ctx: 262,144 max out: 262,144 in: text, image out: text
reasoning tools vision structured temp open weights

Kimi K2.6

kimi-k2.6
in $0.95/M
out $4.00/M
ctx: 262,144 max out: 262,144 in: text, image out: text
reasoning tools vision structured temp open weights

Kimi K2.7 Code

kimi-k2.7-code
in $0.95/M
out $4.00/M
cache read $0.19/M
ctx: 262,144 max out: 262,144 in: text, image out: text
reasoning tools vision structured temp open weights

Llama 4 Maverick 17B 128E Instruct FP8

llama-4-maverick-17b-128e-instruct-fp8
in $0.25/M
out $1.00/M
ctx: 1,000,000 max out: 16,384 in: text, image out: text
reasoning tools vision structured temp open weights

Llama 4 Scout 17B 16E Instruct

llama-4-scout-17b-16e-instruct
in $0.20/M
out $0.78/M
ctx: 128,000 max out: 8,192 in: text, image out: text
reasoning tools vision structured temp open weights

Llama-3.3-70B-Instruct

llama-3.3-70b-instruct
in $0.71/M
out $0.71/M
ctx: 128,000 max out: 32,768 in: text out: text
reasoning tools vision structured temp open weights

Ministral 3B

ministral-3b
in $0.04/M
out $0.04/M
ctx: 128,000 max out: 8,192 in: text out: text
reasoning tools vision structured temp open weights

Mistral Medium 3

mistral-medium-2505
in $0.40/M
out $2.00/M
ctx: 128,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

Mistral Small 3.1

mistral-small-2503
in $0.10/M
out $0.30/M
ctx: 128,000 max out: 32,768 in: text, image out: text
reasoning tools vision structured temp open weights

Model Router

model-router
in $0.14/M
out $0.00/M
ctx: 200,000 max out: 16,384 in: text, image out: text
reasoning tools vision structured temp open weights

o1

o1
in $15.00/M
out $60.00/M
cache read $7.50/M
ctx: 200,000 max out: 100,000 in: text, image out: text
reasoning tools vision structured temp open weights deprecated

o3

o3
in $2.00/M
out $8.00/M
cache read $0.50/M
ctx: 200,000 max out: 100,000 in: text, image out: text
reasoning tools vision structured temp open weights

o3-mini

o3-mini
in $1.10/M
out $4.40/M
cache read $0.55/M
ctx: 200,000 max out: 100,000 in: text out: text
reasoning tools vision structured temp open weights deprecated

o4-mini

o4-mini
in $1.10/M
out $4.40/M
cache read $0.28/M
ctx: 200,000 max out: 100,000 in: text, image out: text
reasoning tools vision structured temp open weights deprecated

Phi-4

phi-4
in $0.13/M
out $0.50/M
ctx: 128,000 max out: 4,096 in: text out: text
reasoning tools vision structured temp open weights

Phi-4-mini

phi-4-mini
in $0.07/M
out $0.30/M
ctx: 128,000 max out: 4,096 in: text out: text
reasoning tools vision structured temp open weights

Phi-4-mini-reasoning

phi-4-mini-reasoning
in $0.07/M
out $0.30/M
ctx: 128,000 max out: 4,096 in: text out: text
reasoning tools vision structured temp open weights

Phi-4-multimodal

phi-4-multimodal
in $0.08/M
out $0.32/M
ctx: 128,000 max out: 4,096 in: text, image, audio out: text
reasoning tools vision structured temp open weights

Phi-4-reasoning

phi-4-reasoning
in $0.13/M
out $0.50/M
ctx: 32,000 max out: 4,096 in: text out: text
reasoning tools vision structured temp open weights

Phi-4-reasoning-plus

phi-4-reasoning-plus
in $0.13/M
out $0.50/M
ctx: 32,000 max out: 4,096 in: text out: text
reasoning tools vision structured temp open weights

text-embedding-3-large

text-embedding-3-large
in $0.13/M
out $0.00/M
ctx: 8,191 max out: 3,072 in: text out: text
reasoning tools vision structured temp open weights

text-embedding-3-small

text-embedding-3-small
in $0.02/M
out $0.00/M
ctx: 8,191 max out: 1,536 in: text out: text
reasoning tools vision structured temp open weights

text-embedding-ada-002

text-embedding-ada-002
in $0.10/M
out $0.00/M
ctx: 8,192 max out: 1,536 in: text out: text
reasoning tools vision structured temp open weights