Gemma 3 introduces multimodality, supporting vision-language input and text outputs. It handles context windows up to 128k tokens, understands over 140 languages, and offers improved math, reasoning, and chat capabilities, including structured outputs and function calling.
提供商
不同公司托管同一模型。OpenRouter 根据您选择的路由模式将请求路由到其中一家公司:Balanced(价格 + 速度)、Nitro(速度最快)或 Floor(价格最低)。
| US$0.050 | US$0.10 | -- | 1.46s | 34 tok/s | ||
| US$0.075 | US$0.15 | -- | 0.95s | 39 tok/s | ||
| US$0.040 | US$0.05 | US$0.02 | 3.13s | 6 tok/s | ||
不用于 Standard 路由:未使用这些端点的原因 | ||||||
| US$0.040 | US$0.08 | -- | -- | -- | ||
输入 US$0.05 / 输出 US$0.1034 tok/s99.83% 正常运行时间
输入 US$0.075 / 输出 US$0.1539 tok/s99.22% 正常运行时间Priority- 输入 US$0.04 / 输出 US$0.056 tok/s96.23% 正常运行时间
- 不用于 Standard 路由:未使用这些端点的原因
输入 US$0.04 / 输出 US$0.08-- tok/s-- 正常运行时间Flex
定价
客户为此模型实际支付的平均价格,与提供商公布的价格并列展示。由于缓存和折扣,实际支付的价格往往远低于标价。
加权平均值
Gemma 3 4B — 价格历史
| US$0.0274 | US$0.0471 | 58.6% | 32.4% | ||
| US$0.0497 | US$0.0952 | 0.0% | 34.6% | ||
| US$0.0744 | US$0.1353 | 0.0% | 33.0% | ||
不用于 Standard 路由:未使用这些端点的原因 | |||||
| US$0.0000 | US$0.0000 | 0.0% | 0.0% | ||
- 有效输入价格 US$0.0274 / 实际输出 US$0.0471token 占比32.4%
- 有效输入价格 US$0.0497 / 实际输出 US$0.0952token 占比34.6%
- 有效输入价格 US$0.0744 / 实际输出 US$0.1353Prioritytoken 占比33.0%
- 不用于 Standard 路由:未使用这些端点的原因
- 有效输入价格 US$0.0000 / 实际输出 US$0.0000Flextoken 占比0.0%
性能
吞吐量是模型生成内容的速度(每秒 token 数,越高越好)。延迟是完整的往返时间(越低越好)。TTFT 是首个 token 的响应时间,即您看到内容出现前需要等待的时间(越低越好)。
P50,所有提供商中最佳
P50,最佳提供商
正常运行时间
正常运行时间是指过去 3 天中至少有一家提供商响应请求的时间百分比。可用性是指成功提供推理服务的时间百分比。OpenRouter 会持续监控,并在某家提供商返回错误时使用次优提供商。
过去 3 天的可用性
最近 72 小时过去 24 小时的可用性
当上游提供商发生错误时,如果您的请求筛选条件允许,我们可以通过路由到另一家健康的提供商来恢复服务。您可以通过以下接口以编程方式访问各提供商的正常运行时间数据: 端点 API。了解更多有关我们的 负载均衡和提供商路由选项。
基准测试
标准化评测得分,以及此模型针对共用基准测试提示词的实际输出。百分比越高越好,每项排名显示此模型在该来源所评测的模型中的位置。
| 来源 | 基准测试 | 得分 |
|---|---|---|
| Artificial Analysis | Gemma 3 4B Instruct Coding Index | 2.7 |
| Artificial Analysis | Gemma 3 4B Instruct GPQA Diamond | 29.1% |
| Artificial Analysis | Gemma 3 4B Instruct HLE | 5.3% |
| Artificial Analysis | Gemma 3 4B Instruct IFBench | 28.3% |
| Artificial Analysis | Gemma 3 4B Instruct τ²-Bench Telecom | 5.0% |
| Artificial Analysis | Gemma 3 4B Instruct AA-LCR | 6.7% |
| Artificial Analysis | Gemma 3 4B Instruct τ-Bench Banking | 0.4% |
| Artificial Analysis | Gemma 3 4B Instruct CritPt | 0.0% |
| Artificial Analysis | Gemma 3 4B Instruct LiveCodeBench | 11.2% |
| Artificial Analysis | Gemma 3 4B Instruct Terminal-Bench Hard | 0.8% |
| Artificial Analysis | Gemma 3 4B Instruct Terminal-Bench 2.1 | 0.4% |
| Artificial Analysis | Gemma 3 4B Instruct MMLU-Pro | 41.7% |
| Artificial Analysis | Gemma 3 4B Instruct AIME 2025 | 12.7% |
| Artificial Analysis | Gemma 3 4B Instruct AIME | 6.3% |
| Artificial Analysis | Gemma 3 4B Instruct MATH-500 | 76.6% |
应用
向此模型发送最多流量的公开应用。这能很好地反映实际生产工作负载的情况,也能提示此模型最适合哪些用例。
活动
此模型的 token 用量和请求流量随时间的变化。
API
可直接用于调用此模型的代码。OpenRouter 的 API 与 OpenAI 兼容——大多数 SDK 只需替换基础 URL 即可使用。切换模型时,唯一需要更改的是下方的模型标识符。
目前无法通过 EU 区域内路由使用。 区域内路由文档
常见问题
Gemma 3 introduces multimodality, supporting vision-language input and text outputs. It handles context windows up to 128k tokens, understands over 140 languages, and offers improved math, reasoning, and chat capabilities, including structured outputs and function calling.
Gemma 3 4B 的费用为 US$0.04/百万输入 token 和 US$0.05/百万输出 token,Cache Read,价格为 US$0.02/M tokens 单独计费。
Gemma 3 4B 的上下文窗口为 131,072 个 token。它最多支持 131,072 个补全 token。
不支持。Gemma 3 4B 不接受 tools,因此无法使用函数调用。 它还支持通过 response_format 中的 JSON schema 实现结构化输出。
Gemma 3 4B 接受 文本和图像 作为输入,并返回 文本。
在 OpenRouter 上,Gemma 3 4B 由 2 家提供商提供服务:Parasail和DeepInfra。 请求会路由至最佳的可用提供商,并在故障时自动切换至其他提供商,您也可以通过提供商路由固定或排除提供商。
Gemma 3 4B 于 2025年3月13日 发布。其知识截止日期为 2024年8月31日。