# Gemini 3.1 Flash-Lite vs GLM-5

Canonical HTML page: [Gemini 3.1 Flash-Lite vs GLM-5](<https://impossibl.com/compare/google/gemini-3.1-flash-lite/zai/glm-5>)
Markdown alternative: [Gemini 3.1 Flash-Lite vs GLM-5 as Markdown](<https://impossibl.com/compare/google/gemini-3.1-flash-lite/zai/glm-5.md>)

Compare API pricing, context windows, and capabilities side by side. Prices are published API usage rates in USD; check billing units and context tiers alongside each price.

## Specifications and pricing

| Specification | Gemini 3.1 Flash-Lite | GLM-5 |
| --- | --- | --- |
| API identifier | google/gemini-3.1-flash-lite | zai/glm-5 |
| Creator | Google | Z.AI |
| Model type | Text generation | Text generation |
| Inputs | text, image, audio, video | text |
| Outputs | text | text |
| Base input price (USD) | $0.25 per million input tokens | $1.00 per million input tokens |
| Base output price (USD) | $1.50 per million output tokens | $3.20 per million output tokens |
| Cache read price (USD) | $0.025 per million cached input tokens | $0.20 per million cached input tokens |
| Cache write price (USD) | Not published | Not published |
| One-hour cache write price (USD) | Not published | Not published |
| Audio input token price (USD) | $0.50 per million audio input tokens | Not published |
| Context window | 1,000,000 tokens | 200,000 tokens |
| Tool calling | Not published | Not published |
| Endpoints | /v1/chat/completions | /v1/chat/completions |
| Context pricing tiers (USD per million tokens) | None published | None published |
| Retirement | Not announced in the public catalog | Not announced in the public catalog |

When total input, including cached input, strictly exceeds a context threshold, the highest qualifying tier applies to the whole request. Consult each model's complete Markdown for tier-specific cache rates; an unpublished tier cache price does not establish the base cache rate.

## Gemini 3.1 Flash-Lite vs GLM-5: side-by-side summary

Gemini 3.1 Flash-Lite and GLM-5 are available through the Impossibl API.

They share the `/v1/chat/completions` endpoint. Set the model identifier to select the model for a supported request.

Gemini 3.1 Flash-Lite is created by Google. It has a 1,000,000-token context window. Base API pricing (USD): $0.25 per million input tokens; $1.50 per million output tokens.

GLM-5 is created by Z.AI. It has a 200,000-token context window. Base API pricing (USD): $1.00 per million input tokens; $3.20 per million output tokens.

## Model details

- [Gemini 3.1 Flash-Lite: full model facts as Markdown](<https://impossibl.com/google/gemini-3.1-flash-lite.md>); [HTML model page](<https://impossibl.com/google/gemini-3.1-flash-lite>)
- [GLM-5: full model facts as Markdown](<https://impossibl.com/zai/glm-5.md>); [HTML model page](<https://impossibl.com/zai/glm-5>)

For compatible text or embedding models with token pricing, the HTML comparison page provides a shared workload calculator. It excludes cache creation, tool calls, taxes, balance-purchase fees, and workspace-specific adjustments.

## Sources and related links

Prices, capabilities, limits, and availability describe the public Impossibl API offering. An unpublished fact is unknown; a published zero price is zero. Compare matching billing units and check context tiers before estimating costs.

- [Public Impossibl model catalog](<https://api.impossibl.com/v1/models>)
- [Full model directory as JSON](<https://impossibl.com/models.json>)
- [Model directory as Markdown](<https://impossibl.com/models.md>)
- [API quickstart](<https://impossibl.com/docs/agent-quickstart>)
- [Model documentation](<https://impossibl.com/docs/models>)
