Gemini 3.1 Pro Preview
$666.00 / month- Input cost
- $546.00
- Output cost
- $120.00
- Per 1,000 calls
- $333.00
- Pricing profile
- standard
Compare verified pricing and model limits for API pricing and workload fit across providers. The cost example uses a long-context research workload and does not assume equal model quality.
Prices are USD per 1M tokens under each model's verified default profile.
| Field | Gemini 3.1 Pro Preview | Grok 4.5 |
|---|---|---|
| API access provider | xAI API | |
| Model creator | xAI | |
| API model ID | gemini-3.1-pro-preview | grok-4.5 |
| Input / 1M | $2.00 | $2.00 |
| Cached input / 1M | $0.20 | $0.50 |
| Output / 1M | $12.00 | $6.00 |
| Context window | 1,048,576 tokens | 500,000 tokens |
| Maximum output | 65,536 tokens | Unavailable tokens |
| Accepted input | text | text, image |
150,000 input and 5,000 output tokens per request, 2,000 monthly requests, and 10% cached input.
Cost result: Grok 4.5 is $51.00 lower per month for these assumptions. This is a price comparison, not a model-quality ranking.
Models whose tracked context window is below the scenario input are excluded from the compatible-model table.
Latency, reliability, output quality, retries, regional processing, and provider-specific tool charges can change the practical decision.