We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
EssentialSession, security and preferences. Needed for the site to work.Always on
New here? See how it worksA 1-minute tour of the playground, models and your API key.
Input price is 300% higher than the median of 433 Text models.
Context window of 1,048,576 tokens, enough for long documents and multi-turn conversations.
Supports tool (function) calling for agents and integrations.
Supports structured JSON output with a schema.
Supports reasoning effort control.
Accepts images as input (vision).
A typical request (1,000 input / 500 output tokens) costs about $0.02.
About Google: Gemini 4 Carbon (batch)
Google: Gemini 4 Carbon (batch) is a frontier Gemini 4 model from Google, built for coding, agentic work and complex reasoning. It is a text model in the sense that it produces text, but it accepts far more than text on the way in. The batch variant is the version you call through api14 under the model id google/gemini-4-carbon:batch.
The model accepts audio, file, image, text and video input, and returns text output. Its context window is 1,048,576 tokens, and the maximum output length is 943,718 tokens. That combination of a very large context and a very large output budget means you can hand it long inputs and still expect substantial, complete responses rather than truncated ones. Reasoning is part of the model's surface: the supported parameters include reasoning, reasoning_effort and include_reasoning, so you can control how much internal reasoning is exposed or applied.
The practical use cases follow from those capabilities. Coding work fits naturally, including tasks that require reading a large codebase or long specification before producing a patch or a new implementation. Agentic workflows fit as well, since the model supports tools and tool_choice, letting it call functions or external services as part of a multi step task. Complex reasoning over mixed material is another strong fit: you can send a video, a set of images, an audio recording and supporting documents in the same request and ask for a written analysis. Long document and file processing, such as summarising or extracting structured data from large inputs, is also reasonable given the context size.
To call it through api14, use the OpenAI-compatible chat completions interface with the model id google/gemini-4-carbon:batch. The request parameters it supports are include_reasoning, max_tokens, reasoning, reasoning_effort, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools and top_p. If you need deterministic or schema-constrained output, response_format and structured_outputs are the relevant options, and seed helps with reproducibility. For agentic behaviour, tools and tool_choice are the ones to set. Reasoning behaviour is tuned through reasoning, reasoning_effort and include_reasoning, while temperature and top_p control sampling.
Because this is a batch variant, it is worth checking whether your workload needs the interactive path or can tolerate batch style processing. If your task is purely text in and text out with a modest context, a smaller text model may be simpler to work with. The model's strength is the combination of broad input modalities, a very large context window and a large output budget, so it makes most sense when at least one of those is a real requirement.
How much does the Google: Gemini 4 Carbon (batch) API cost?
Google: Gemini 4 Carbon (batch) costs Input $7.00 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
What is the context window of Google: Gemini 4 Carbon (batch)?
Google: Gemini 4 Carbon (batch) reads up to 1,048,576 tokens per request: prompt, history and documents together. It writes up to 943,718 output tokens per response.
What can Google: Gemini 4 Carbon (batch) do?
Google: Gemini 4 Carbon (batch) accepts audio, file, image, text, video and returns text. It supports tool calling, structured JSON output, reasoning effort control.
How do I call Google: Gemini 4 Carbon (batch) from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "google/gemini-4-carbon:batch". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to Google: Gemini 4 Carbon (batch)?
Comparable Text models at a similar price: OpenAI: GPT-6.2 Sol Pro, OpenAI: GPT-6.2 Sol, Google: Gemini 4 Argon (batch). Each runs through the same API key, so switching is one string.
This community has no topics yet. Open the first one about Google: Gemini 4 Carbon (batch).
Written by an AI model from our catalog data and translated automatically. The prices and limits in the tables come straight from the catalog. How we make content
How to call the Google: Gemini 4 Carbon (batch) API
Create an API key in your dashboard.
Install the official openai SDK for your language.
Set baseURL to https://api14.com/api/v1 and model to "google/gemini-4-carbon:batch".
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.chat.completions.create({
"model": "google/gemini-4-carbon:batch",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
from openai import OpenAI
import os
client = OpenAI(
base_url="https://api14.com/api/v1",
api_key=os.environ["API14_API_KEY"],
)
result = client.chat.completions.create(
model="google/gemini-4-carbon:batch",
messages=[
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
],
)
print(result.choices[0].message.content)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Main {
public static void main(String[] args) throws Exception {
String body = """
{
"model": "google/gemini-4-carbon:batch",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}
""";
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api14.com/api/v1/chat/completions"))
.header("Authorization", "Bearer " + System.getenv("API14_API_KEY"))
.header("Content-Type", "application/json")
.POST(HttpRequest.BodyPublishers.ofString(body))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
}
}
using OpenAI;
using OpenAI.Chat;
using System.ClientModel;
var client = new ChatClient(
model: "google/gemini-4-carbon:batch",
credential: new ApiKeyCredential(Environment.GetEnvironmentVariable("API14_API_KEY")!),
options: new OpenAIClientOptions { Endpoint = new Uri("https://api14.com/api/v1") });
ChatCompletion completion = client.CompleteChat("Explain vector databases in two sentences.");
Console.WriteLine(completion.Content[0].Text);