TokenRa
中文Get API Key

Text model · Google

Gemini 4 Argon API

Gemini 4 Argon is Google's frontier Gemini 4 model, announced on September 30, 2026. On TokenRa it answers through OpenAI Chat Completions with function calling and streaming, and does not return a reasoning payload.

Model ID
gemini-4-argon
API formats
Chat Completions
Input
Text
Output
Text
Tier
Frontier-tier Gemini 4
For AI agents
llms.txt guide

Capabilities

Capabilities & endpoints

Chat generation over OpenAI Chat Completions. Called successfully on tokenra.io on 2026-12-02. Frontier-tier Gemini 4.

POSThttps://tokenra.io/v1/chat/completionsTested
OpenAI SDK with base_url="https://tokenra.io/v1". Auth: Authorization: Bearer.
Not available for this model
  • Anthropic Messages (/v1/messages): the model is published on the HTTP gateway with the openai endpoint type only.
  • OpenAI Responses (/v1/responses) is not exposed either.

Request

Request parameters

Fields for POST /v1/chat/completions. Everything listed was accepted by the model in testing.

ParameterTypeRequiredDescription
modelstringYesThe model ID to call, for example gemini-4-argon.
messagesarrayYesConversation messages in order. content can be a string or an array of parts.
streambooleanNoDefaults to true. Omit the field and the reply is text/event-stream; send false to get one JSON body.
stream_optionsobjectNoWith {"include_usage": true} the last chunk carries usage.
max_tokensintegerNoUpper limit for generated tokens. Reasoning tokens count toward it where the model reasons.
temperaturenumberNoSampling temperature.
top_pnumberNoNucleus sampling threshold. Tune this or temperature, not both.
presence_penaltynumberNoPenalises tokens that already appeared.
frequency_penaltynumberNoPenalises frequent tokens to reduce repetition.
toolsarrayNoSupported. A request with a tools array returns tool_calls with parsed JSON arguments and finish_reason: stop.
userstringNoYour own end-user identifier for auditing. Not part of the conversation.
Pricing

Input $2.40 · output $12.00 · cached input $0.12 per 1M tokens. Argon costs half of Carbon and two thirds of Neon on TokenRa. Argon was the first of the four Gemini 4 codenames to ship; Carbon, Hydrogen and Neon followed.

Response

Response format

Example response
{
  "id": "chatcmpl-20261202084335810694458krnUfZ4Y",
  "model": "gemini-4-argon",
  "object": "chat.completion",
  "created": 1796172253,
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "An API gateway acts as a single entry point for applications, managing and routing incoming client requests to the appropriate backend services while handling critical tasks like authentication, security, and traffic rate limiting."
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 41,
    "completion_tokens": 41,
    "total_tokens": 82,
    "prompt_tokens_details": {
      "cached_tokens": 0,
      "text_tokens": 41
    },
    "completion_tokens_details": {
      "text_tokens": 0,
      "reasoning_tokens": 0
    }
  }
}
FieldTypeDescription
idstringCompletion ID. Include it when you contact support.
objectstringchat.completion, or chat.completion.chunk when streaming.
createdintegerUnix timestamp in seconds.
choices[0].message.contentstringThe answer text.
choices[0].finish_reasonstringstop on a normal reply; tool_calls when the model calls a function.
usage.prompt_tokensintegerInput tokens, billed at the input rate.
usage.completion_tokensintegerOutput tokens, billed at five times the input rate.
usage.completion_tokens_details.reasoning_tokensintegerHow many output tokens went to reasoning. Billed at the output rate.

Errors

Errors & limits

Common errors

HTTPerror.codeMeaningWhat to do
401—Missing, wrong or deleted API key. The message is Invalid token.Check the Authorization: Bearer header and the key in the console.
400—The body is not valid JSON.Fix the JSON and send Content-Type: application/json.
500invalid_requestA required field is missing, for example messages.Add the field named in the message. Retrying will not help.
403insufficient_user_quotaYour balance or plan quota is used up.Top up in the console, then retry.
503model_not_foundUnknown model ID, or no channel serves it for your group.Check the ID in the model list or with GET /v1/models.
429—Too many requests.Back off exponentially and retry.
5xx—The upstream provider failed or timed out.Retry a few times; keep the request id if it persists.

Limits and notes

  • The stream default differs from most models on the gateway: omitting stream returns text/event-stream for the Gemini 4 family, so send "stream": false when your client expects one JSON body.
  • Function calling is available: a tools request returns tool_calls with empty content.
  • No reasoning payload: reasoning_tokens came back 0 on a multi-step arithmetic prompt.
  • Pricing: input $2.40 and output $12.00 per 1M tokens; cached input $0.12.