Using Gemini 4 Argon on Vercel AI Gateway

Implementation guide · Gemini 4 · Google DeepMind

Serverless

Vercel AI Gateway exposes Gemini 4 Argon through model ID google/gemini-4-argon. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-10-17. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at Vercel AI Gateway and generate an API key.
  2. 2
    Use the Vercel AI Gateway SDK or REST API to call google/gemini-4-argon — see the documentation for request format.
  3. 3
    You'll be billed $2.00/1M input, $10.00/1M output tokens. See full pricing.

Code Examples

Install
pip install openai
API key
AI_GATEWAY_API_KEY
Model ID
google/gemini-4-argon

creator/model-name e.g. kwaipilot/kat-coder-pro-v2

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
    base_url="https://ai-gateway.vercel.sh/v1"
)
response = client.chat.completions.create(
    model="google/gemini-4-argon",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Pricing on Vercel AI Gateway

TypePrice (per 1M)
Input tokens$2.00
Output tokens$10.00
Image input$1.00
Video input$1.00

Capabilities

VisionMultimodalReasoningJSON / Tool useStructured OutputsCode ExecutionPrompt CachingBatch APIAudio

About Gemini 4 Argon

Gemini 4 Argon is a Google DeepMind reasoning model, announced on September 30, 2026 for trusted cyber defenders and testers in Google's Fairwind Program and made generally available on October 13, 2026 through the Gemini API, Gemini Enterprise Agent Platform, Google Antigravity and the Gemini app. Google built it for long-horizon software engineering, legal and finance work, cybersecurity defense and science. It takes text, image, video, audio and PDF input and returns text. Input and output share a 1,048,576-token limit; one synchronous request returns up to 65,536 output tokens, and long decodes extend output up to 1,048,576 tokens.

Model Specs

Released2026-09-30
Context1M

Provider

Vercel AI Gateway

Vercel