google logo
google

Google: Gemma 3 4B

来源介绍(英文)

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

模型概览

模型规格

上下文
131,072 tokens
最大输出
16,384 tokens
架构
text+image->text
分词器
Gemini
知识截止时间
2024-08-31
内容审核
否
OPENROUTER

完整价格

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

输入
$0.05
每百万 Token
输出
$0.1
每百万 Token
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-3-4b-it","messages":[{"role":"user","content":"Hello!"}]}'
能力与模态

输入 → 输出

输入
textimage
输出
text
API

支持的 API 参数

frequency_penaltylogit_biaslogprobsmax_tokensmin_ppresence_penaltyrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetop_ktop_logprobstop_p
可用提供方

2 个提供方

核验日期: 2026年10月28日

在 OpenRouter 查看实时 Provider

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

OpenRouter

Parasail

bf16
上下文
131K
最大输出
118K
输入
$0.04
输出
$0.05
缓存读取
$0.02
缓存写入
暂未提供

DeepInfra

bf16
上下文
131K
最大输出
16K
输入
$0.05
输出
$0.1
缓存读取
暂未提供
缓存写入
暂未提供
google

4 个模型

全部模型
google logogoogle

Google: Gemini 4 Neon

Gemini 4 Neon is a fast, mid-priced model in the Gemini 4 family from Google, built for coding and agentic work. It is suited for repository and terminal coding, web...

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

Google: Gemini 4 Neon (batch)

Gemini 4 Neon is a fast, mid-priced model in the Gemini 4 family from Google, built for coding and agentic work. It is suited for repository and terminal coding, web...

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

Google: Gemini 4 Hydrogen

Gemini 4 Hydrogen is the high-efficiency workhorse model of the Gemini 4 family from Google, built for high-throughput agentic workflows, coding and multi-model routing at lower cost and latency than...

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

Google: Gemini 4 Hydrogen (batch)

Gemini 4 Hydrogen is the high-efficiency workhorse model of the Gemini 4 family from Google, built for high-throughput agentic workflows, coding and multi-model routing at lower cost and latency than...

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