AI Model API Pricing Comparison (per Million Tokens)

Explore the AI API market: compare 5 models across 20 channels and 8 providers. Compare input, output and cached token prices per million tokens before estimating total cost.

Price data updated on: (UTC)

5
models
20
API channels
8
providers
0
China-reachable
Model Channel Prices
Gemini(Google)
Gemini 4 CarbonAgent 16.98%

Gemini(Google) • N/A • Released Nov 10, 2026 • Compare plans

ChannelRegionInput / 1MOutput / 1MSavingsVisit
XycAi
Reseller¥6.90¥34.50-50%
Gemini(Google)🌍
Limited-time offer

Input now $2 was $4

Output now $10 was $20

Cache read now $0.1 was $0.2

Ends (Pacific time)

Official$2.00$10.00Official baseline
OpenRouter6 variants🌍
Limited-time offer

Input now $2 was $4

Output now $10 was $20

Cache read now $0.1 was $0.2

Ends (Pacific time)

Aggregator$2.00$10.00-
Show all price variants
OpenRouter3 variantsBatch🌍
Limited-time offer

Input now $1 was $2

Output now $5 was $10

Cache read now $0.05 was $0.1

Ends (Pacific time)

Aggregator$1.00$5.00-50%
Show all price variants
Vercel AI Gateway
Limited-time offer

Input now $2 was $4

Output now $10 was $20

Cache read now $0.1 was $0.2

Ends (Pacific time)

Aggregator$2.00$10.00-
Google Vertex AI🌍
Limited-time offer

Input now $2 was $4

Output now $10 was $20

Ends (Pacific time)

Cloud$2.00$10.00-
Gemini(Google)
Gemini 4 ArgonAgent 10.74%

Gemini(Google) • 1,048,576 tokens • Released Oct 14, 2026 • Compare plans

ChannelRegionInput / 1MOutput / 1MSavingsVisit
XycAi
Reseller¥6.90¥34.50-50%
Gemini(Google)🌍
Limited-time offer

Input now $2 was $4

Output now $10 was $20

Cache read now $0.1 was $0.2

Ends (Pacific time)

Official$2.00$10.00Official baseline
OpenCode Go
Trains on your dataQuota: USD
Aggregator$4.00$20.00-
OpenRouter7 variants🌍
Limited-time offer

Input now $2 was $4

Output now $10 was $20

Cache read now $0.1 was $0.2

Ends (Pacific time)

Aggregator$2.00$10.00-
Show all price variants
OpenRouter3 variantsBatch🌍
Aggregator$1.00$5.00-50%
Show all price variants
Google Vertex AI🌍
Limited-time offer

Input now $2 was $4

Output now $10 was $20

Ends (Pacific time)

Cloud$2.00$10.00-
Gemini(Google)

Gemini(Google) • 1,048,576 tokens • Released Sep 2, 2026 • Compare plans

ChannelRegionInput / 1MOutput / 1MSavingsVisit
XycAi
Reseller¥2.59¥12.94-50%
Google Vertex AI🌍
Limited-time offer

Input now $0.75 was $1.5

Output now $3.75 was $7.5

Ends (Pacific time)

Cloud$0.75$3.75-
Gemini(Google)🌍
Limited-time offer

Input now $0.75 was $1.5

Output now $3.75 was $7.5

Cache read now $0.075 was $0.15

Ends (Pacific time)

Official$0.75$3.75Official baseline
Tencent

Tencent • 1,048,576 tokens • Released Nov 4, 2026 • Compare plans

ChannelRegionInput / 1MOutput / 1MSavingsVisit
Together AI🌍
Aggregator$0.83$2.50-
Tencent🌍
Limited-time offer

Input now $0.417 was $0.834

Output now $1.2505 was $2.501

Cache read now $0.021 was $0.042

Ends (Beijing time)

Official$0.42$1.25Official baseline
-
OpenRouter5 variants🌍
Aggregator$0.42$1.25-
Show all price variants
Gemini(Google)
Gemini 3.6 FlashAgent -7.79%

Gemini(Google) • 1,048,576 tokens • Released Jul 21, 2026 • Compare plans

