Text model API
Gemini 4 Argon API
Gemini 4 Argon is Google's flagship reasoning model designed for complex software engineering, scientific and mathematical problem-solving, and autonomous AI agents. It is built to handle demanding, multi-step tasks while maintaining context across large amounts of information, including documents containing text, tables, charts, and images. With a 1,048,576-token context window and support for multimodal inputs, Gemini 4 Argon can analyze extensive documents, large codebases, and complex visual information. It also supports configurable thinking depth, function calling, and structured outpu
- Model id
gemini-4-argon- Takes
- Text (required)
- Makes
- Text
- Endpoint
POST /api/v1/chat/completions- Made by
- Mode
- Synchronous
Call Gemini 4 Argon
https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.Model gemini-4-argon
POST /api/v1/chat/completions
curl https://payload.rentprompts.com/api/v1/chat/completions \
-H "Authorization: Bearer rp_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-4-argon",
"messages": [
{
"role": "user",
"content": "Write a haiku about APIs."
}
],
"max_tokens": 256
}'Replace rp_live_YOUR_KEY with your key, ideally via the RENTPROMPTS_API_KEY environment variable. Keys are shown only once, so they are never filled in here. Get your API key →
What a typical call costs
- 1,000 input + 500 output tokens0.85 Joules
- 10,000 input + 2,000 output tokens5.2 Joules
Send requests to POST /api/v1/chat/completions. Gemini 4 Argon answers synchronously: the result comes back in the response to the same request. Token counts come from the model's own usage report, so a real call may use more or fewer tokens than this example.