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

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 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: 200,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: 200,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

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

Command A

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

Command R

cohere-command-r-08-2024
in $0.15/M
out $0.60/M
ctx: 128,000 max out: 4,000 in: text out: text
reasoning tools vision structured temp open weights

Command R+

cohere-command-r-plus-08-2024
in $2.50/M
out $10.00/M
ctx: 128,000 max out: 4,000 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

DeepSeek-R1-0528

deepseek-r1-0528
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

DeepSeek-V3-0324

deepseek-v3-0324
in $1.14/M
out $4.56/M
ctx: 131,072 max out: 131,072 in: text out: text
reasoning tools vision structured temp open weights

DeepSeek-V3.1

deepseek-v3.1
in $0.56/M
out $1.68/M
ctx: 131,072 max out: 131,072 in: text out: text
reasoning tools vision structured temp open weights

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-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

GPT-3.5 Turbo 0301

gpt-3.5-turbo-0301
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

GPT-3.5 Turbo 0613

gpt-3.5-turbo-0613
in $3.00/M
out $4.00/M
ctx: 16,384 max out: 16,384 in: text out: text
reasoning tools vision structured temp open weights

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

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

GPT-4

gpt-4
in $60.00/M
out $120.00/M
ctx: 8,192 max out: 8,192 in: text out: text
reasoning tools vision structured temp open weights

GPT-4 32K

gpt-4-32k
in $60.00/M
out $120.00/M
ctx: 32,768 max out: 32,768 in: text out: text
reasoning tools vision structured temp open weights

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

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

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

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

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

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

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

GPT-5

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

GPT-5 Chat

gpt-5-chat
in $1.25/M
out $10.00/M
cache read $0.13/M
ctx: 128,000 max out: 16,384 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: 272,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: 272,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: 272,000 max out: 128,000 in: text, image, audio out: text, image, audio
reasoning tools vision structured temp open weights

GPT-5.1 Chat

gpt-5.1-chat
in $1.25/M
out $10.00/M
cache read $0.13/M
ctx: 128,000 max out: 16,384 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 Chat

gpt-5.2-chat
in $1.75/M
out $14.00/M
cache read $0.17/M
ctx: 128,000 max out: 16,384 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 Chat

gpt-5.3-chat
in $1.75/M
out $14.00/M
cache read $0.17/M
ctx: 128,000 max out: 16,384 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-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 Fast (Reasoning)

grok-4-fast-reasoning
in $0.20/M
out $0.50/M
cache read $0.05/M
ctx: 2,000,000 max out: 30,000 in: text, image out: text
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 Thinking

kimi-k2-thinking
in $0.60/M
out $2.50/M
cache read $0.15/M
ctx: 262,144 max out: 262,144 in: text out: text
reasoning tools vision structured temp open weights

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

Llama 4 Maverick 17B 128E Instruct FP8

llama-4-maverick-17b-128e-instruct-fp8
in $0.25/M
out $1.00/M
ctx: 128,000 max out: 8,192 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.2-11B-Vision-Instruct

llama-3.2-11b-vision-instruct
in $0.37/M
out $0.37/M
ctx: 128,000 max out: 8,192 in: text, image out: text
reasoning tools vision structured temp open weights

Llama-3.2-90B-Vision-Instruct

llama-3.2-90b-vision-instruct
in $2.04/M
out $2.04/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

Meta-Llama-3-70B-Instruct

meta-llama-3-70b-instruct
in $2.68/M
out $3.54/M
ctx: 8,192 max out: 2,048 in: text out: text
reasoning tools vision structured temp open weights

Meta-Llama-3-8B-Instruct

meta-llama-3-8b-instruct
in $0.30/M
out $0.61/M
ctx: 8,192 max out: 2,048 in: text out: text
reasoning tools vision structured temp open weights

Meta-Llama-3.1-405B-Instruct

meta-llama-3.1-405b-instruct
in $5.33/M
out $16.00/M
ctx: 128,000 max out: 32,768 in: text out: text
reasoning tools vision structured temp open weights

Meta-Llama-3.1-70B-Instruct

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

Meta-Llama-3.1-8B-Instruct

meta-llama-3.1-8b-instruct
in $0.30/M
out $0.61/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 Large 24.11

mistral-large-2411
in $2.00/M
out $6.00/M
ctx: 128,000 max out: 32,768 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 Nemo

mistral-nemo
in $0.15/M
out $0.15/M
ctx: 128,000 max out: 128,000 in: text 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: 128,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

o1-mini

o1-mini
in $1.10/M
out $4.40/M
cache read $0.55/M
ctx: 128,000 max out: 65,536 in: text out: text
reasoning tools vision structured temp open weights

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

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

Phi-3-medium-instruct (128k)

phi-3-medium-128k-instruct
in $0.17/M
out $0.68/M
ctx: 128,000 max out: 4,096 in: text out: text
reasoning tools vision structured temp open weights

Phi-3-medium-instruct (4k)

phi-3-medium-4k-instruct
in $0.17/M
out $0.68/M
ctx: 4,096 max out: 1,024 in: text out: text
reasoning tools vision structured temp open weights

Phi-3-mini-instruct (128k)

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

Phi-3-mini-instruct (4k)

phi-3-mini-4k-instruct
in $0.13/M
out $0.52/M
ctx: 4,096 max out: 1,024 in: text out: text
reasoning tools vision structured temp open weights

Phi-3-small-instruct (128k)

phi-3-small-128k-instruct
in $0.15/M
out $0.60/M
ctx: 128,000 max out: 4,096 in: text out: text
reasoning tools vision structured temp open weights

Phi-3-small-instruct (8k)

phi-3-small-8k-instruct
in $0.15/M
out $0.60/M
ctx: 8,192 max out: 2,048 in: text out: text
reasoning tools vision structured temp open weights

Phi-3.5-mini-instruct

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

Phi-3.5-MoE-instruct

phi-3.5-moe-instruct
in $0.16/M
out $0.64/M
ctx: 128,000 max out: 4,096 in: text out: text
reasoning tools vision structured temp open weights

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