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.
- Claude Sonnet 5.5AnthropicRemove
- GLM 5Z.AIRemove
- Gemini 3.1 Flash Lite Image (Google Vertex AI)GoogleRemove
| Attribute | Claude Sonnet 5.5claude-sonnet-5.5 | GLM 5glm-5 | Gemini 3.1 Flash Lite Image (Google Vertex AI)gemini-3.1-flash-lite-image-vertex |
|---|---|---|---|
| Pricing | |||
| Input | $2.00 / 1M | $0.60 / 1M | — |
| Output | $10.00 / 1M | $2.20 / 1M | — |
| Cache Write (5m) | $2.50 / 1M | $0.60 / 1M | Not applicable |
| Cache Write (1h) | $4.00 / 1M | $0.60 / 1M | Not applicable |
| Cache Read | $0.10 / 1M | $0.60 / 1M | Not applicable |
| Web Search | $0 / 1M | $0 / 1M | — |
| Request | — | — | $0.0336 / request |
| Billing | — | — | Pay Per Request |
| Context | |||
| Max context | 1M | 202.8K | N/A |
| Max output | N/A | N/A | N/A |
| Capabilities | |||
| Vision | Yes | Yes | Yes |
| Function Calling | Yes | Yes | No |
| JSON Mode | Yes | Yes | No |
| Streaming | Yes | Yes | No |
| Catalogue | |||
| Provider | Anthropic | Z.AI | |
| Category | chat | chat | image |
| Charge type | Pay As You Go | Pay As You Go | Pay Per Request |
| Released | — | — | — |
| Description | |||
| Summary | Claude Sonnet 5.5 is Anthropic's Sonnet-class model for well-scoped everyday work, serving as a direct upgrade to Sonnet 5. It excels at feature development, bug fixing, and creating polished documents, presentations, and spreadsheets, while offering clearer writing and communication than its predecessor. | GLM-5 is Z.AI's flagship open-source foundation model, engineered for complex systems design and long-horizon agent workflows. Built with expert developers in mind, it delivers production-grade performance on large-scale programming tasks, rivaling leading closed-source models. With strong agentic planning, deep backend reasoning, and iterative self-correction capabilities, GLM-5 extends beyond traditional code generation to support full-system construction and autonomous execution, making it well suited for advanced engineering and agent-driven development environments. | 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. |