---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://modelslab.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
title: Gemini Carbon Latest API – Pricing & Playground | ModelsLab
description: Gemini Carbon Latest API by Google, 1M context. $2.50/1M input, $12.50/1M output tokens. API & playground on ModelsLab.
url: https://modelslab.com/models/google/google-gemini-carbon-latest.md
canonical: https://modelslab.com/models/google/google-gemini-carbon-latest
type: product
component: Playground/LLM/Index
generated_at: 2026-12-01T04:23:46.385546Z
---

Google: Gemini Carbon Latest
---

 [LLMs.txt](https://modelslab.com/models/google/google-gemini-carbon-latest/llms.txt) [.md](https://modelslab.com/models/google/google-gemini-carbon-latest.md)

Google: Gemini Carbon Latest
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

images, PDFs and text files

Send

### Google: Gemini Carbon Latest

google google-gemini-carbon-latest

Copy model ID

PricingInput $2.50 / 1M tokens

Output $12.50 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens4000

Top P0.9

Frequency Penalty0

Presence Penalty0

Thinkinglow

lowmediumhigh

Deeper thinking spends more of the Max Tokens budget before the answer starts.

Model Info

Support

Looking for something different?
---

Models that trade off differently against the one you are viewing

### Better quality

Newer flagship models that generally produce stronger results.

![GPT 5.1 API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/fad83520-47a8-4059-b4b9-b32adf4d0be7.png)

[OpenAI](/models/openai)

 [GPT 5.1](/models/openai/gpt5.1)

![GPT-5.1-Codex-Max API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/06356c4c-df09-4ccb-a5c0-629da670f75b.png)

[OpenAI](/models/openai)

 [GPT-5.1-Codex-Max](/models/openai/gpt-5.1-codex-max)

### Lower cost per run

Open-source models we host, unlimited on the $149/month plan.

![Gemini 2.5 Flash API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/4fc6b09e-c7ae-4301-aed1-0b180b88157b.png)

[Google](/models/google)

 [Gemini 2.5 Flash](/models/google/gemini-2.5-flash)

![gpt-oss-20b API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/8b2f0440-52cc-4f41-93eb-d31006ad71e2.webp)

[OpenAI](/models/openai)

 [gpt-oss-20b](/models/openai/gpt-oss-20b)

![Gemini 2.5 Flash Image Preview  API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/97c6f065-57f9-45b0-a190-08e5f97f70a8.png)

[Google](/models/google)

 [Gemini 2.5 Flash Image Preview](/models/google/gemini-2.5-flash-image-preview)

![Gemini 2.5 Pro API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/ede9a278-de62-47fb-a53d-99ee4c7b7abc.png)

[Google](/models/google)

 [Gemini 2.5 Pro](/models/google/gemini-2.5-pro)

![OpenAI: GPT-5 Mini API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/0bda788d-705d-4cbd-9c9d-dcdaa12b9493.webp)

[OpenAI](/models/open_router)

 [OpenAI: GPT-5 Mini](/models/openai/openai-gpt-5-mini)

![Gemma 3N E4B Instruct API](https://images.modelslab.sh/?Image=https://assets.modelslab.ai/generations/b5ad4a07-e4eb-4d39-85d1-58ec000a8a4f.png)

[Google](/models?feature=llmaster&provider=google)

 [Gemma 3N E4B Instruct](/models/google/google-gemma-3n-e4b-it)

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[#### Anthropic/Anthropic: Claude Haiku 4.5

anthropic-claude-haiku-4.5

From $3.75/M tokens](/models/anthropic/anthropic-claude-haiku-4.5)

[#### Mistral AI/Mistral (7B) Instruct v0.3

mistralai-Mistral-7B-Instruct-v0.3

From $0.25/M tokens](/models/mistralai/mistralai-mistral-7b-instruct-v0.3)

[#### Meta/Llama 4 Maverick Instruct (17Bx128E)

meta-llama-Llama-4-Maverick-17B-128E-Instruct-FP8

From $0.70/M tokens](/models/meta/meta-llama-llama-4-maverick-17b-128e-instruct-fp8)

[#### Google/Google: Gemini Hydrogen Latest

google-gemini-hydrogen-latest

From $5.625/M tokens](/models/google/google-gemini-hydrogen-latest)

[#### Nous Research/Nous Hermes 2 Mixtral 8X7B Dpo

NousResearch-Nous-Hermes-2-Mixtral-8x7B-DPO

From $0.75/M tokens](/models/nousresearch/nousresearch-nous-hermes-2-mixtral-8x7b-dpo)

[#### DeepSeek/DeepSeek: DeepSeek V3.1 Terminus

deepseek-deepseek-v3.1-terminus

From $0.79375/M tokens](/models/deepseek/deepseek-deepseek-v3.1-terminus)

[#### Meta/Llama 3.1 Nemotron 70B Instruct HF

nvidia-Llama-3.1-Nemotron-70B-Instruct-HF

From $1.10/M tokens](/models/meta/nvidia-llama-3.1-nemotron-70b-instruct-hf)

[#### Qwen/Qwen2.5 72B Instruct Turbo

Qwen-Qwen2.5-72B-Instruct-Turbo

From $1.50/M tokens](/models/qwen/qwen-qwen2.5-72b-instruct-turbo)

[#### Arcee AI/Arcee AI Spotlight

arcee\_ai-arcee-spotlight

From $0.27/M tokens](/models/arcee-ai/arcee_ai-arcee-spotlight)

[#### Moonshot AI/MoonshotAI: Kimi K2.5

moonshotai-kimi-k2.5

From $2.25/M tokens](/models/moonshotai/moonshotai-kimi-k2.5)

[#### Google/Google: Gemini Neon Latest

google-gemini-neon-latest

From $11.25/M tokens](/models/google/google-gemini-neon-latest)

[#### Qwen/Qwen2.5-VL (72B) Instruct

Qwen-Qwen2.5-VL-72B-Instruct

From $6.21875/M tokens](/models/qwen/qwen-qwen2.5-vl-72b-instruct)

[#### Alibaba Cloud/Qwen: Qwen3.5 397B A17B

qwen-qwen3.5-397b-a17b

From $2.625/M tokens](/models/alibaba_cloud/qwen-qwen3.5-397b-a17b)

[#### Mistral AI/Mistral: Ministral 3 14B 2512

mistralai-ministral-14b-2512

From $0.25/M tokens](/models/mistralai/mistralai-ministral-14b-2512)

[#### Alibaba Cloud/Qwen: Qwen3.5-122B-A10B

qwen-qwen3.5-122b-a10b

From $2.25/M tokens](/models/alibaba_cloud/qwen-qwen3.5-122b-a10b)

[#### DeepSeek/DeepSeek-R1

deepseek-ai-DeepSeek-R1-Distill-Llama-70B

From $2.50/M tokens](/models/deepseek/deepseek-ai-deepseek-r1-distill-llama-70b)

[#### Alibaba Cloud/Qwen: Qwen3.5-27B

qwen-qwen3.5-27b

From $1.6875/M tokens](/models/alibaba_cloud/qwen-qwen3.5-27b)

[#### Qwen/Qwen: Qwen3 VL 235B A22B Instruct

qwen-qwen3-vl-235b-a22b-instruct

From $1.31875/M tokens](/models/qwen/qwen-qwen3-vl-235b-a22b-instruct)

About Google: Gemini Carbon Latest
---

Google: Gemini Carbon Latest is a text generation AI model by Google, available on ModelsLab through the API and the playground above. API access comes with Open Source Unlimited at $149/month, and open-source models are unlimited on the $149/month plan.

### Google: Gemini Carbon Latest facts

ProviderGoogle

Input price$2.50 per 1M tokens

Output price$12.50 per 1M tokens

Context length1,048,576 tokens

Max output943,718 tokens

Input / outputaudio, file, image, text, video → text

Added to ModelsLabDecember 1, 2026

Model IDgoogle-gemini-carbon-latest

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate Google: Gemini Carbon Latest into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<div>import requests</div>
<div>import json</div>
<div>
</div>
<div>url = "https://modelslab.com/api/v7/llm/chat/completions"</div>
<div>
</div>
<div>headers = {</div>
<div>    "Content-Type": "application/json"</div>
<div>}</div>
<div>
</div>
<div>data = {</div>
<div>        "model_id": "google-gemini-carbon-latest",</div>
<div>        "messages": [</div>
<div>            {</div>
<div>                "role": "user",</div>
<div>                "content": "Hello!"</div>
<div>            }</div>
<div>        ],</div>
<div>        "max_tokens": 1000,</div>
<div>        "key": "YOUR_API_KEY"</div>
<div>    }</div>
<div>
</div>
<div>try:</div>
<div>    response = requests.post(url, headers=headers, json=data)</div>
<div>    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)</div>
<div>    result = response.json()</div>
<div>    print("API Response:")</div>
<div>    print(json.dumps(result, indent=2))</div>
<div>except requests.exceptions.HTTPError as http_err:</div>
<div>    print(f"HTTP error occurred: {http_err} - {response.text}")</div>
<div>except Exception as err:</div>
<div>    print(f"Other error occurred: {err}")</div>
```

const requestBody = {

 "model_id": "google-gemini-carbon-latest",

 "messages": [

 {

 "role": "user",

 "content": "Hello!"

 }

 ],

 "max_tokens": 1000,

 "key": "YOUR_API_KEY"

 };

async function makeApiRequest() {

 try {

 const response = await fetch(endpointUrl, {

 method: 'POST',

 headers: {

 'Content-Type': 'application/json',

 },

 body: JSON.stringify(requestBody)

 });

 if (!response.ok) {

 let errorResult;

 try {

 errorResult = await response.json();

 } catch (e) {

 errorResult = { error: { message: await response.text() } };

 }

 throw new Error(`API Error (${response.status}): ${errorResult.error?.message || response.statusText || 'Unknown error'}`);

 }

 const result = await response.json();

 console.log('API Response:', result);

 return result;

 } catch (error) {

 console.error('Error making API request:', error.message);

 throw error;

 }

}

makeApiRequest();

 -H "Content-Type: application/json" \

 -d '{

 "model_id": "google-gemini-carbon-latest",

 "messages": [

 {

 "role": "user",

 "content": "Hello!"

 }

 ],

 "max_tokens": 1000,

 "key": "YOUR_API_KEY"

}'

$url = 'https://modelslab.com/api/v7/llm/chat/completions';

$headers = [

 'Content-Type: application/json'

];

$data = [

 'model_id' => 'google-gemini-carbon-latest',

 'messages' => [{"role":"user","content":"Hello!"}],

 'max_tokens' => 1000,

 'key' => 'YOUR_API_KEY',

];

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $url);

curl_setopt($ch, CURLOPT_POST, true);

curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));

curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

curl_setopt($ch, CURLOPT_TIMEOUT, 30);

$response = curl_exec($ch);

$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);

$curlError = curl_error($ch);

if ($curlError) {

 echo 'Curl error: ' . $curlError;

} else {

 echo "HTTP Status Code: " . $httpCode . "\n";

 $result = json_decode($response, true);

 if (json_last_error() !== JSON_ERROR_NONE) {

 echo "Error decoding JSON: " . json_last_error_msg() . "\n";

 echo "Raw response: " . $response . "\n";

 } else {

 echo "API Response:\n";

 print_r($result);

 }

}

?>

### Pricing

Google: Gemini Carbon Latest API costs $6 per million tokens. Open Source Unlimited is $149/month, and open-source models are unlimited on the $149/month plan. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

### More from Google

- [Gemini 2.5 Flash API](/models/google/gemini-2.5-flash)
- [Gemini 2.5 Flash (nano banana) API](/models/google/nano-banana)
- [Nano Banana Pro API](/models/google/nano-banana-pro)
- [Gemini 2.5 Flash Image Preview API](/models/google/gemini-2.5-flash-image-preview)
- [Nano Banana 2 Image Edit API](/models/google/gemini-3.1-i2i)
- [Gemini 2.5 Pro API](/models/google/gemini-2.5-pro)

[All Google models](/models/google)

[Browse LLM Models](https://modelslab.com/models?feature=llmaster) [View Pricing](https://modelslab.com/pricing)

Google: Gemini Carbon Latest FAQ
---

### What is Google: Gemini Carbon Latest?

Google: Gemini Carbon Latest is a text generation AI model by Google, available on ModelsLab through the API and the playground above.

### How do I use the Google: Gemini Carbon Latest API?

You can integrate Google: Gemini Carbon Latest into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "google-gemini-carbon-latest" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Google: Gemini Carbon Latest cost?

Google: Gemini Carbon Latest costs $2.50/1M input, $12.50/1M output tokens. The Open Source Unlimited plan is $149/month and includes unlimited generation on open-source models.

### What is the Google: Gemini Carbon Latest model ID?

The model ID for Google: Gemini Carbon Latest is "google-gemini-carbon-latest". Use this ID in your API requests to specify this model.

### Do I need a paid plan to use Google: Gemini Carbon Latest?

Yes. ModelsLab is subscription-based with no free tier. The $149/month Open Source Unlimited plan includes unlimited generation across open-source models; premium third-party models are billed per call from your wallet.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-12-01*