AI API pricing: compare models and providers
Official providers, OpenRouter, fal and API429: exact models, billing units and workload budgets. Choose a family to compare matching prices.
Text and agents
OpenAI / GPT
Compare GPT-6.1 Sol, Astra, Luna and GPT-5.6 pricing at OpenAI, OpenRouter and API429. Input, output, long context and a matching workload budget.
Google / Gemini
Compare Gemini 3.8 Flash, 3.5 Flash-Lite and Pro prices at Google, OpenRouter and API429. Token costs, caching, Batch and workload budgets.
Anthropic / Claude
Compare Claude Fable, Opus, Sonnet and Haiku prices at Anthropic, OpenRouter and API429. Input, output, caching and a matching workload estimate.
xAI / Grok
Compare Grok 4.7 and 4.6 pricing at xAI, OpenRouter and API429. Input, output, the 200K context boundary and matching workload costs.
Image generation
Nano Banana / Google images
Nano Banana 2, Lite and Pro prices for 1K, 2K and 4K images. Compare Google, OpenRouter, fal and API429, including 10,000-image budgets.
OpenAI / GPT Image
Compare GPT Image 2 and GPT Image 2.5 Flare/Sunburst pricing at API429 and OpenAI. Low, Medium, High, token billing and image-batch budgets.
Black Forest Labs / FLUX
Compare FLUX.2 Pro pricing for 1, 2 and 4 megapixels at API429, Black Forest Labs and fal. 10,000-image budgets and reference-image conditions.
xAI / Grok Imagine
Compare Grok Imagine Image and Quality prices for 1K and 2K at xAI and API429. Image-batch budgets, input references and model conditions.
Speech synthesis
Compare total cost, not just the starting price
Use the same model and workload. Keep uncached input, cache operations, output and tools separate. For images, fix resolution and quality; for TTS, match characters rather than converting minutes without a script. Batch and promotional rates remain separate from regular interactive rates.
These guides cover matching models with verified references; they are not a complete list of every model sold by every provider. Other models and currently published rates are available in the API429 catalog.
All API429 models and rates →