Google’s reasoning model for complex software engineering, math, and science.
Google’s reasoning model for complex software engineering, math, and science.The MixRoute catalog lists both Gemini-native and OpenAI-compatible routes for this model. Availability depends on your API key’s group.
Model specifications
Property
Value
Model ID
gemini-4-carbon
Input
Text, images, video, audio, and PDF
Output
Text
Context window
1,048,576 tokens across input and output
Standard synchronous output limit
65,536 Token
Google’s model limits are shown above; MixRoute route limits may differ. Google’s long-decode workflow is separate from these examples.
Quick examples
Set MIXROUTE_API_KEY to your MixRoute API key.
Gemini native API
curl --fail-with-body --request POST "https://api.mixroute.ai/v1beta/models/gemini-4-carbon:generateContent" \ --header "Authorization: Bearer $MIXROUTE_API_KEY" \ --header 'Content-Type: application/json' \ --data '{ "contents": [{"role": "user", "parts": [{"text": "Reply with OK only."}]}], "generationConfig": {"maxOutputTokens": 1024} }'
OpenAI-compatible Chat Completions
curl --fail-with-body --request POST "https://api.mixroute.ai/v1/chat/completions" \ --header "Authorization: Bearer $MIXROUTE_API_KEY" \ --header 'Content-Type: application/json' \ --data '{ "model": "gemini-4-carbon", "messages": [{"role": "user", "content": "Reply with OK only."}], "max_tokens": 1024 }'