Google Gemma-4-31B-It - OpenRouter 免费 AI 模型,256K 上下文,$0 使用
Google Gemma-4-31B-It - OpenRouter 免费 AI 模型,256K 上下文,$0 使用
模型 ID
google/gemma-4-31b-it:free
这是 OpenRouter 免费模型,无需付费即可使用。
模型信息
| 属性 | 值 |
|---|---|
| 上下文长度 | 262144 tokens |
| 最大输出 | 8,192 tokens |
| 输入价格 | $0 / 1M tokens |
| 输出价格 | $0 / 1M tokens |
| 供应商 | OpenRouter |
| 状态 | 免费 |
描述
Gemma 4 31B Instruct 是 Google DeepMind 的 30.7B 稠密多模态模型,支持文本和图像输入、文本输出。具备 256K token 上下文窗口,可配置思考/推理模式,以及原生函数调用和工具使用能力。
核心特性:
- 30.7B 稠密架构,稳定性能
- 256K 超长上下文窗口
- 支持文本 + 图像多模态输入
- 可配置思考/推理模式
- 原生函数调用和工具使用
- 多语言支持
使用示例
curl https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemma-4-31b-it:free",
"messages": [{"role": "user", "content": "你好!"}]
}'