Google · Reasoning
Gemini 4 Carbon
google/gemini-4-carbon
Gemini 4 Carbon is a frontier Gemini 4 model from Google for coding, agentic and complex reasoning work.
Input Price / 1M Tokens
$2.44
Output Price / 1M Tokens
$12.20
Context Window
1.0M
VisionToolsReasoningLong Context
Python Example — google/gemini-4-carbon
from openai import OpenAI
client = OpenAI(
base_url="https://relaystack-ai.vercel.app/v1",
api_key="sk-rs-your-key-here",
)
response = client.chat.completions.create(
model="google/gemini-4-carbon",
messages=[{"role": "user", "content": "Hello from RelayStack!"}],
)
print(response.choices[0].message.content)