Vigia

Google API pricing: all models, per million tokens

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

ModelInput / 1MOutput / 1MContext
google/gemini-nano-banana-2.1US$ 1.50US$ 7.5065,536
google/gemini-3.8-flashUS$ 0.75US$ 3.751,048,576
google/gemini-3.8-flash:batchUS$ 0.375US$ 1.881,048,576
google/gemini-3.7-flashUS$ 0.75US$ 3.751,048,576
google/gemini-3.7-flash:batchUS$ 0.375US$ 1.881,048,576
google/gemini-3.6-flashUS$ 0.75US$ 3.751,048,576
google/gemini-3.6-flash:batchUS$ 0.375US$ 1.881,048,576
google/gemini-3.5-flash-liteUS$ 0.3US$ 2.501,048,576
google/gemini-3.5-flash-lite:batchUS$ 0.15US$ 1.251,048,576
google/gemini-3.1-flash-lite-imageUS$ 0.25US$ 1.5065,536
google/gemini-3.1-flash-imageUS$ 0.5US$ 3.00131,072
google/gemini-3-pro-imageUS$ 2.00US$ 12.00131,072
google/gemini-3.5-flashUS$ 1.50US$ 9.001,048,576
google/gemini-3.5-flash:batchUS$ 0.75US$ 4.501,048,576
google/gemini-3.1-flash-liteUS$ 0.25US$ 1.501,048,576
google/gemini-3.1-flash-lite:batchUS$ 0.125US$ 0.751,048,576
google/gemma-4-26b-a4b-itUS$ 0.09US$ 0.3262,144
google/gemma-4-26b-a4b-it:freeUS$ 0US$ 0262,144
google/gemma-4-31b-itUS$ 0.09US$ 0.34262,144
google/gemma-4-31b-it:freeUS$ 0US$ 0262,144
google/lyria-3-pro-previewUS$ 0US$ 01,048,576
google/lyria-3-clip-previewUS$ 0US$ 01,048,576
google/gemini-3.1-flash-lite-previewUS$ 0.25US$ 1.501,048,576
google/gemini-3.1-flash-image-previewUS$ 0.5US$ 3.0065,536
google/gemini-3.1-pro-preview-customtoolsUS$ 2.00US$ 12.001,048,576
google/gemini-3.1-pro-previewUS$ 2.00US$ 12.001,048,576
google/gemini-3.1-pro-preview:batchUS$ 1.00US$ 6.001,048,576
google/gemini-3-flash-previewUS$ 0.5US$ 3.001,048,576
google/gemini-3-flash-preview:batchUS$ 0.25US$ 1.501,048,576
google/gemini-3-pro-image-previewUS$ 2.00US$ 12.0065,536
google/gemini-2.5-flash-imageUS$ 0.3US$ 2.5032,768
google/gemini-2.5-flash-lite retiring 2026-10-20US$ 0.1US$ 0.41,048,576
google/gemini-2.5-flash-lite:batchUS$ 0.05US$ 0.21,048,576
google/gemini-2.5-flash retiring 2026-10-20US$ 0.3US$ 2.501,048,576
google/gemini-2.5-flash:batch retiring 2026-10-20US$ 0.15US$ 1.251,048,576
google/gemini-2.5-pro retiring 2026-10-20US$ 1.25US$ 10.001,048,576
google/gemini-2.5-pro:batch retiring 2026-10-20US$ 0.625US$ 5.001,048,576
google/gemini-2.5-pro-previewUS$ 1.25US$ 10.001,048,576
google/gemma-3-4b-itUS$ 0.05US$ 0.1131,072
google/gemma-3-12b-itUS$ 0.05US$ 0.15131,072
google/gemma-3-27b-itUS$ 0.08US$ 0.45131,072
google/gemma-2-27b-itUS$ 0.65US$ 0.658,192

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=google