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 700% 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.05.
About Google: Gemini 4 Carbon
Google: Gemini 4 Carbon is a frontier model from Google, built for coding, agentic work and complex reasoning. It sits in the Gemini 4 family and is distributed through Google's own channels as well as gateways such as api14. If you are already working with other Gemini models, the request shape and behaviour will feel familiar, while the reasoning and agentic focus makes it a candidate for workloads where a general purpose chat model is not enough.
The model accepts text, image, audio, video and file input, and returns text. That combination matters for developers who need one endpoint to handle mixed media rather than stitching together separate transcription, vision and document pipelines. The context window is 1,048,576 tokens, which is large enough to hold long codebases, lengthy transcripts or multi document inputs in a single request. Output is capped at 32,768 tokens, so responses can be substantial but are not unbounded. Reasoning behaviour is exposed rather than hidden, which lets you decide how much internal deliberation the model performs before it answers.
Those capabilities point to a few practical patterns. Coding assistance over large repositories is a natural fit, since a big context window lets you supply many files at once and the reasoning support helps with multi step debugging or refactoring. Agentic workflows benefit from tool calling combined with reasoning, so the model can plan, call functions and revise its approach. Because audio, video, image and file inputs are all accepted, you can build assistants that summarise meetings, review screenshots, or answer questions over recorded material without a separate ingestion layer. Structured outputs make it usable as a component inside a larger system, where the response has to be parsed rather than read by a person.
You call it through api14's OpenAI-compatible API using the model id "google/gemini-4-carbon". The supported request parameters are include_reasoning, max_tokens, reasoning, reasoning_effort, response_format, seed, structured_outputs, temperature, tool_choice, tools and top_p. In practice that covers the usual sampling controls, deterministic output via seed, JSON and schema constrained responses through response_format and structured_outputs, and tool use through tools and tool_choice. The reasoning related parameters let you turn reasoning on or off and tune how much effort is spent on it, which is useful when you want to trade latency against depth on a per request basis.
One thing to keep in mind is that output is text only. If your application needs generated images, audio or video, this model will not produce them, and you would pair it with a dedicated generation model instead. The 32,768 token output ceiling also means very long generated artefacts, such as an entire large file in one shot, may need to be produced in stages. Within those bounds, it is a reasonable default for text centric work that involves reasoning, tools or mixed media input.
How much does the Google: Gemini 4 Carbon API cost?
Google: Gemini 4 Carbon costs Input $14.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?
Google: Gemini 4 Carbon 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 do?
Google: Gemini 4 Carbon 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 from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "google/gemini-4-carbon". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to Google: Gemini 4 Carbon?
Comparable Text models at a similar price: Google: Gemini Carbon Latest, OpenAI: GPT-6.2 Astra Pro (batch), OpenAI: GPT-6.2 Astra (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.
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 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".
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",
"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",
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",
"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",
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);