APIPod logoAPIPod
Google

Gemini 4 Hydrogen

提供商Google输入类型textimageaudiovideofile输出类型text上下文窗口1M最大输出66K

提供商

该模型可通过多个入口访问,选择不同入口即可查看对应的价格与代码示例。

Google默认
$0.75 / $3.75/ 1M tokens原价 × 0.50
支持的格式Google Gemini

Google Gemini AIStudio 官方渠道

价格

按 token 用量计费,价格透明,无订阅或隐藏费用。

Google
google/gemini-4-hydrogen
当前入口切换
每 100 万 tokens
输入
提示词与上下文 tokens
$0.75
输出
模型生成的完成 tokens
$3.75
缓存读取
复用或写入的提示词上下文
$0.0375
缓存写入
复用或写入的提示词上下文
$0.9375

代码示例

复制下方示例,几行代码即可接入该模型。

API / 请求示例

代码示例与 API

创建 API Key
curl "https://api.apipod.ai/v1beta/models/gemini-4-hydrogen:generateContent" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -d '{
    "contents": [
      {
        "role": "user",
        "parts": [
          {"text": "What is the meaning of life?"}
        ]
      }
    ]
  }'