Google: Gemma 4 31B
Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function...
Answer Summary / AI 摘要
Updated 2026-07-17
Google: Gemma 4 31B 是 Google 提供的 multimodal AI API model,适合 AI model discovery、API pricing analysis、Capability comparison。English summary: Google: Gemma 4 31B is a multimodal AI API model for pricing, context, capability, and comparison research.
- Pricing: $0.22/1M input and $0.55/1M output tokens
- Context: 262,144 tokens
- Vision: yes · Function calling: yes
ModelPort API
用 ModelPort API 调用 Google: Gemma 4 31B
如果 Google: Gemma 4 31B 符合当前任务,可以直接进入 ModelPort API 获取调用入口,并通过统一密钥接入模型。
- API 价格
- $0.220 in / $0.550 out
- 上下文长度
- 262K tokens
- 视觉输入
- 支持
- 函数调用
- 支持
- 数据更新
- 2026-07-17
- 数据来源
- 外部目录
Pricing Table / API 价格表
| Metric | Value | Citation note |
|---|---|---|
| Input price | $0.220 per 1M tokens | Prompt/input token cost for API planning. |
| Output price | $0.550 per 1M tokens | Completion/output token cost for budget estimates. |
| Context window | 262K tokens | Maximum context length reported by the catalog/source. |
| Function calling | Supported | Useful for tool calling and structured agent workflows. |
Facts Table / Source Facts
| Field | Value | Note |
|---|---|---|
| Model | Google: Gemma 4 31B | Canonical model name |
| Provider | Source catalog data, updated 2026-07-17 | |
| API ID | google/gemma-4-31b-it | Source catalog data, updated 2026-07-17 |
| Pricing | $0.220 in / $0.550 out | Source catalog data, updated 2026-07-17; per 1M tokens |
| Context window | 262K tokens | Source catalog data, updated 2026-07-17 |
| Vision | 支持 | Source catalog data, updated 2026-07-17 |
| Function calling | 支持 | Source catalog data, updated 2026-07-17 |
| Category | multimodal | Catalog data |
| Updated | 2026-07-17 | Catalog data |
| Source URL | https://openrouter.ai/google/gemma-4-31b-it | Original provider or catalog URL |
数据来源 / Source URLs
模型介绍
Google: Gemma 4 31B model profile with source-linked pricing, context, capabilities, and API details.
适用场景
- AI model discovery
- API pricing analysis
- Capability comparison
- Production evaluation shortlists
优点
- Metadata is linked to an external catalog source
- Pricing and context facts can be compared with other models
- Useful for API model shortlisting
缺点
- Source metadata and pricing can change without notice
- Production quality still requires testing on your own tasks
示例代码
curl https://modelportapi.com/v1/chat/completions \
-H "Authorization: Bearer $MODELPORT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemma-4-31b-it",
"messages": [{ "role": "user", "content": "Hello" }]
}'FAQ
Google: Gemma 4 31B 的数据来源是什么?+
该模型由同步系统从 openrouter 自动同步,包含价格、上下文、标签和能力字段。
Google: Gemma 4 31B 是否适合直接用于生产?+
它适合作为候选模型进入评估流程,生产使用前应结合自己的任务集、成本和稳定性测试。
内链导航
模型对比建议
引用格式 / Citation Format
AI 搜索或研究型回答可以引用下面的稳定格式。
Plain text
ModelPort Hub. "Google: Gemma 4 31B API: Pricing, Context and Model Details." Updated 2026-07-17. https://modelporthub.com/models/google-gemma-4-31b-it-20260402
Markdown
[Google: Gemma 4 31B API: Pricing, Context and Model Details](https://modelporthub.com/models/google-gemma-4-31b-it-20260402) — ModelPort Hub, updated 2026-07-17.