Google: Gemini 4 Carbon
Google Gemini 4 Carbon API pricing
在Oxyy上,Gemini 4 Carbon的输入token价格为每百万$0.800,outputtoken价格为每百万$4.00。 这些是应用当前 60% 折扣后的按量付费价格(Launch Promo; standard price $2.00 input and $10.00 output), and 缓存的输入 token 按每百万 $0.040 计费. 网络搜索将按额外费用计费,价格为 $5.60 每 1K 次搜索。 它接受 text, images, audio and video 并返回 text, 支持 a 1.05M-token 上下文窗口 和 每次响应最多 1.05M 个输出 token. A cheaper Google option is Gemini 2.5 Pro at $0.500 / $4.00 per 1M tokens; 查看所有模型与费率的 Gemini API 定价.
Multimodal Gemini model with a 1M-token context window. Accepts text, image, audio, video and file input, and supports tool use, context caching and Google Search grounding.
供应商
此模型的运行位置以及每个路由的费用。请求会自动发送到健康的提供商;如果某个提供商出错,网关会自动重试提供相同模型的另一个提供商。
| 提供方 | 输入 /M | 输出 /M | 缓存读取 /M |
|---|---|---|---|
| $0.800 | $4.00 | $0.040 |
功能特性 (12)
支持的参数 (17)
此处未列出的参数可能会在请求到达模型之前被移除。移除后,请求仍会成功,且响应会在 provider_specific_fields.dropped_params.
定价
What this model costs on Oxyy, pay as you go. "Charged" is the rate a request is billed at; the standard price is shown beside it for reference.
| 费率 | 标准价格 | 已扣费 | 单位 |
|---|---|---|---|
| 输入 | $2.00 | $0.800 | 每 1M 个输入 token |
| 输出 | $10.00 | $4.00 | 每 1M 个输出 token |
| 缓存输入 | $0.100 | $0.040 | 每 1M 个缓存输入 token |
| 网络搜索(low 上下文) | $14.00 | $5.60 | 每 1K 次搜索 |
| 网络搜索(medium 上下文) | $14.00 | $5.60 | 每 1K 次搜索 |
| 网络搜索(high 上下文) | $14.00 | $5.60 | 每 1K 次搜索 |
折扣。 收费费率已包含所有费率的当前 "Launch Promo" 60% 折扣。
搜索 context size。 联网搜索请求除了按 token 收费外,还会根据其要求的上下文大小(低、中或高)按网页搜索费率计费。
规格
- Model ID
google/gemini-4-carbon- 开发者
- 类型
- 文本
- 输入
- Text, images, audio and video
- 输出
- 文本
- 上下文窗口
- 1,048,576 tokens
- 最大输出
- 1,048,576 tokens
- 分词器
- Gemini
- 系列
- Gemini 4
- 图片输入
- 每个最大 20 MB · PNG, JPEG, WebP, HEIC, HEIF
- 音频输入
- 每个最大 50 MB · WAV, MP3, AIFF, AAC, OGG, FLAC
- 视频输入
- 每个最大 100 MB · MP4, MPEG, MOV, AVI, X-FLV, MPG, WEBM, WMV, 3GPP
- 端点
/v1/chat/completions
最适合
快速入门
调用 google/gemini-4-carbon 通过 POST 请求发送至 /v1/chat/completions 开启 https://api.oxyy.ai,使用来自的 Oxyy API key OXYY_API_KEY 环境变量。 同一密钥适用于目录中的所有模型。
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.oxyy.ai/v1",
api_key=os.environ["OXYY_API_KEY"],
)
response = client.chat.completions.create(
model="google/gemini-4-carbon",
messages=[
{"role": "user", "content": "Explain unified AI APIs in one sentence."},
],
)
print(response.choices[0].message.content)关于 Gemini 4 Carbon
常见问题
什么是 Gemini 4 Carbon?
Gemini 4 Carbon 的价格是多少?
Gemini 4 Carbon 的上下文长度是多少?
Gemini 4 Carbon 支持 tool calling 和 structured outputs 吗?
Gemini 4 Carbon 支持哪些输入和输出?
Gemini 4 Carbon 使用哪个 API 终端节点?
Google 还有哪些其他模型?
替代方案: Gemini 4 Carbon
其他供应商提供的同类模型,按价格从低到高排序。在 Oxyy 上按需付费,使用相同的 API Key。

