Compare models
Put up to 4 models beside each other — token prices, context windows, capabilities and provider, from the same catalogue the model pages read.
| Attribute | Grok 4.5grok-4.5 | Gemini 3.1 Flash Image (Google Vertex AI)gemini-3.1-flash-image-vertex |
|---|---|---|
| Pricing | ||
| Input | $2.00 / 1M | — |
| Output | $6.00 / 1M | — |
| Cache Write (5m) | $2.00 / 1M | Not applicable |
| Cache Write (1h) | $2.00 / 1M | Not applicable |
| Cache Read | $2.00 / 1M | Not applicable |
| Web Search | $0 / 1M | — |
| Request | — | $0.067 / request |
| Billing | — | Pay Per Request |
| Context | ||
| Max context | 500K | N/A |
| Max output | N/A | N/A |
| Capabilities | ||
| Vision | Yes | Yes |
| Function Calling | Yes | No |
| JSON Mode | Yes | No |
| Streaming | Yes | No |
| Catalogue | ||
| Provider | xAI | |
| Category | chat | image |
| Charge type | Pay As You Go | Pay Per Request |
| Released | — | — |
| Description | ||
| Summary | Grok 4.5 is SpaceXAI’s flagship frontier model, delivering top-tier performance across coding, knowledge work, and STEM reasoning. Designed for demanding professional and technical workloads, it combines strong reasoning, accurate instruction following, and robust problem-solving capabilities. Optimized for software engineering, scientific analysis, and complex knowledge tasks, Grok 4.5 is well suited for advanced coding, research, and agent-driven workflows that require high accuracy and reliable long-horizon reasoning. | Gemini 3.1 Flash Image served from Google Vertex AI. Billed per image at US$0.067. Call it through /v1/chat/completions with stream set to false; the image is returned in the message content as a base64 data URI. Maximum output resolution is 2K. A request for a larger size, such as 4K or 4096x4096, returns a 2K image with the same aspect ratio at the same price. When a size is reduced, the response carries an X-Image-Resolution-Capped header with the requested and delivered size, for example 4096x4096->2048x2048. |