Google Gemini 3.1 Flash Lite preview vs Z AI Glm 4.7

Google Gemini 3.1 Flash Lite preview vs Z AI Glm 4.7: Google Gemini 3.1 Flash Lite preview is cheaper by 37% on average. Google Gemini 3.1 Flash Lite preview from OpenRouter (1,048,576-token context, reasoning, tool calls) vs. Z AI Glm 4.7 from OpenRouter (202,752-token context, reasoning, tool calls). Use Agent Command Center to A/B both in shadow mode and pick the winner per workload.

Side-by-side cost

Live workload comparison

Same workload run through both models. The cheaper one is highlighted.

3,000
01,048,576
400
065,536
5,000
01,000,000
OpenRouter
$205/mo
Input $0.250/M · Output $1.50/M
OpenRouter
$274/mo
Input $0.400/M · Output $1.50/M
At this workload, Google Gemini 3.1 Flash Lite preview is 25% cheaper than Z AI Glm 4.7 — a savings of $68.48/month ($822/year).
Production recipe — Agent Command Center
strategy: cost-optimized
primary:
  model: google-gemini-3-1-flash-lite-preview
  provider: openrouter
fallback:
  model: z-ai-glm-4-7
  provider: openrouter
shadow: { sample_rate: 0.05 }   # mirror 5% of traffic to compare quality live
Google Gemini 3.1 Flash Lite preview Z AI Glm 4.7
Input price $0.250/M $0.400/M
Output price $1.50/M $1.50/M
Context window 1,048,576 202,752
Max output 65,536 64,000
Function calling
Vision
Audio input
Reasoning
Prompt caching
Structured output
Pricing verified May 12, 2026 May 12, 2026
Cheaper option
~37% cheaper than Z AI Glm 4.7
Larger context
1,048,576 tokens
More capabilities
6 of 6 capability flags advertised