API Cost

Compare AI API pricing and access by platform.

Compare published per-million-token prices alongside verified custom-quote API access. Every entry links to the vendor's official pricing page or primary API documentation, and unavailable public rates are shown as N/A rather than estimated.

25,871 matching pricing entries

Platform Model Input / 1M Output / 1M Context / tier Notes Source
OpenRouter DeepSeek: DeepSeek V4 Pro 0813 $0.66 $1.98 1,048,576 token context OpenRouter model id: deepseek/deepseek-v4-pro-0813. OpenRouter live models API
OpenRouter DeepSeek: DeepSeek V4.1 Flash $0.03 $0.12 1,048,576 token context OpenRouter model id: deepseek/deepseek-v4.1-flash. OpenRouter live models API
OpenRouter DeepSeek: DeepSeek V4.1 Flash (batch) $0.05 $0.15 1,048,576 token context OpenRouter model id: deepseek/deepseek-v4.1-flash:batch. OpenRouter live models API
OpenRouter DeepSeek: DeepSeek V4.1 Flash 1017 $0.15 $0.60 1,048,576 token context OpenRouter model id: deepseek/deepseek-v4.1-flash-1017. OpenRouter live models API
OpenRouter DeepSeek: R1 0528 $0.50 $2.15 163,840 token context OpenRouter model id: deepseek/deepseek-r1-0528. OpenRouter live models API
OpenRouter Dots Studio: Dots3-Note Preview (free) $0.00 $0.00 512,000 token context OpenRouter model id: dots-studio/dots-3-note-preview:free. OpenRouter live models API
OpenRouter Elorian: Glimpse $0.60 $3.00 262,144 token context OpenRouter model id: elorian/glimpse. OpenRouter live models API
OpenRouter Fireworks: Ember-1 $3.00 $15.00 1,048,576 token context OpenRouter model id: fireworks/ember-1. OpenRouter live models API
OpenRouter Free Models Router $0.00 $0.00 200,000 token context OpenRouter model id: openrouter/free. OpenRouter live models API
OpenRouter Google: Gemini 2.5 Flash $0.30 $2.50 1,048,576 token context OpenRouter model id: google/gemini-2.5-flash. OpenRouter live models API
OpenRouter Google: Gemini 2.5 Flash Lite $0.10 $0.40 1,048,576 token context OpenRouter model id: google/gemini-2.5-flash-lite. OpenRouter live models API
OpenRouter Google: Gemini 2.5 Flash Lite (batch) $0.05 $0.20 1,048,576 token context OpenRouter model id: google/gemini-2.5-flash-lite:batch. OpenRouter live models API
OpenRouter Google: Gemini 2.5 Pro $1.25 $10.00 1,048,576 token context OpenRouter model id: google/gemini-2.5-pro. OpenRouter live models API
OpenRouter Google: Gemini 2.5 Pro Preview 06-05 $1.25 $10.00 1,048,576 token context OpenRouter model id: google/gemini-2.5-pro-preview. OpenRouter live models API
OpenRouter Google: Gemini 3 Flash Preview $0.50 $3.00 1,048,576 token context OpenRouter model id: google/gemini-3-flash-preview. OpenRouter live models API
OpenRouter Google: Gemini 3 Flash Preview (batch) $0.25 $1.50 1,048,576 token context OpenRouter model id: google/gemini-3-flash-preview:batch. OpenRouter live models API
OpenRouter Google: Gemini 3.1 Flash Lite $0.25 $1.50 1,048,576 token context OpenRouter model id: google/gemini-3.1-flash-lite. OpenRouter live models API
OpenRouter Google: Gemini 3.1 Flash Lite (batch) $0.12 $0.75 1,048,576 token context OpenRouter model id: google/gemini-3.1-flash-lite:batch. OpenRouter live models API
OpenRouter Google: Gemini 3.1 Flash Lite Preview $0.25 $1.50 1,048,576 token context OpenRouter model id: google/gemini-3.1-flash-lite-preview. OpenRouter live models API
OpenRouter Google: Gemini 3.1 Pro Preview $2.00 $12.00 1,048,576 token context OpenRouter model id: google/gemini-3.1-pro-preview. OpenRouter live models API
OpenRouter Google: Gemini 3.1 Pro Preview (batch) $1.00 $6.00 1,048,576 token context OpenRouter model id: google/gemini-3.1-pro-preview:batch. OpenRouter live models API
OpenRouter Google: Gemini 3.1 Pro Preview Custom Tools $2.00 $12.00 1,048,576 token context OpenRouter model id: google/gemini-3.1-pro-preview-customtools. OpenRouter live models API
OpenRouter Google: Gemini 3.5 Flash $1.50 $9.00 1,048,576 token context OpenRouter model id: google/gemini-3.5-flash. OpenRouter live models API
OpenRouter Google: Gemini 3.5 Flash (batch) $0.75 $4.50 1,048,576 token context OpenRouter model id: google/gemini-3.5-flash:batch. OpenRouter live models API
OpenRouter Google: Gemini 3.5 Flash Lite $0.30 $2.50 1,048,576 token context OpenRouter model id: google/gemini-3.5-flash-lite. OpenRouter live models API
OpenRouter Google: Gemini 3.5 Flash Lite (batch) $0.15 $1.25 1,048,576 token context OpenRouter model id: google/gemini-3.5-flash-lite:batch. OpenRouter live models API
OpenRouter Google: Gemini 3.6 Flash $0.75 $3.75 1,048,576 token context OpenRouter model id: google/gemini-3.6-flash. OpenRouter live models API
OpenRouter Google: Gemini 3.6 Flash (batch) $0.38 $1.88 1,048,576 token context OpenRouter model id: google/gemini-3.6-flash:batch. OpenRouter live models API
OpenRouter Google: Gemini 3.7 Flash $0.75 $3.75 1,048,576 token context OpenRouter model id: google/gemini-3.7-flash. OpenRouter live models API
OpenRouter Google: Gemini 3.7 Flash (batch) $0.38 $1.88 1,048,576 token context OpenRouter model id: google/gemini-3.7-flash:batch. OpenRouter live models API
OpenRouter Google: Gemini 3.8 Flash $0.83 $4.12 1,048,576 token context OpenRouter model id: google/gemini-3.8-flash. OpenRouter live models API
OpenRouter Google: Gemini 3.8 Flash (batch) $0.38 $1.88 1,048,576 token context OpenRouter model id: google/gemini-3.8-flash:batch. OpenRouter live models API
OpenRouter Google: Gemini 4 Argon $2.00 $10.00 1,048,576 token context OpenRouter model id: google/gemini-4-argon. OpenRouter live models API
OpenRouter Google: Gemini 4 Argon (batch) $1.00 $5.00 1,048,576 token context OpenRouter model id: google/gemini-4-argon:batch. OpenRouter live models API
OpenRouter Google: Gemini Flash Latest $0.75 $3.75 1,048,576 token context OpenRouter model id: ~google/gemini-flash-latest. OpenRouter live models API
OpenRouter Google: Gemini Pro Latest $2.00 $10.00 1,048,576 token context OpenRouter model id: ~google/gemini-pro-latest. OpenRouter live models API
OpenRouter Google: Gemma 2 27B $0.65 $0.65 8,192 token context OpenRouter model id: google/gemma-2-27b-it. OpenRouter live models API
OpenRouter Google: Gemma 3 12B $0.05 $0.15 131,072 token context OpenRouter model id: google/gemma-3-12b-it. OpenRouter live models API
OpenRouter Google: Gemma 3 27B $0.08 $0.35 131,072 token context OpenRouter model id: google/gemma-3-27b-it. OpenRouter live models API
OpenRouter Google: Gemma 3 4B $0.04 $0.05 131,072 token context OpenRouter model id: google/gemma-3-4b-it. OpenRouter live models API
OpenRouter Google: Gemma 4 26B A4B $0.09 $0.30 262,144 token context OpenRouter model id: google/gemma-4-26b-a4b-it. OpenRouter live models API
OpenRouter Google: Gemma 4 26B A4B (free) $0.00 $0.00 262,144 token context OpenRouter model id: google/gemma-4-26b-a4b-it:free. OpenRouter live models API
OpenRouter Google: Gemma 4 31B $0.20 $0.40 262,144 token context OpenRouter model id: google/gemma-4-31b-it. OpenRouter live models API
OpenRouter Google: Gemma 4 31B (free) $0.00 $0.00 262,144 token context OpenRouter model id: google/gemma-4-31b-it:free. OpenRouter live models API
OpenRouter Google: Lyria 3 Clip Preview $0.00 $0.00 1,048,576 token context OpenRouter model id: google/lyria-3-clip-preview. OpenRouter live models API
OpenRouter Google: Lyria 3 Pro Preview $0.00 $0.00 1,048,576 token context OpenRouter model id: google/lyria-3-pro-preview. OpenRouter live models API
OpenRouter Google: Nano Banana (Gemini 2.5 Flash Image) $0.30 $2.50 32,768 token context OpenRouter model id: google/gemini-2.5-flash-image. OpenRouter live models API
OpenRouter Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) $0.50 $3.00 65,536 token context OpenRouter model id: google/gemini-3.1-flash-image-preview. OpenRouter live models API
OpenRouter Google: Nano Banana 2 (Gemini 3.1 Flash Image) $0.50 $3.00 131,072 token context OpenRouter model id: google/gemini-3.1-flash-image. OpenRouter live models API
OpenRouter Google: Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image) $0.25 $1.50 65,536 token context OpenRouter model id: google/gemini-3.1-flash-lite-image. OpenRouter live models API
OpenRouter Google: Nano Banana 2.1 $1.50 $7.50 65,536 token context OpenRouter model id: google/gemini-nano-banana-2.1. OpenRouter live models API
OpenRouter Google: Nano Banana Pro (Gemini 3 Pro Image Preview) $2.00 $12.00 65,536 token context OpenRouter model id: google/gemini-3-pro-image-preview. OpenRouter live models API
OpenRouter Google: Nano Banana Pro (Gemini 3 Pro Image) $2.00 $12.00 131,072 token context OpenRouter model id: google/gemini-3-pro-image. OpenRouter live models API
OpenRouter IBM: Granite 4.0 Micro $0.02 $0.11 131,000 token context OpenRouter model id: ibm-granite/granite-4.0-h-micro. OpenRouter live models API
OpenRouter IBM: Granite 4.2 8B $0.06 $0.25 131,072 token context OpenRouter model id: ibm-granite/granite-4.2-8b. OpenRouter live models API
OpenRouter Inception: Mercury 2 $0.25 $0.75 128,000 token context OpenRouter model id: inception/mercury-2. OpenRouter live models API
OpenRouter Inception: Mercury 2.5 $0.04 $0.15 260,000 token context OpenRouter model id: inception/mercury-2.5. OpenRouter live models API
OpenRouter Inception: Mercury 3 $0.10 $0.35 1,000,000 token context OpenRouter model id: inception/mercury-3. OpenRouter live models API
OpenRouter inclusionAI: Ling 3.0 Flash $0.02 $0.06 262,144 token context OpenRouter model id: inclusionai/ling-3.0-flash. OpenRouter live models API
OpenRouter inclusionAI: Ling 3.0 Flash VL $0.06 $0.18 131,072 token context OpenRouter model id: inclusionai/ling-3.0-flash-vl. OpenRouter live models API
OpenRouter inclusionAI: Ling 3.1 Flash $0.07 $0.22 262,144 token context OpenRouter model id: inclusionai/ling-3.1-flash. OpenRouter live models API
OpenRouter Inference.net: Schematron V2 Small $0.05 $0.23 128,000 token context OpenRouter model id: inference-net/schematron-v2-small. OpenRouter live models API
OpenRouter Inference.net: Schematron V2 Turbo $0.03 $0.15 128,000 token context OpenRouter model id: inference-net/schematron-v2-turbo. OpenRouter live models API
OpenRouter LiquidAI: LFM2.5-2.6B (free) $0.00 $0.00 65,536 token context OpenRouter model id: liquid/lfm-2.5-2.6b:free. OpenRouter live models API
OpenRouter LiquidAI: LFM2.5-24B-A2B $0.05 $0.70 128,000 token context OpenRouter model id: liquid/lfm-2.5-24b-a2b. OpenRouter live models API
OpenRouter Magnum v4 72B $2.50 $5.00 32,768 token context OpenRouter model id: anthracite-org/magnum-v4-72b. OpenRouter live models API
OpenRouter Mancer: Weaver (alpha) $0.40 $0.75 8,000 token context OpenRouter model id: mancer/weaver. OpenRouter live models API
OpenRouter Meituan: LongCat 2.0 $0.30 $1.20 1,048,756 token context OpenRouter model id: meituan/longcat-2.0. OpenRouter live models API
OpenRouter Meta: Llama 3.1 70B Instruct $0.40 $0.40 131,072 token context OpenRouter model id: meta-llama/llama-3.1-70b-instruct. OpenRouter live models API
OpenRouter Meta: Llama 3.1 8B Instruct $0.05 $0.08 131,072 token context OpenRouter model id: meta-llama/llama-3.1-8b-instruct. OpenRouter live models API
OpenRouter Meta: Llama 3.2 1B Instruct $0.03 $0.20 60,000 token context OpenRouter model id: meta-llama/llama-3.2-1b-instruct. OpenRouter live models API
OpenRouter Meta: Llama 3.2 3B Instruct $0.05 $0.34 131,072 token context OpenRouter model id: meta-llama/llama-3.2-3b-instruct. OpenRouter live models API
OpenRouter Meta: Llama 3.3 70B Instruct $0.10 $0.32 131,072 token context OpenRouter model id: meta-llama/llama-3.3-70b-instruct. OpenRouter live models API
OpenRouter Meta: Llama 4 Maverick $0.19 $0.65 524,288 token context OpenRouter model id: meta-llama/llama-4-maverick. OpenRouter live models API
OpenRouter Meta: Llama 4 Scout $0.10 $0.30 1,310,720 token context OpenRouter model id: meta-llama/llama-4-scout. OpenRouter live models API
OpenRouter Meta: Llama Guard 4 12B $0.18 $0.18 163,840 token context OpenRouter model id: meta-llama/llama-guard-4-12b. OpenRouter live models API
OpenRouter Meta: Muse Glimmer 30B $0.30 $1.20 131,072 token context OpenRouter model id: meta/muse-glimmer-30b. OpenRouter live models API
OpenRouter Meta: Muse Spark 1.1 $1.25 $4.25 1,048,576 token context OpenRouter model id: meta/muse-spark-1.1. OpenRouter live models API
OpenRouter Meta: Muse Spark 1.2 $1.25 $4.25 1,048,576 token context OpenRouter model id: meta/muse-spark-1.2. OpenRouter live models API
OpenRouter Meta: Muse Spark 1.2 Contributor $0.10 $0.20 1,048,576 token context OpenRouter model id: meta/muse-spark-1.2-contributor. OpenRouter live models API
OpenRouter Meta: Muse Spark 1.3 $1.25 $4.25 1,048,576 token context OpenRouter model id: meta/muse-spark-1.3. OpenRouter live models API
OpenRouter Meta: Muse Spark 1.3 Contributor $0.10 $0.20 1,048,576 token context OpenRouter model id: meta/muse-spark-1.3-contributor. OpenRouter live models API
OpenRouter Meta: Muse Spark Open $1.25 $4.25 1,048,576 token context OpenRouter model id: meta/muse-spark-open. OpenRouter live models API
OpenRouter Meta: Muse Wonder $4.00 $20.00 1,048,576 token context OpenRouter model id: meta/muse-wonder. OpenRouter live models API
OpenRouter Microsoft: Phi 4 $0.07 $0.14 16,384 token context OpenRouter model id: microsoft/phi-4. OpenRouter live models API
OpenRouter MiniMax: MiniMax M1 $0.55 $2.20 1,000,000 token context OpenRouter model id: minimax/minimax-m1. OpenRouter live models API
OpenRouter MiniMax: MiniMax M2 $0.26 $1.02 204,800 token context OpenRouter model id: minimax/minimax-m2. OpenRouter live models API
OpenRouter MiniMax: MiniMax M2-her $0.30 $1.20 65,536 token context OpenRouter model id: minimax/minimax-m2-her. OpenRouter live models API
OpenRouter MiniMax: MiniMax M2.1 $0.30 $1.20 204,800 token context OpenRouter model id: minimax/minimax-m2.1. OpenRouter live models API
OpenRouter MiniMax: MiniMax M2.5 $0.27 $0.95 204,800 token context OpenRouter model id: minimax/minimax-m2.5. OpenRouter live models API
OpenRouter MiniMax: MiniMax M2.7 $0.30 $1.20 204,800 token context OpenRouter model id: minimax/minimax-m2.7. OpenRouter live models API
OpenRouter MiniMax: MiniMax M3 $0.30 $1.20 1,048,576 token context OpenRouter model id: minimax/minimax-m3. OpenRouter live models API
OpenRouter MiniMax: MiniMax M3.1 Flash (free) $0.00 $0.00 1,000,000 token context OpenRouter model id: minimax/minimax-m3.1-flash:free. OpenRouter live models API
OpenRouter MiniMax: MiniMax-01 $0.20 $1.10 1,000,192 token context OpenRouter model id: minimax/minimax-01. OpenRouter live models API
OpenRouter Mistral Large $2.00 $6.00 128,000 token context OpenRouter model id: mistralai/mistral-large. OpenRouter live models API
OpenRouter Mistral Large 2407 $2.00 $6.00 131,072 token context OpenRouter model id: mistralai/mistral-large-2407. OpenRouter live models API
OpenRouter Mistral: Codestral 2508 $0.30 $0.90 256,000 token context OpenRouter model id: mistralai/codestral-2508. OpenRouter live models API
OpenRouter Mistral: Codestral 2508 (batch) $0.15 $0.45 256,000 token context OpenRouter model id: mistralai/codestral-2508:batch. OpenRouter live models API
OpenRouter Mistral: Devstral 2 2512 $0.40 $2.00 262,144 token context OpenRouter model id: mistralai/devstral-2512. OpenRouter live models API
OpenRouter Mistral: Ministral 3 14B 2512 $0.20 $0.20 262,144 token context OpenRouter model id: mistralai/ministral-14b-2512. OpenRouter live models API