gemini-4-carbon
About gemini-4-carbon
gemini-4-carbon by Google DeepMind is a language model, with a 1M-token context window, priced on CupAI at $2 per 1M input tokens and $10 per 1M output tokens. Call it through CupAI's OpenAI-compatible API with the model ID gemini-4-carbon and pay in toman.
gemini-4-carbon is available through CupAI with the standard API format. Set the base URL and your key, and put the model ID in the request.
gemini-4-carbon pricing
Technical details
Sample code and API for gemini-4-carbon
Change the base URL to CupAI and add your API key. The rest of the request stays the same in compatible clients. Full API documentation
curl 'https://api.cupai.ir/v1/chat/completions' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer $CUPAI_API_KEY' \
-d '{
"model": "gemini-4-carbon",
"messages": [
{
"role": "user",
"content": "Hello!"
}
]
}'Replace CUPAI_API_KEY with your own key. Base URL: https://api.cupai.ir/v1
Endpoints
/v1/chat/completions/v1beta/models/gemini-4-carbon:generateContentCapabilities
Capabilities supported by this model’s API.
Common questions about gemini-4-carbon
By the input and output tokens of each request. Rates are in the price table on this page and are deducted from your wallet.
Change the base URL to CupAI, put your API key in the request header and send the model ID in the body.
Payments are in rials with no foreign card. Credit works across every available model.