google/gemini-4-argon
Release date: 2026-10-13
1,048,576 context · $4.00/M input tokens · $20.00/M output tokens
Gemini 4 Argon is Google's flagship reasoning model, built for complex software engineering, deep mathematical and scientific problem solving, and autonomous multi-step agents. Google trained it to keep context across...
Pay-per-use
No upfront costs, pay only for what you use
Use the following code examples to integrate with our API:
import OpenAI from 'openai';
if (!process.env.WAVESPEED_API_KEY) throw new Error('Set WAVESPEED_API_KEY');
const client = new OpenAI({
apiKey: process.env.WAVESPEED_API_KEY,
baseURL: 'https://llm.wavespeed.ai/v1',
timeout: 120_000,
maxRetries: 0,
});
try {
const response = await client.chat.completions.create({
model: 'google/gemini-4-argon',
messages: [{ role: 'user', content: 'Hello!' }],
});
const body = response as typeof response & { error?: { message?: string } };
if (body.error) throw new Error(body.error.message || 'LLM generation failed');
console.log(response.choices[0]?.message?.content ?? '');
} catch (error) {
console.error('LLM request failed:', error);
process.exitCode = 1;
}import OpenAI from 'openai';
if (!process.env.WAVESPEED_API_KEY) throw new Error('Set WAVESPEED_API_KEY');
const client = new OpenAI({
apiKey: process.env.WAVESPEED_API_KEY,
baseURL: 'https://llm.wavespeed.ai/v1',
timeout: 120_000,
maxRetries: 0,
});
try {
const response = await client.chat.completions.create({
model: 'google/gemini-4-argon',
messages: [{ role: 'user', content: 'Hello!' }],
});
const body = response as typeof response & { error?: { message?: string } };
if (body.error) throw new Error(body.error.message || 'LLM generation failed');
console.log(response.choices[0]?.message?.content ?? '');
} catch (error) {
console.error('LLM request failed:', error);
process.exitCode = 1;
}Google 的推理模型,支持文本生成、图像理解、工具调用和结构化输出。
google/gemini-4-argon/v1/chat/completions,支持流式返回。截至 2026 年 11 月 30 日(UTC+8):输入 $2/M,输出(含推理)$10/M,缓存输入 $0.10/M。 2026 年 12 月 1 日起:输入 $4/M,输出 $20/M,缓存输入 $0.20/M。
from openai import OpenAI
client = OpenAI(api_key="YOUR_API_KEY", base_url="https://llm.wavespeed.ai/v1")
response = client.chat.completions.create(
model="google/gemini-4-argon",
messages=[{"role":"user","content":"Hello!"}],
)
print(response.choices[0].message.content)google/gemini-4-argon
Gemini 4 Argon is Google's flagship reasoning model, built for complex software engineering, deep mathematical and scientific problem solving, and autonomous multi-step agents. Google trained it to keep context across...
Input
$4 /M
Output
$20 /M
Context
1049K
Max Output
33K
Vision
Supported
Tool Use
Supported
Access Gemini 4 Argon through our unified API — OpenAI-compatible, no cold starts, transparent pricing.
Pricing on WaveSpeedAI: $4.00 per million input tokens and $20.00 per million output tokens. Prompt caching and batch processing are billed separately and reduce effective cost on long, repetitive workloads.
Gemini 4 Argon supports up to 1049K tokens of context with up to 33K tokens of output per request.
WaveSpeedAI exposes Gemini 4 Argon at https://llm.wavespeed.ai/v1 through the OpenAI-compatible Chat Completions interface. Most OpenAI SDK clients work by changing the base URL and API key; optional fields depend on the selected model.
Sign in to WaveSpeedAI, create an API key in Access Keys, then send a request to https://llm.wavespeed.ai/v1/chat/completions with the model id shown above. Check the current model catalog for availability, capabilities, and pricing.