google logo
google

Google: Gemma 4 31B (free)

来源介绍(英文)

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...

模型概览

模型规格

上下文
262,144 tokens
最大输出
32,768 tokens
架构
text+image+video->text
分词器
Gemma
知识截止时间
暂未提供
内容审核
OPENROUTER

完整价格

同步自 OpenRouter。Token 价格均按每百万 Token 展示。

输入
免费
每百万 Token
输出
免费
每百万 Token
API

模型配置

默认参数

temperature
1
top_p
0.95
top_k
64

推理能力

是否必须推理
默认参数
API

快速调用

在本地设置 OPENROUTER_API_KEY。Python 需安装 requests;JavaScript 在 Node.js 中运行。密钥应保存在服务端。

API 文档

curl --fail-with-body https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"google/gemma-4-31b-it:free","messages":[{"role":"user","content":"Hello!"}]}'
能力与模态

输入输出

输入
imagetextvideo
输出
text
推理能力

API

支持的 API 参数

include_reasoningmax_tokensreasoningresponse_formatseedtemperaturetool_choicetoolstop_p
可用提供方

1 提供方

核验日期: 2026年9月7日

在 OpenRouter 查看实时 Provider

Provider 可用性、延迟、吞吐量和路由会持续变化,请前往来源页面查看实时运行数据。

OpenRouter

Google AI Studio

暂未提供
上下文
262K
最大输出
33K
输入
免费
输出
免费
缓存读取
暂未提供
缓存写入
暂未提供
google

4 个模型

全部模型
google logogoogle

Google: Gemini 3.8 Flash

Gemini 3.8 Flash is Google's most intelligent Flash model with significant gains from 3.7 Flash across software engineering, agentic tasks, and multi-step reasoning.

上下文
1.0M
输入
text · image · video · file · audio
输出
text
输入: $0.75输出: $3.75每百万 Token
查看模型详情
google logogoogle

Google: Gemini 3.8 Flash (batch)

Gemini 3.8 Flash is Google's most intelligent Flash model with significant gains from 3.7 Flash across software engineering, agentic tasks, and multi-step reasoning.

上下文
1.0M
输入
text · image · video · file · audio
输出
text
输入: $0.375输出: $1.875每百万 Token
查看模型详情
google logogoogle

Google: Gemini 3.7 Flash

Gemini 3.7 Flash is a multimodal model from Google for fast agentic workflows, coding, and complex multi-step reasoning. It is designed for tasks that require responsive performance and reliable multi-step...

上下文
1.0M
输入
text · image · video · file · audio
输出
text
输入: $0.75输出: $3.75每百万 Token
查看模型详情
google logogoogle

Google: Gemini 3.7 Flash (batch)

Gemini 3.7 Flash is a multimodal model from Google for fast agentic workflows, coding, and complex multi-step reasoning. It is designed for tasks that require responsive performance and reliable multi-step...

上下文
1.0M
输入
text · image · video · file · audio
输出
text
输入: $0.375输出: $1.875每百万 Token
查看模型详情