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 4 Argon

Gemini 4 Argon is Google's flagship reasoning model, built for complex software engineering, deep mathematical and scientific problem solving, and autonomous multi-step agents. Google trained it to keep context across...

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

Google: Gemini 4 Argon (batch)

Gemini 4 Argon is Google's flagship reasoning model, built for complex software engineering, deep mathematical and scientific problem solving, and autonomous multi-step agents. Google trained it to keep context across...

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

Google: Nano Banana 2.1

Nano Banana 2.1 (Gemini Nano Banana 2.1) is Google's image generation and editing model on the Flash tier, succeeding Nano Banana 2 and Nano Banana Pro. It improves product recontextualization,...

上下文
66K
输入
image · text
输出
image · text
输入: $1.5 每百万 Token输出: $7.5 每百万 Token
查看模型详情 →
google logogoogle

Google: Gemini 3.5 Transcribe

Gemini 3.5 Transcribe is a speech-to-text model from Google. It is suited for synchronous transcription that needs word-level timestamps or speaker diarization, with support for up to eight speakers. Audio...

上下文
98K
输入
audio
输出
transcription
输入: $2 每百万 Token输出: $12 每百万 Token
查看模型详情 →