Vigia

Google API 价格:全部模型,按每百万 token 计

根据 OpenRouter 目录,Google 的 47 个模型的每百万 token 输入和输出价格、上下文窗口及停用日期。自动更新。

模型输入 / 1M输出 / 1M上下文
google/gemini-4-hydrogenUS$ 1.50US$ 7.501,048,576
google/gemini-4-hydrogen:batchUS$ 0.75US$ 3.751,048,576
google/gemini-4-carbonUS$ 2.00US$ 10.001,048,576
google/gemini-4-carbon:batchUS$ 1.00US$ 5.001,048,576
google/gemini-omni-1.2-flashUS$ 1.50US$ 9.00131,072
google/gemini-omni-1.1-flashUS$ 1.50US$ 9.00131,072
google/gemini-4-argonUS$ 2.00US$ 10.001,048,576
google/gemini-4-argon:batchUS$ 1.00US$ 5.001,048,576
google/gemini-nano-banana-2.1US$ 1.50US$ 7.5065,536
google/gemini-3.8-flashUS$ 0.825US$ 4.131,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.28262,144
google/gemma-4-26b-a4b-it:freeUS$ 0US$ 0262,144
google/gemma-4-31b-itUS$ 0.2US$ 0.4262,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-liteUS$ 0.1US$ 0.41,048,576
google/gemini-2.5-flashUS$ 0.3US$ 2.501,048,576
google/gemini-2.5-proUS$ 1.25US$ 10.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.35131,072
google/gemma-2-27b-itUS$ 0.65US$ 0.658,192

参考价格来自 OpenRouter(聚合平台),可能与提供商的直接价格不同。

把这些数据交给你的 AI 智能体

Vigia 是免费的 MCP 服务器:你的编程智能体在写代码之前就能检查版本、不兼容变更和安全漏洞。无需注册,无需 API 密钥。

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

添加到 Cursor添加到 VS Code★ 在 GitHub 上加星

任何其他 MCP 客户端
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

智能体技能(SKILL.md):告诉智能体何时使用 Vigia · 用于拉取请求的 GitHub Action

供智能体使用

GET https://vigia.coredls.cloud/v1/models?provider=google