# gemini-4-argon > LLM model from google, available via Core.Today API. - **Provider**: google - **Model ID**: gemini-4-argon - **Category**: chat - **Pricing Type**: token_based - **Billing**: per token — see Token Pricing ## API Endpoint Base URL: https://api.core.today ### Chat Completions POST /llm/gemini/v1beta/openai/chat/completions ## Authentication Header: `Authorization: Bearer YOUR_API_KEY` Note: Your Core.Today API key (`cdt_xxx`) works as Bearer token. ## Input Parameters - `model` (string, **required**): Model identifier. Use `gemini-4-argon` - `messages` (array, **required**): Array of message objects with `role` and `content` - `temperature` (number, optional): Sampling temperature (Default: `1.0`; Range: min: 0, max: 2) - `max_tokens` (integer, optional): Maximum tokens to generate - `stream` (boolean, optional): Enable streaming responses (Default: `false`) - `top_p` (number, optional): Nucleus sampling parameter (Default: `1.0`) ## Example Request ```json { "model": "gemini-4-argon", "messages": [ { "role": "user", "content": "Hello, how are you?" } ] } ``` ## Response Format ```json { "id": "chatcmpl-abc123", "object": "chat.completion", "model": "gemini-4-argon", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Response text here" }, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 10, "completion_tokens": 20, "total_tokens": 30 } } ``` ## Usage Flow 1. POST /llm/gemini/v1beta/openai/chat/completions with model and messages 2. Response is returned synchronously (or streamed if stream=true) 3. Credits are deducted based on token usage ## Token Pricing - Input: 0.007432 credits/token (7,432 credits per 1M tokens) - Cached Input: 0.0003716 credits/token (371.6 credits per 1M tokens) - Image Input: 0.007432 credits/token (charged at the Input rate) - Output: 0.03716 credits/token (37,160 credits per 1M tokens) - Batch Input: 0.003716 credits/token (3,716 credits per 1M tokens) - Batch Output: 0.01858 credits/token (18,580 credits per 1M tokens) - Web Search: 26.012 credits per request (built-in web search tool) ## Image Input This model accepts images as input. Image bytes are converted to tokens by the upstream provider and charged at the standard Input rate (0.007432 credits/token). **Tokenization**: fixed per image (selectable) - Default: 1120 tokens per image - `media_resolution`: high=1120, low=280, medium=560, ultra_high=2240, unspecified=1120 (tokens/image) - Maximum: 2240 tokens per image - Notes: Gemini 3/4 media_resolution parameter selects per-image tokens; default ≈1120, ULTRA_HIGH ≈2240 ### Example (OpenAI-compatible) ```json { "model": "gemini-4-argon", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "What's in this image?" }, { "type": "image_url", "image_url": { "url": "https://example.com/image.jpg" } } ] } ] } ``` ## Tags google, chat