跳至内容
Google Gemma 3 4B

Google Gemma 3 4B

模型 ID google/gemma-3-4b-it:free
这是 OpenRouter 免费模型,无需付费即可使用。

模型信息

属性
上下文长度32768 tokens
最大输出8,192 tokens
输入价格$0 / 1M tokens
输出价格$0 / 1M tokens
供应商OpenRouter
状态免费

描述

Gemma 3 4B 引入多模态能力,支持视觉语言输入和文本输出,理解 140+ 种语言。

使用示例

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemma-3-4b-it:free",
    "messages": [{"role": "user", "content": "你好!"}]
  }'

相关链接