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 | Claude Opus 4.8claude-opus-4-8 | Gemini 3.1 Flash Lite Image (Google Vertex AI)gemini-3.1-flash-lite-image-vertex |
|---|---|---|
| Pricing | ||
| Input | $5.00 / 1M | — |
| Output | $25.00 / 1M | — |
| Cache Write (5m) | $6.25 / 1M | Not applicable |
| Cache Write (1h) | $10.00 / 1M | Not applicable |
| Cache Read | $0.50 / 1M | Not applicable |
| Web Search | $0 / 1M | — |
| Request | — | $0.0336 / request |
| Billing | — | Pay Per Request |
| Context | ||
| Max context | 1M | 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 | Anthropic | |
| Category | chat | image |
| Charge type | Pay As You Go | Pay Per Request |
| Released | — | — |
| Description | ||
| Summary | Claude Opus 4.8 is Anthropic's most capable generally available model in the Opus family, designed for highly autonomous agents, long-horizon workflows, and advanced knowledge work. It supports text, image, and file inputs with text output, includes reasoning capabilities, and features a 1M-token context window for maintaining coherence across extended tasks and sessions. The model excels at multi-step reasoning, complex coding, and end-to-end project orchestration, including large codebases, multi-stage debugging, and long-running asynchronous agent pipelines. Beyond software engineering, it is highly effective for document drafting, presentation creation, data analysis, and memory-driven workflows, delivering consistent quality across very long outputs and complex projects. | Gemini 3.1 Flash Lite Image served from Google Vertex AI. Billed per image at US$0.0336. 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 1K. A request for a larger size returns a 1K 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. |