Compare models
Pick two to four models. No markup on model usage: you pay the provider's list price.
| Attribute | ||
|---|---|---|
| Provider | xAI | |
| Model id | google/gemini-3.8-flash | xai/grok-4.7 |
| Status | Available via Safeguard | Available via Safeguard |
| Input / 1M tokens | $0.75 | $2 |
| Output / 1M tokens | $3.75 | $6 |
| Price notes | Paid tier. $0.75 in / $3.75 out (output includes thinking tokens) through 2026-12-31, rises to $1.50 / $7.50 from 2027-01-01. | Prompts <200K tokens. At or above 200K: $4 in / $12 out for the whole request. Cached input $0.50. No batch API. US regional endpoint 1.1x. |
| Context | 1.05M | 500K |
| Parameters | Not published | Not published |
| Max output | 65,536 tokens | Not published |
| Modality | Text and image | Text and image |
| Weights | Closed | Closed |
| Zero data retention | Not offered | Available |
| Prompts go to | Google (Gemini Developer API) | xAI (SpaceXAI) |
| Retention | Paid tier: prompts and responses not used to improve Google products, but logged for a limited period for abuse monitoring, free tier content may be used to improve products | API requests and responses stored encrypted for 30 days for abuse auditing, then deleted, never used for training without explicit permission |
| Region | No region guarantee, data may be stored transiently or cached in any country where Google operates. Google points ZDR and enterprise processing needs to Vertex AI (Gemini Enterprise Agent Platform) | No region guarantee on the default endpoint, US regional endpoint (grok-4.7 and grok-4.6 only) at 1.1x pricing |
| Price checked | 2026-10-10 | 2026-10-10 |
Self-healing security runs on Safeguard.
Your first fix PR is minutes away.
No sales call required, even your agent can complete the purchase over MCP.