Models & pricingGemini 4 Carbon

Gemini 4 Carbon API: pricing and how to call it

Gemini 4 Carbon has the model ID gemini-4-carbon. On MYUSAPI it costs $0.80 per 1M input tokens and $4.00 per 1M output tokens, prepaid and charged by usage. The model is never swapped or downgraded, and you are billed by the usage the upstream reports.

Gemini 4 Carbon API pricing

ItemPer 1M tokens
InputOfficial$2.00, our price$0.80
OutputOfficial$10.00, our price$4.00
Cache readOfficial$0.10, our price$0.04

USD. The struck figure is Google’s official standard list price; bold is ours, with input and output at 40% of list. Source of the list price

Example: a job that uses 1M input tokens and 200K output tokens costs $1.60 at our rates and $4.00 at list price.

Official rates: Introductory price until 2026-11-30, then $4 / $20.

Call it in the OpenAI or Claude format; the Gemini-native format (Gemini CLI) is not available yet.

Specifications

Model IDgemini-4-carbon
ProviderGoogle
Context window1M tokens
Max output64K tokens
EndpointsChat Completions, Responses, Anthropic Messages
CapabilitiesThinking, Coding, Agents

Google’s newer Gemini 4 reasoning model for complex coding, agents, and long-document analysis.

How to call the Gemini 4 Carbon API

Sign up, add credit and put your key in the MYUSAPI_API_KEY environment variable.

Sign up and get an API key

OpenAI SDK (Python, Chat Completions)

A project already on the OpenAI SDK changes only base_url (https://myusapi.com/v1) and the model ID.

Python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://myusapi.com/v1",
    api_key=os.environ["MYUSAPI_API_KEY"],
)

reply = client.chat.completions.create(
    model="gemini-4-carbon",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)

Chat Completions (cURL)

cURL
curl https://myusapi.com/v1/chat/completions \
  -H "Authorization: Bearer $MYUSAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gemini-4-carbon", "messages": [{"role": "user", "content": "Hello"}]}'

Whether your key can call it now is what GET https://myusapi.com/v1/models returns.

Use Gemini 4 Carbon in OpenAI-compatible clients

OpenAI-compatible clients such as Cherry Studio and Cline work: in the connection guide choose your tool and gemini-4-carbon, then copy the generated setup.

Open the connection guide

Other Google models

All models and prices