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
Baseten Muse Spark Open $1.25 $4.25 Model API Cached input US$0.15/M. Baseten pricing
Baseten Nemotron 3.5 Super VL $0.20 $0.50 Model API Cached input US$0.04/M. Baseten pricing
Baseten NVIDIA Nemotron 3 Ultra $0.60 $2.40 Model API Cached input US$0.12/M. Baseten pricing
Black Forest Labs FLUX 1.1 Pro N/A N/A BFL API US$0.04/image Black Forest Labs pricing
Black Forest Labs FLUX 1.1 Pro Raw N/A N/A BFL API US$0.06/image Black Forest Labs pricing
Black Forest Labs FLUX 1.1 Pro Ultra N/A N/A BFL API US$0.06/image Black Forest Labs pricing
Black Forest Labs FLUX 3 Image 1.5K N/A N/A BFL API US$0.07/image Black Forest Labs pricing
Black Forest Labs FLUX 3 Image 1K N/A N/A BFL API US$0.048/image Black Forest Labs pricing
Black Forest Labs FLUX 3 Image 2K N/A N/A BFL API US$0.10/image Black Forest Labs pricing
Black Forest Labs FLUX 3 Image 4K N/A N/A BFL API US$0.607/image Black Forest Labs pricing
Black Forest Labs FLUX 3 Image 768px N/A N/A BFL API US$0.041/image Black Forest Labs pricing
Black Forest Labs FLUX 3 Image Klein 1K N/A N/A BFL API from US$0.009/image Black Forest Labs pricing
Black Forest Labs FLUX 3 Image to Video N/A N/A BFL API US$0.06 draft; US$0.17 HD; US$0.29 FHD; US$0.40 QHD; US$0.80 UHD per second Black Forest Labs pricing
Black Forest Labs FLUX 3 Text to Video N/A N/A BFL API US$0.06 draft; US$0.17 HD; US$0.29 FHD; US$0.40 QHD; US$0.80 UHD per second Black Forest Labs pricing
Black Forest Labs FLUX 3 Video Continuation N/A N/A BFL API US$0.12 draft; US$0.41 HD; US$0.53 FHD; US$0.65 QHD; US$0.95 UHD per second Black Forest Labs pricing
Black Forest Labs FLUX Video Edit Fast N/A N/A BFL API US$0.03/second Black Forest Labs pricing
Black Forest Labs FLUX Video Upscale Creative N/A N/A BFL API US$0.10/megapixel-second Black Forest Labs pricing
Black Forest Labs FLUX Video Upscale Precise N/A N/A BFL API US$0.07/megapixel-second Black Forest Labs pricing
Black Forest Labs FLUX.1 Fill Pro N/A N/A BFL API US$0.05/image Black Forest Labs pricing
Black Forest Labs FLUX.1 Kontext Max N/A N/A BFL API US$0.08/image Black Forest Labs pricing
Black Forest Labs FLUX.1 Kontext Pro N/A N/A BFL API US$0.04/image Black Forest Labs pricing
Black Forest Labs FLUX.2 Flex N/A N/A BFL API from US$0.05/MP Black Forest Labs pricing
Black Forest Labs FLUX.2 Klein 4B N/A N/A BFL API from US$0.014/image Black Forest Labs pricing
Black Forest Labs FLUX.2 Klein 9B N/A N/A BFL API from US$0.015/image Black Forest Labs pricing
Black Forest Labs FLUX.2 Max N/A N/A BFL API from US$0.07/MP Black Forest Labs pricing
Black Forest Labs FLUX.2 Pro N/A N/A BFL API from US$0.03/MP generation; US$0.045/MP editing Black Forest Labs pricing
Cerebras OpenAI GPT OSS $0.35 $0.75 131,072 token context Model ID: gpt-oss-120b Cerebras public model catalogue
Cerebras Qwen 3.8 27B $0.99 $1.49 65,536 token context Model ID: qwen-3.8-27b Cerebras public model catalogue
Chutes deepseek-ai/DeepSeek-V3.2-TEE $1.00 $1.00 131,072 token context Confidential TEE inference; cached input US$0.1/M Chutes live model catalogue
Chutes deepseek-ai/DeepSeek-V4-Flash-0731-TEE $0.44 $1.32 1,048,576 token context Confidential TEE inference; cached input US$0.044/M Chutes live model catalogue
Chutes google/gemma-4-31B-turbo-TEE $0.12 $0.37 131,072 token context Confidential TEE inference; cached input US$0.012/M Chutes live model catalogue
Chutes moonshotai/Kimi-K2.6-TEE $0.39 $1.80 262,144 token context Confidential TEE inference; cached input US$0.039/M Chutes live model catalogue
Chutes moonshotai/Kimi-K3-TEE $1.85 $9.50 1,048,576 token context Confidential TEE inference; cached input US$0.185/M Chutes live model catalogue
Chutes Qwen/Qwen3.5-397B-A17B-TEE $0.45 $3.00 262,144 token context Confidential TEE inference; cached input US$0.045/M Chutes live model catalogue
Chutes Qwen/Qwen3.6-27B-TEE $0.25 $2.00 262,144 token context Confidential TEE inference; cached input US$0.025/M Chutes live model catalogue
Chutes Qwen/Qwen3.8-27B-TEE $0.04 $1.25 262,144 token context Confidential TEE inference; cached input US$0.0039/M Chutes live model catalogue
Chutes zai-org/GLM-5.1-TEE $0.90 $2.90 202,752 token context Confidential TEE inference; cached input US$0.09/M Chutes live model catalogue
Chutes zai-org/GLM-5.2-TEE $1.25 $3.95 1,048,576 token context Confidential TEE inference; cached input US$0.125/M Chutes live model catalogue
Cloudflare Workers AI @cf/ai4bharat/indictrans2-en-indic-1B $0.34 $0.34 Other $0.342 per M input tokens ; $0.342 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/aisingapore/gemma-sea-lion-v4-27b-it $0.35 $0.56 LLM $0.351 per M input tokens ; $0.555 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/baai/bge-base-en-v1.5 $0.07 N/A Embeddings $0.067 per M input tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/baai/bge-large-en-v1.5 $0.20 N/A Embeddings $0.204 per M input tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/baai/bge-m3 $0.01 N/A Embeddings $0.012 per M input tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/baai/bge-reranker-base $0.00 N/A Other $0.003 per M input tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/baai/bge-small-en-v1.5 $0.02 N/A Embeddings $0.020 per M input tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/black-forest-labs/flux-1-schnell N/A N/A Image $0.0000528 per 512x512 tile ; $0.0001056 per step Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/black-forest-labs/flux-2-dev N/A N/A Image $0.00021 per input 512x512 tile, per step ; $0.00041 per output 512x512 tile, per step Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/black-forest-labs/flux-2-klein-4b N/A N/A Image $0.000059 per input 512x512 tile ; $0.000287 per output 512x512 tile Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/black-forest-labs/flux-2-klein-9b N/A N/A Image $0.015 per first MP (1024x1024) ; $0.002 per subsequent MP ; $0.002 per input image MP Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/cloudflare/clairic $0.10 N/A Other $0.100 per M input tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/cloudflare/clef $0.24 N/A Other $0.240 per M input tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/cloudflare/clef-flash $0.04 N/A Other $0.038 per M input tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/cloudflare/clef-omni $0.15 N/A Other $0.150 per M input tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/daily-co/phonellm-mini-alpha-2 $0.06 $0.24 LLM $0.060 per M input tokens ; $0.240 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/deepgram/aura-1 N/A N/A Audio $0.015 per 1k characters input ; Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/deepgram/aura-2-en N/A N/A Audio $0.030 per 1k characters input ; Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/deepgram/aura-2-es N/A N/A Audio $0.030 per 1k characters input ; Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/deepgram/flux (WebSocket) N/A N/A Audio $0.0077 per audio minute ; Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/deepgram/nova-3 N/A N/A Audio $0.0052 per audio minute input ; Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/deepgram/nova-3 (WebSocket) N/A N/A Audio $0.0092 per audio minute input ; Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/deepseek-ai/deepseek-r1-distill-qwen-32b $0.50 $4.88 LLM $0.497 per M input tokens ; $4.881 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/deepseek-ai/deepseek-v4-flash-0731 $0.44 $1.32 LLM $0.440 per M input tokens ; $0.014 per M cached input tokens ; $1.320 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/deepseek-ai/deepseek-v4-pro-0813 $1.32 $3.96 LLM $1.320 per M input tokens ; $0.044 per M cached input tokens ; $3.960 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/deepseek-ai/deepseek-v4.1-flash-1017 $0.30 $1.20 LLM $0.300 per M input tokens ; $0.006 per M cached input tokens ; $1.200 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/google/gemma-3-12b-it $0.34 $0.56 LLM $0.345 per M input tokens ; $0.556 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/google/gemma-4-26b-a4b-it $0.10 $0.30 LLM $0.100 per M input tokens ; $0.300 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/huggingface/distilbert-sst-2-int8 $0.03 N/A Other $0.026 per M input tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/ibm-granite/granite-4.0-h-micro $0.02 $0.11 LLM $0.017 per M input tokens ; $0.112 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/leonardo/lucid-origin N/A N/A Image $0.006996 per 512x512 tile ; $0.000132 per step Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/leonardo/phoenix-1.0 N/A N/A Image $0.005830 per 512x512 tile ; $0.000110 per step Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/meta/llama-2-7b-chat-fp16 $0.56 $6.67 LLM $0.556 per M input tokens ; $6.667 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/meta/llama-3-8b-instruct $0.28 $0.83 LLM $0.282 per M input tokens ; $0.827 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/meta/llama-3-8b-instruct-awq $0.12 $0.27 LLM $0.123 per M input tokens ; $0.266 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/meta/llama-3.1-70b-instruct-fp8-fast $0.29 $2.25 LLM $0.293 per M input tokens ; $2.253 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/meta/llama-3.1-8b-instruct $0.28 $0.83 LLM $0.282 per M input tokens ; $0.827 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/meta/llama-3.1-8b-instruct-awq $0.12 $0.27 LLM $0.123 per M input tokens ; $0.266 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/meta/llama-3.1-8b-instruct-fp8 $0.15 $0.29 LLM $0.152 per M input tokens ; $0.287 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/meta/llama-3.1-8b-instruct-fp8-fast $0.04 $0.38 LLM $0.045 per M input tokens ; $0.384 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/meta/llama-3.2-11b-vision-instruct $0.05 $0.68 LLM $0.049 per M input tokens ; $0.676 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/meta/llama-3.2-1b-instruct $0.03 $0.20 LLM $0.027 per M input tokens ; $0.201 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/meta/llama-3.2-3b-instruct $0.05 $0.34 LLM $0.051 per M input tokens ; $0.335 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/meta/llama-3.3-70b-instruct-fp8-fast $0.29 $2.25 LLM $0.293 per M input tokens ; $2.253 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/meta/llama-4-scout-17b-16e-instruct $0.27 $0.85 LLM $0.270 per M input tokens ; $0.850 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/meta/llama-guard-3-8b $0.48 $0.03 LLM $0.484 per M input tokens ; $0.030 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/meta/m2m100-1.2b $0.34 $0.34 Other $0.342 per M input tokens ; $0.342 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/microsoft/resnet-50 N/A N/A Other $2.51 per M images Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/mistral/mistral-7b-instruct-v0.1 $0.11 $0.19 LLM $0.110 per M input tokens ; $0.190 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/mistralai/mistral-small-3.1-24b-instruct $0.35 $0.56 LLM $0.351 per M input tokens ; $0.555 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/moondream/moondream3.1-9B-A2B $0.30 $1.00 Other $0.300 per M input tokens ; $1.000 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/moonshotai/kimi-k2.5 $0.60 $3.00 LLM $0.600 per M input tokens ; $0.100 per M cached input tokens ; $3.000 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/moonshotai/kimi-k2.6 $0.95 $4.00 LLM $0.950 per M input tokens ; $0.160 per M cached input tokens ; $4.000 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/moonshotai/kimi-k2.7-code $0.95 $4.00 LLM $0.950 per M input tokens ; $0.190 per M cached input tokens ; $4.000 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/myshell-ai/melotts N/A N/A Audio $0.0002 per audio minute Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/nvidia/nemotron-3-120b-a12b $0.50 $1.50 LLM $0.500 per M input tokens ; $1.500 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/openai/gpt-oss-120b $0.35 $0.75 LLM $0.350 per M input tokens ; $0.750 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/openai/gpt-oss-20b $0.20 $0.30 LLM $0.200 per M input tokens ; $0.300 per M output tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/openai/whisper N/A N/A Audio $0.0005 per audio minute Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/openai/whisper-large-v3-turbo N/A N/A Audio $0.0005 per audio minute Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/pfnet/plamo-embedding-1b $0.02 N/A Embeddings $0.019 per M input tokens Cloudflare Workers AI pricing
Cloudflare Workers AI @cf/pipecat-ai/smart-turn-v2 N/A N/A Audio $0.00033795 per audio minute input ; Cloudflare Workers AI pricing