Google: Gemini 4 Carbon

google/google/gemini-4-carbon

Google Gemini 4 Carbon API pricing

Gemini 4 Carbon costs $0.800 per million input tokens and $4.00 per million output tokens on Oxyy. These are the pay-as-you-go prices after the current 60% discount (Launch Promo; standard price $2.00 input and $10.00 output), and cached input tokens are billed at $0.040 per million. Web search is billed on top, at $5.60 per 1K searches. It accepts text, images, audio and video and returns text, with a 1.05M-token context window and up to 1.05M output tokens per response. A cheaper Google option is Gemini 2.5 Pro at $0.500 / $4.00 per 1M tokens; for every model and rate, see Gemini API pricing.

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.

ModalitiesTextImageAudioVideoText
Price$0.800 / $4.00 per 1M tokens in / outAll Gemini API pricing
Web search$5.60 per 1K searches
Context1.05M

Providers

Where this model runs, and what each route costs. Requests are sent to a healthy provider automatically; if one errors, the gateway retries against another serving the same model.

ProviderInput /MOutput /MCache read /M
Google$0.800$4.00$0.040

Capabilities (12)

StreamingTool callingParallel tool callsStructured outputReasoningThinkingSystem promptVisionPDF inputPrompt cachingWeb searchStop sequences

Supported parameters (17)

temperaturetop_ptop_kseedmax_tokensstop_sequencesfrequency_penaltypresence_penaltylogprobstop_logprobstoolstool_choiceresponse_formatreasoning_effortthinking_configstopstream

A parameter not listed here may be removed before the request reaches the model. When it is, the request still succeeds and the response names it, with the reason, in provider_specific_fields.dropped_params.

Pricing

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.

Input price
$0.800
per 1M input tokens · standard price $2.00
Output price
$4.00
per 1M output tokens · standard price $10.00
RateStandard priceChargedUnit
Input$2.00$0.800per 1M input tokens
Output$10.00$4.00per 1M output tokens
Cached input$0.100$0.040per 1M cached input tokens
Web search (low context)$14.00$5.60per 1K searches
Web search (medium context)$14.00$5.60per 1K searches
Web search (high context)$14.00$5.60per 1K searches

Discount. Charged rates include the current "Launch Promo" discount of 60% on every rate.

Search context size. A grounded request is billed at the web-search rate for the context size it asks for (low, medium or high), on top of its tokens.

UTC

Specifications

Model ID
google/gemini-4-carbon
Developer
Google
Type
Text
Input
Text, images, audio and video
Output
Text
Context window
1,048,576 tokens
Max output
1,048,576 tokens
Tokenizer
Gemini
Series
Gemini 4
Image input
Up to 20 MB each · PNG, JPEG, WebP, HEIC, HEIF
Audio input
Up to 50 MB each · WAV, MP3, AIFF, AAC, OGG, FLAC
Video input
Up to 100 MB each · MP4, MPEG, MOV, AVI, X-FLV, MPG, WEBM, WMV, 3GPP
Endpoint
/v1/chat/completions

Best for

ChatCodingAgentsDocument analysisVideo understanding

Quickstart

Call google/gemini-4-carbon with a POST to /v1/chat/completions on https://api.oxyy.ai, using your Oxyy API key from the OXYY_API_KEY environment variable. The same key works for every model in the catalog.

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)

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

Frequently asked questions

What is 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.
How much does Gemini 4 Carbon cost?
Gemini 4 Carbon costs $0.800 per million input tokens and $4.00 per million output tokens on Oxyy. These are the pay-as-you-go prices after the current 60% discount (Launch Promo; standard price $2.00 input and $10.00 output), and cached input tokens are billed at $0.040 per million. Web search is billed on top, at $5.60 per 1K searches. You pay per request, with no subscription.
What is the context length of Gemini 4 Carbon?
Gemini 4 Carbon has a context window of 1,048,576 tokens, and can return up to 1,048,576 tokens in one response.
Does Gemini 4 Carbon support tool calling and structured outputs?
Yes — Gemini 4 Carbon supports both tool calling and structured outputs.
What inputs and outputs does Gemini 4 Carbon support?
Gemini 4 Carbon accepts text, images, audio and video as input and returns text.
Which API endpoint does Gemini 4 Carbon use?
Send a POST request to https://api.oxyy.ai/v1/chat/completions with "model": "google/gemini-4-carbon", authenticated with your Oxyy API key. It is also served on /v1beta/models/google/gemini-4-carbon:generateContent (Google Gemini SDK) and /v1/responses (Responses API).
What other models does Google have?
Google also offers Gemini 2.5 Flash, Gemini 2.5 Flash-Lite, Gemini 2.5 Pro and Gemini 3.1 Flash-Lite through Oxyy.

Alternatives to Gemini 4 Carbon

Models of the same kind from other vendors, closest in price first. Prices are pay-as-you-go on Oxyy, through the same API key.

Explore more models

More models from Google