Skip to main content

Inference API Pricing

Maintained by Coolhand — a platform for optimizing AI workflows

About this data

This page lists pricing metadata for every LLM model tracked by Coolhand. Data is gathered automatically by the Godfrey agent, which periodically fetches and parses pricing pages published by model providers. All records are reviewed before being published, but are obviously at the mercy of the API providers to update or change without much prior notice. The Sources link on each model's entry points to the original provider pricing page used as the data source.

Cost units: Prices are stored as cost-per-token in USD but shown in standard per million token format by default.

Programmatic access: This data is available as a JSON API at GET /api/v2/inference_apis. See the API docs for the full schema.

Calling this API regularly? The endpoint is rate limited to 1 request per minute per API key. Create a free account to get your API key and avoid hitting the limit.
Get a free API key →
Source API Model Display Name Provider Input Cost Output Cost Status Deprecation Date Deprecation Notes Sources
anthropic
claude-3-5-haiku-20241022
Claude 3.5 Haiku $0.80 $4.00
Deprecated
2026-04-27
Deprecated and retired February 19, 2026. Replacement: claude-haiku-4-5-20251001.
anthropic
claude-3-5-sonnet-20241022
Claude 3.5 Sonnet $3.00 $15.00
anthropic
claude-3-7-sonnet-latest
Claude 3.7 Sonnet (Latest) anthropic $3.00 $15.00
anthropic
claude-3-haiku-20240307
Claude 3 Haiku (2024-03-07) $0.25 $1.25
Deprecated
2026-04-27
Deprecated and retired April 20, 2026. Replacement: claude-haiku-4-5-20251001.
anthropic
claude-3-opus-20240229
Claude 3 Opus $15.00 $75.00
Deprecated
2026-04-27
Deprecated and retired January 5, 2026. Replacement: claude-opus-4-7.
anthropic
claude-3-sonnet-20240229
Claude 3 Sonnet $3.00 $15.00
Deprecated
2026-04-27
Deprecated and retired July 21, 2025. Replacement: claude-sonnet-4-6.
anthropic
claude-haiku-4-5
Claude Haiku 4.5 anthropic $1.00 $5.00 Source
anthropic
claude-haiku-4-5-20251001
Claude Haiku 4.5 Anthropic $1.00 $5.00 Source
anthropic
claude-opus-4-1-20250805
Claude Opus 4.1 Anthropic $15.00 $75.00
Deprecated
2026-06-08
Deprecated June 5, 2026. Scheduled for retirement August 5, 2026. Replacement: claude-opus-4-8. Source
anthropic
claude-opus-4-20250514
Claude Opus 4 Anthropic $15.00 $75.00
Deprecated
2026-06-08
Deprecated April 14, 2026. Scheduled for retirement June 15, 2026. Replacement: claude-opus-4-8. Source
anthropic
claude-opus-4-5-20251101
Claude Opus 4.5 Anthropic $5.00 $25.00 Source
anthropic
claude-opus-4-6
Claude Opus 4.6 Anthropic $5.00 $25.00 Source
anthropic
claude-opus-4-7
Claude Opus 4.7 Anthropic $5.00 $25.00 Source
anthropic
claude-opus-4-8
Claude Opus 4.8 Anthropic $5.00 $25.00 Source
anthropic
claude-sonnet-4-20250514
Claude Sonnet 4 Anthropic $3.00 $15.00
Deprecated
2026-06-08
Deprecated April 14, 2026. Scheduled for retirement June 15, 2026. Replacement: claude-sonnet-4-6. Source
anthropic
claude-sonnet-4-5-20250929
Claude Sonnet 4.5 Anthropic $3.00 $15.00 Source
anthropic
claude-sonnet-4-6
Claude Sonnet 4.6 Anthropic $3.00 $15.00 Source
azure
gpt-4
GPT-4 openai $30.00 $60.00 Source
azure
gpt-4.1
GPT-4.1 openai $2.00 $8.00 Source
azure
gpt-4.1-mini
GPT-4.1 Mini openai $0.40 $1.60 Source
azure
gpt-4.1-nano
GPT-4.1 Nano openai $0.10 $0.40 Source
azure
gpt-4o
GPT-4o openai $2.50 $10.00 Source
azure
gpt-4o-2024-05-13
GPT-4o (2024-05-13) openai $5.00 $15.00 Source
azure
gpt-4o-2024-08-06
GPT-4o (2024-08-06) openai $2.50 $10.00 Source
azure
gpt-4o-2024-11-20
GPT-4o (2024-11-20) openai $2.50 $10.00 Source
azure
gpt-4o-mini
GPT-4o Mini openai $0.15 $0.60 Source
azure
gpt-4o-mini-2024-07-18
GPT-4o Mini (2024-07-18) openai $0.15 $0.60 Source
azure
gpt-4-turbo
GPT-4 Turbo openai $11.00 $33.00 Source
azure
o1
o1 openai $15.00 $60.00 Source
azure
o1-mini
o1 Mini openai $1.10 $4.40 Source
azure
o3
o3 openai $2.00 $8.00 Source
azure
o3-mini
o3 Mini openai $1.10 $4.40 Source
azure
o4-mini
o4 Mini openai $1.10 $4.40 Source
copilot
claude-haiku-4.5
Claude Haiku 4.5 (via Copilot) anthropic $1.00 $5.00 Source
gemini
gemini-2.0-flash
Gemini 2.0 Flash (Standard) Google Gemini $0.10 $0.40
Deprecated
2026-06-08
Gemini 2.0 Flash is deprecated and has been shut down June 1, 2026. See https://ai.google.dev/pricing Source
gemini
gemini-2.0-flash-lite
Gemini 2.0 Flash-Lite (Standard) Google Gemini $0.08 $0.30
Deprecated
2026-06-08
Gemini 2.0 Flash-Lite is deprecated and has been shut down June 1, 2026. See https://ai.google.dev/pricing Source
gemini
gemini-2.5-flash
Gemini 2.5 Flash google $0.30 $2.50 Source
gemini
gemini-2.5-flash-lite
Gemini 2.5 Flash-Lite (Batch) Google Gemini $0.05 $0.20 Source
gemini
gemini-2.5-pro
Gemini 2.5 Pro (>200k context, Standard) Google Gemini $2.50 $15.00 Source
gemini
gemini-3.1-pro-preview-customtools
Gemini 3.1 Pro Preview (Custom Tools) google $2.00 $12.00 Source
ollama
gpt-4-turbo-preview
GPT-4 Turbo Preview (Ollama) $0.18 $0.18
ollama
llama3.1:latest
Llama 3.1 (8b) $0.18 $0.18
openai
chatgpt-4o-latest
ChatGPT 4o (Latest) $5.00 $15.00
openai
gpt-3.5-turbo
GPT-3.5 Turbo $0.50 $1.50
openai
gpt-4.1
GPT-4.1 $2.00 $8.00
openai
gpt-4.1-2025-04-14
GPT-4.1 (2025-04-14) $2.00 $8.00
openai
gpt-4.1-mini
GPT-4.1 Mini $0.40 $1.60
openai
gpt-4.1-mini-2025-04-14
GPT-4.1 Mini (2025-04-14) $0.80 $3.20
openai
gpt-4.1-nano
GPT-4.1 Nano $0.10 $0.40
openai
gpt-4o
GPT-4o $2.50 $10.00
openai
gpt-4o-mini
GPT-4o Mini $0.15 $0.60
openai
gpt-4o-mini-2024-07-18
GPT-4o Mini (2024-07-18) $0.15 $0.60
openai
gpt-4-turbo
GPT-4 Turbo $10.00 $30.00
openai
gpt-4-turbo-preview
GPT-4 Turbo Preview $10.00 $30.00
openai
gpt-5
GPT-5 $1.25 $10.00
openai
gpt-5.2-chat-latest
GPT-5.2 (Chat Latest) openai $1.75 $14.00 Source
openai
gpt-5-mini
GPT-5 Mini $0.25 $2.00
openai
gpt-5-nano
GPT-5 Nano $0.05 $0.40
openai
o4-mini
o4-mini $1.10 $4.40
openai
text-embedding-3-large
Text Embedding 3 Large $0.13 $0.00
openai
text-embedding-3-small
Text Embedding 3 Small $0.02 $0.00
openai
text-embedding-ada-002
Text Embedding Ada 002 $0.10 $0.00
openai
text-embedding-ada-002-v2
Text Embedding Ada 002 (v2) $0.10 $0.00
openai_api
gpt-5.4
GPT-5.4 OpenAI $2.50 $15.00 Source
openai_api
gpt-5.4-mini
GPT-5.4 mini OpenAI $0.75 $4.50 Source
openai_api
gpt-5.5
GPT-5.5 OpenAI $5.00 $30.00 Source
openai_api
gpt-image-2-image
GPT-Image-2 (Image) OpenAI $8.00 $30.00 Source
openai_api
gpt-image-2-text
GPT-Image-2 (Text) OpenAI $5.00 $0.00 Source
openai_api
gpt-realtime-2-audio
GPT-Realtime-2 (Audio) OpenAI $32.00 $64.00 Source
openai_api
gpt-realtime-2-image
GPT-Realtime-2 (Image) OpenAI $5.00 $0.00 Source
openai_api
gpt-realtime-2-text
GPT-Realtime-2 (Text) OpenAI $4.00 $24.00 Source
vertex
gemini-2.0-flash
Gemini 2.0 Flash google $0.10 $0.40
vertex
gemini-2.0-flash-001
Gemini 2.0 Flash google $0.10 $0.40
vertex
gemini-2.5-flash
Gemini 2.5 Flash google $0.30 $2.50
vertex
gemini-2.5-pro
Gemini 2.5 Pro google $1.25 $10.00
vertex
llama-3.1-405b-instruct-maas
Llama 3.1 405B Instruct meta $5.00 $16.00
vertex
llama-4-maverick-17b-128e-instruct-maas
Llama 4 Maverick 17B Instruct meta $0.35 $1.15

This data is part of Coolhand

Coolhand helps engineering teams collect human feedback on AI outputs and automatically improve their LLM prompts.

Learn more →