Vigia

Z.ai API pricing: all models, per million tokens

Input and output prices per million tokens, context windows and retirement dates for 20 Z.ai models, from the OpenRouter catalog. Updated automatically.

ModelInput / 1MOutput / 1MContext
z-ai/glm-5.3-flashx-legalUS$ 0.37US$ 1.251,048,576
z-ai/glm-5.3-primeUS$ 2.80US$ 8.801,000,000
z-ai/glm-5.3-flashxUS$ 0.37US$ 1.251,048,576
z-ai/glm-5.3-flashUS$ 0.0399US$ 0.07841,048,576
z-ai/glm-5.3-flash:batchUS$ 0.05US$ 0.181,048,576
z-ai/glm-5.3US$ 0.0699US$ 1.401,048,576
z-ai/glm-5.3:batchUS$ 0.45US$ 2.001,048,576
z-ai/glm-5.2US$ 0.007US$ 6.801,048,576
z-ai/glm-5.2:batchUS$ 0.322US$ 0.9891,048,576
z-ai/glm-5.1US$ 1.40US$ 4.40204,800
z-ai/glm-5v-turboUS$ 1.20US$ 4.00202,752
z-ai/glm-5-turboUS$ 1.20US$ 4.00202,752
z-ai/glm-5US$ 1.00US$ 3.20204,800
z-ai/glm-4.7-flashUS$ 0.0605US$ 0.4200,000
z-ai/glm-4.7US$ 0.6US$ 2.20204,800
z-ai/glm-4.6vUS$ 0.3US$ 0.9131,072
z-ai/glm-4.6US$ 0.5US$ 2.00204,800
z-ai/glm-4.5v retiring 2026-12-31US$ 0.6US$ 1.8065,536
z-ai/glm-4.5 retiring 2026-12-31US$ 0.6US$ 2.20131,072
z-ai/glm-4.5-airUS$ 0.2US$ 1.10131,072

Reference prices from OpenRouter (aggregator); they may differ from the provider's direct pricing.

Give your AI agent these facts

Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Add to CursorAdd to VS Code★ Star on GitHub

Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests

For agents

GET https://vigia.coredls.cloud/v1/models?provider=z-ai