Skip to content

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.

  1. GLM 5Z.AIRemove
  2. GPT-6.1 TerraOpenAIRemove
  3. Gemini 3.1 Flash Lite Image (Google Vertex AI)GoogleRemove
glm-5 vs gpt-6.1-terra vs gemini-3.1-flash-lite-image-vertex
AttributeGLM 5glm-5GPT-6.1 Terragpt-6.1-terraGemini 3.1 Flash Lite Image (Google Vertex AI)gemini-3.1-flash-lite-image-vertex
Pricing
Input$0.60 / 1M$1.00 / 1M—
Output$2.20 / 1M$5.00 / 1M—
Cache Write (5m)$0.60 / 1M$1.00 / 1MNot applicable
Cache Write (1h)$0.60 / 1M$1.00 / 1MNot applicable
Cache Read$0.60 / 1M$1.00 / 1MNot applicable
Web Search$0 / 1M$0 / 1M—
Request——$0.0336 / request
Billing——Pay Per Request
Context
Max context202.8K1MN/A
Max outputN/AN/AN/A
Capabilities
VisionYesYesYes
Function CallingYesYesNo
JSON ModeYesYesNo
StreamingYesNoNo
Catalogue
ProviderZ.AIOpenAIGoogle
Categorychatchatimage
Charge typePay As You GoPay As You GoPay Per Request
Released———
Description
SummaryGLM-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.GPT-6.1 Terra is OpenAI’s mid-tier model in the GPT-6.1 series, designed to balance capability, speed, and cost efficiency. Positioned below GPT-6.1 Sol, it delivers strong performance across everyday agentic workflows, coding, and professional writing, with particular strengths in screenshot understanding and on-screen content analysis. Optimized for high-volume production workloads, GPT-6.1 Terra is well suited for coding assistants, visual interface analysis, workflow automation, and scalable agentic applications that require reliable performance at an accessible cost.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.