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
OpenAI API pricing in 2026: GPT-6.1, Astra, Luna and GPT-5.6. Compare token costs at OpenAI, OpenRouter and API429 and estimate your workload budget.
Google / Gemini
Gemini API pricing in 2026: Flash, Flash-Lite and Pro. Compare Google, OpenRouter and API429 input, output, caching, Batch and workload costs.
Anthropic / Claude
Claude API pricing in 2026: Fable, Opus, Sonnet and Haiku. Compare Anthropic, OpenRouter and API429 token costs, caching and a matching workload budget.
xAI / Grok
Grok API pricing in 2026: Grok 4.7 and 4.6 at xAI, OpenRouter and API429. Compare token costs, the 200K context boundary and request budgets.
Image generation
Nano Banana / Google images
Nano Banana API pricing in 2026: 2, Lite and Pro for 1K, 2K and 4K. Compare Google, OpenRouter, fal and API429 and budget 10,000 output images.
OpenAI / GPT Image
GPT Image API pricing in 2026: Image 2 and 2.5 Flare/Sunburst. Compare OpenAI and API429 by quality, size, token billing and generation budget.
Black Forest Labs / FLUX
FLUX API pricing in 2026: FLUX.2 Pro for 1, 2 and 4 MP at BFL, fal and API429. Estimate 10,000-image budgets and check reference-image conditions.
xAI / Grok Imagine
Grok Image API pricing in 2026: Imagine Image and Quality for 1K and 2K at xAI and API429. Compare image-batch budgets and input-reference costs.
Speech synthesis
OpenRouter, Kie AI or API429: choose an integration
Start with the API your application needs, then compare the same model and workload. API429 publishes this comparison and is one of the services listed. This is a documentation review, not a performance benchmark.
| Service | Documented integration | Check before migrating |
|---|---|---|
| OpenRouter | Unified model access with Chat Completions and documented routing options.https://openrouter.ai/api/v1 | Map model IDs and review routing, fallback and provider-specific settings separately. |
| Kie AI | The documented Nano Banana flow creates a task, then retrieves its result through a status request or callback./api/v1/jobs/createTask | Preserve task tracking when adapting the client. Other Kie model endpoints must be checked individually. |
| API429 | OpenAI-compatible text requests and a separate image-generation endpoint. Available IDs come from the model list for your key.https://gateway.api429.com/v1 | Use an API429 key; verify the model, supported parameters, response and billing for your scenario. |
Which route fits your application?
If you rely on OpenRouter routing controls or an existing Kie task workflow, include the cost of adapting that logic. For an OpenAI SDK application, evaluate API429 using a model available to your key and the request format shown in its documentation.
For the budget, match the exact model version, input and output units, cache, image resolution and extra operations. Then check funding fees and applicable taxes in each service. A starting price alone does not establish the cheapest route for your workload.
OpenAI API · Gemini API · Claude API · Nano Banana
Integration sources checked on 24 October 2026: OpenRouter, Kie Nano Banana, API429 OpenAPI. Price references have separate review dates in each guide.
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 →