ChannelRegionInput / 1MOutput / 1MSavingsVisit
Google Vertex AI🌍
Limited-time offer

Input now $0.75 was $1.5

Output now $3.75 was $7.5

Ends (Pacific time)

Cloud$0.75$3.75-
Gemini(Google)🌍
Limited-time offer

Input now $0.75 was $1.5

Output now $3.75 was $7.5

Cache read now $0.075 was $0.15

Ends (Pacific time)

Official$0.75$3.75Official baseline

Frequently asked questions

How do I compare AI model API token prices?

This table covers 5 models and 20 available API channels from 8 providers. Compare input, output and cached input prices separately per million tokens; your cost depends on the amount of each token type used.

Which APIs have the lowest input token prices?

Among available channel headline prices, the lowest rates per million input tokens in each currency are: gemini-3.8-flash (XycAi) at CNY 2.5875; Hy4 (Tencent) at $0.417. Check output, cached rates and other price variants separately.

Can I directly compare API prices in different currencies?

Compare amounts in the same currency first. Quotes retain the provider’s original currency, and the lowest input rates above are listed separately by currency. Cross-currency comparisons require an exchange rate check.

When was the API pricing data updated?

The latest database price-row update among available LLM channels and their public price variants is 2026-11-23 (UTC). This does not mean every channel was verified that day; confirm the provider’s quote before purchasing.

Search, fetch, file parse and speech API pricing

Official per-call or per published-unit prices; model token costs are separate. Each row links its official source and verification date.

