←Model pricing

Gemini vs Grok API pricing

Checked against the official price pages on 2026-10-14


In short

At 100M input and 20M output tokens a month, the cheapest model from each is Gemini 3.5 Flash-Lite (about ¥539 a month) and grok-4.3 (about ¥1,178 a month). Gemini's entry model is cheaper; Grok's costs about 2.2 times as much.

The most expensive from each is Gemini 3.1 Pro Preview (about ¥2,963 a month) and grok-4.7 (about ¥2,155 a month). Price says nothing about whether the models are equally capable; weigh it with benchmarks and context length.

For your own usage: API cost calculator

All models

Prices are per million tokens: ¥ is CNY, $ is USD; time-of-day pricing is written peak / off-peak. Monthly cost is in CNY and assumes 100M input and 20M output tokens a month, no cache hits and half of calls at peak hours where that applies, cheapest first. Models priced in USD are converted at 1 USD = 6.733 CNY (PBoC central parity, 2026-10-09).

ModelInputCache hitOutputMonthly (CNY)
GoogleGemini 3.5 Flash-Lite $0.3$0.03$2.5539
GoogleGemini 3.8 Flash $0.75$0.075$3.751,010
xAIgrok-4.3 $1.25$0.2$2.51,178
xAIgrok-4.7 $2$0.5$62,155
GoogleGemini 3.1 Pro Preview $2$0.2$122,963

Other comparisons