Google: Gemini 4 Carbon

google/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.

模态文本图片音频视频文本
价格$0.800 / $4.00 每 1M 输入 / 输出 tokenAll Gemini API 定价
网页搜索$5.60 每 1K 次搜索
上下文1.05M

供应商

此模型的运行位置以及每个路由的费用。请求会自动发送到健康的提供商;如果某个提供商出错,网关会自动重试提供相同模型的另一个提供商。

提供方输入 /M输出 /M缓存读取 /M
Google$0.800$4.00$0.040

功能特性 (12)

流式传输工具调用并行工具调用结构化输出推理思考系统 prompt视觉PDF 输入Prompt 缓存网页搜索停止序列

支持的参数 (17)

temperaturetop_ptop_kseedmax_tokensstop_sequencesfrequency_penaltypresence_penaltylogprobstop_logprobstoolstool_choiceresponse_formatreasoning_effortthinking_configstopstream

此处未列出的参数可能会在请求到达模型之前被移除。移除后,请求仍会成功,且响应会在 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.

输入价格
$0.800
每 1M 个输入 token · standard price $2.00
输出价格
$4.00
每 1M 个输出 token · standard price $10.00
费率标准价格已扣费单位
输入$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 收费外,还会根据其要求的上下文大小(低、中或高)按网页搜索费率计费。

UTC

规格

Model ID
google/gemini-4-carbon
开发者
Google
类型
文本
输入
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

最适合

聊天编程AgentsDocument analysisVideo understanding

快速入门

调用 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 is a Google Gemini model with a context window of 1,048,576 tokens. It accepts text, image, audio, video and file input and returns text. It supports function calling, structured output, implicit and explicit context caching, and grounding with Google Search. The model is offered on standard, flex and priority service tiers.

常见问题

什么是 Gemini 4 Carbon?
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.
Gemini 4 Carbon 的价格是多少?
在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 次搜索。 按请求付费,无需订阅。
Gemini 4 Carbon 的上下文长度是多少?
Gemini 4 Carbon 拥有 1,048,576 个 token 的上下文窗口, and can return up to 1,048,576 tokens in one response。
Gemini 4 Carbon 支持 tool calling 和 structured outputs 吗?
是的 — Gemini 4 Carbon 同时支持工具调用和结构化输出。
Gemini 4 Carbon 支持哪些输入和输出?
Gemini 4 Carbon 接受 text, images, audio and video 作为输入并返回 text。
Gemini 4 Carbon 使用哪个 API 终端节点?
向 https://api.oxyy.ai/v1/chat/completions 发送带有 "model": "google/gemini-4-carbon" 的 POST 请求,并使用你的 Oxyy API key 进行身份验证。 It is also served on /v1beta/models/google/gemini-4-carbon:generateContent (Google Gemini SDK) and /v1/responses (Responses API).
Google 还有哪些其他模型?
Google 还通过 Oxyy 提供 Gemini 2.5 Flash, Gemini 2.5 Flash-Lite, Gemini 2.5 Pro and Gemini 3.1 Flash-Lite。

替代方案: Gemini 4 Carbon

其他供应商提供的同类模型,按价格从低到高排序。在 Oxyy 上按需付费,使用相同的 API Key。

探索更多模型

更多来自以下机构的模型 Google