ProviderToolPer-request priceTokenNotesSource
AnthropicWeb search$10 / 1,000 searchesPlus search content tokens at model ratesEach search counts once regardless of results; errors are not billed.Official 2026-10-18
AnthropicWeb fetchNo per-call feeFetched content billed as input tokensNo additional charge beyond standard token costs.Official 2026-10-18
OpenAIWeb search$10 / 1,000 callsPlus search content tokens at model ratesAll models; gpt-4o-mini / gpt-4.1-mini bill a fixed 8,000 input-token block per call.Official 2026-10-18
OpenAIWeb search preview (non-reasoning models)$25 / 1,000 callsSearch content tokens are free—Official 2026-10-18
GoogleGrounding with Google Search (Gemini 3+)$14 / 1,000 search queriesRetrieved context not billed as input5,000 free requests/month shared across Gemini 3+ models; one prompt may trigger several queries.Official 2026-10-18
GoogleGrounding with Google Search (Gemini 2.5)$35 / 1,000 grounded promptsRetrieved context not billed as input1,500 requests/day free on the paid tier.Official 2026-10-18
GoogleURL contextNo per-call feeFetched content billed as input tokens—Official 2026-10-18
xAIWeb search$5 / 1,000 callsPlus tokens at model ratesIncludes browsing pages and image search.Official 2026-10-18
DeepSeekSearch API¥5 / 1,000 successful requestsStandalone API, no tokensUS$0.75 on the English page. Server-side calls from Claude Code / Codex are free until 2026-11-01 00:00 Beijing time.Official 2026-10-18
DeepSeekFetch API¥5 / 1,000 successful requestsStandalone API, no tokensUS$0.75 on the English page (https://api-docs.deepseek.com/quick_start/pricing). Same free period as Search.Official 2026-10-18
DeepSeekFile parsing / OCR API¥1.5 / 1,000 pagesStandalone API, no tokensUS$0.225 on the English page (https://api-docs.deepseek.com/quick_start/pricing). File parsing and OCR share this list price. Billed by successfully recognized pages (page_count); a recognition that fails or times out is not billed. Disconnecting does not cancel a recognition already received.Official 2026-11-14
DeepSeekText to Speech (TTS)¥3 / 10,000 billed charactersStandalone API, no tokensList price. Limited-time 50% off is ¥1.5 / US$0.225; no end date is published. English list price is US$0.45 (https://api-docs.deepseek.com/quick_start/pricing). A Chinese character counts as 2 billed characters; any other character (letter, digit or space) counts as 1. At most 10,000 billed characters per full-text request.Official 2026-11-14
DeepSeekSpeech to Text (ASR)¥0.78 / hour of audioStandalone API, no tokensList price. Limited-time 50% off is ¥0.39 / US$0.058; no end date is published. English list price is US$0.116 (https://api-docs.deepseek.com/quick_start/pricing). Billed by audio duration to the second; a fraction of a second counts as 1 second.Official 2026-11-14
Vercel AI GatewayDeepSeek Search$0.75 / 1,000 billable requestsHost model tokens billed separatelyGateway channel, not a new DeepSeek list price. Docs table: $0.75 per 1,000 billable requests, the same figure as the DeepSeek English page. Billable when a successful request returns a nonempty results array, including results filtered before they reach the model. Failed requests, timeouts, and empty results are not billed. Result count does not change the price. Changelog: https://vercel.com/changelog/ai-gateway-adds-deepseek-search-and-fetch-toolsOfficial 2026-11-07
Vercel AI GatewayDeepSeek Fetch$0.75 / 1,000 billable requestsHost model tokens billed separatelyGateway channel. Docs table: $0.75 per 1,000 billable requests. Billable when a successful request returns nonempty page content. Failed requests, timeouts, and empty results are not billed. Changelog: https://vercel.com/changelog/ai-gateway-adds-deepseek-search-and-fetch-toolsOfficial 2026-11-07
Baidu AI CloudBaidu Search API (Enhanced / 增强版)¥40 / 1,000 callsStandalone API, no tokensDomestic content list price: ¥0.04/call. Limited-time campaign 2026-10-30 to 2026-12-31: ¥4.9 per 1,000 calls (prepaid pack, up to 1M calls cumulative; overage billed at list price). 1,500 free calls/month; default 3 QPS. Overseas content: ¥0.072/call. Campaign: https://cloud.baidu.com/product/AI-SEARCH/campaign.htmlOfficial 2026-10-31
Baidu AI CloudBaidu Search API (Flagship / 旗舰版)¥72 / 1,000 callsStandalone API, no tokensDomestic content list price: ¥0.072/call. Limited-time campaign 2026-10-30 to 2026-12-31: ¥9.9 per 1,000 calls (invite code required). 1,500 free calls/month; default 3 QPS. Overseas content: ¥0.072/call. Campaign: https://cloud.baidu.com/product/AI-SEARCH/campaign.htmlOfficial 2026-10-31
BraveSearch API (x402)$5 / 1,000 requestsStandalone API, no tokensx402 pay-per-request (Base USDC); no account or API key. A request without payment gets HTTP 402, then is retried after payment. LLM Context, web, news, image, video, and local are all $5 per 1,000 ($0.005/request). Gas fees are waived for a limited time. Same $5 per 1,000 list price as the published Search / LLM Context plan on https://brave.com/search/api/ (account plan includes $5 free credits/month). Answers is a different product ($4 per 1,000 plus $5/M tokens) and is not this row.Official 2026-11-13
OctenWeb Search$1 / 1,000 callsStandalone API, no tokensPay-as-you-go $1 per 1,000 calls (80% off the $5 list price). Full content $0.50 per 1,000 results; the first 10 results per search are free. Personal prepaid Search Plans (one plan at a time, Search or QPS): Standard $20/month ($50/quarter, $180/year) unlimited Web Search plus 1,000 image searches/month, no overage; Plus $100/month ($1,000/year) plus 5,000 image searches/month. Requests may queue when busy; unserved requests are not charged. Extra image search, full content (no free results on the plan), and other APIs stay pay-as-you-go.Official 2026-11-13
OctenPulse Search (lite)$0.1 / 1,000 callsStandalone API, no tokensOfficial table: $0.1 / 1k calls. A standard call is billed as lite when page details are not available for any result. Search Plan details are on the Web Search row.Official 2026-11-13
OctenPulse Search (standard)$0.2 / 1,000 callsStandalone API, no tokensOfficial table: $0.2 / 1k calls, plus full content $0.5 / 1k results. The full content of the first result per search is free; only additional results are billed. Search Plan details are on the Web Search row.Official 2026-11-13