Turn these release notes into a step-by-step migration guide for developers, with code before/after examples and a checklist at the end. <paste notes here>
Gemini 4 Argon API
Google Gemini 4 Argon: multimodal reasoning model with a 1M-token context.
低至$0.72/ 百万输入 tokens$0.8省 10%
模型 IDgemini-4-argon
输入
文本
输出
对话
供应商
7 家供应商
近 7 天表现 · 近期请求较少,暂无统计数据。
Gemini 4 Argon 价格
价格按单位计费;未指定供应商时,会路由到支持该参数组合且价格最低的供应商。
| 规格 | 价格(美元) |
|---|---|
| 全部规格 | $0.72 / 百万输入 tokens 72 积分 |
接入前先试用 Gemini 4 Argon
写代码之前,先测试生成效果、对比各供应商价格并预估费用。
设置
先按 max_tokens 预扣积分,完成后按实际用量结算。
开始对话。回复以流式返回,按实际 token 用量计费。
Gemini 4 Argon 提示词示例
可直接使用的提示词,一键载入 Playground 再调整。
共 21 条提示词
Contract review
AnalysisRead this supplier contract and list every clause about liability, termination and auto-renewal, with a plain-language explanation of each. <paste contract here>
Browser game prototype
Creative codingCreate a single-file HTML5 canvas game where the player steers a paper plane through floating islands, with score and restart.
Please describe the content of this image/video/audio
what is difference between http and https
API examplewhat is difference between http and https
Summarize the content without using lists, Markdown, or exceeding 80 words
Instruction FollowingSummarize the content without using lists, Markdown, or exceeding 80 words.
Gemini 4 Argon API 文档
该模型的接口、请求字段与可直接运行的调用示例。
Base URL
https://01router.com/api/v1快速开始
将 API_KEY 设为项目密钥,在服务端运行示例。示例中的媒体地址需替换为您自己的公开地址。
自动路由会选择支持当前请求的供应商。选择指定供应商,可查看它的参数约束和调用示例。
curl https://01router.com/api/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-4-argon",
"messages": [{ "role": "user", "content": "Hello!" }],
"stream": false
}'接口列表
这里只列出当前模型相关的接口,路径已包含 /api/v1。点击接口可跳转到使用说明。
鉴权
以 Bearer Token 方式发送 API Key,费用从 Key 所属账户的积分中扣除。
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json输入参数
messages 直接放在请求体最外层,对话接口不使用 input 包装。
请求体
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| model | string | 是 | "gemini-4-argon" |
| provider | string | 否 | 指定供应商;不传则自动路由到最便宜的。可选: wavespeed | kie | apimart | evolink | atlascloud | vercel | openrouter |
| messages | object[] | 是 | OpenAI 格式的消息数组,每项含 role 与 content。 |
| stream | boolean | 否 | 为 true 时以 SSE 流式返回。 |
| max_tokens | integer | 否 | 最大输出 token,按此预扣积分(默认 4096)。 |
输出结果
示例使用 stream: false,从 choices[0].message.content 读取回复。stream: true 时接收 SSE 事件,读取 choices[].delta,直到 [DONE]。
完成后的响应
{
"id": "chatcmpl-example",
"object": "chat.completion",
"model": "gemini-4-argon",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hello! How can I help?"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 9,
"completion_tokens": 8,
"total_tokens": 17
}
}响应字段
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| id | string | 是 | Chat completion ID |
| object | string | 是 | chat.completion |
| model | string | 是 | gemini-4-argon |
| choices | object[] | 是 | 回复列表;非流式回复文本位于 message.content。 |
| usage | object | 否 | Token 用量:prompt_tokens、completion_tokens、total_tokens;是否返回取决于供应商。 |
模型信息与参数
此公开接口返回模型参数,以及各供应商支持的参数约束和价格。
curl "https://01router.com/api/v1/models/gemini-4-argon"错误码
结合 HTTP 状态码和 error.message 排查。参数或认证错误需修正后再重试;生成任务失败则通过任务本身的 status 和 error 返回。
{
"error": {
"message": "Invalid or missing API key",
"code": "unauthorized"
}
}400请求体或参数取值不合法
401缺少或无效的 API Key
402积分不足
404模型或任务不存在
429请求过于频繁,请稍后重试
502所有供应商都拒绝了任务(积分已退回)
交给 AI 使用
将本模型文档交给编程助手:纯文本包含接口、输入约束、输出字段和请求示例。
Gemini 4 Argon 与同类模型对比
并排对比规格与起步价,选择前建议用同一提示词实测。
| Gemini 4 Argon | Gemini 3.8 Flash | GPT-6 Astra | GPT-6 Sol | |
|---|---|---|---|---|
| 厂商 | OpenAI | OpenAI | ||
| 起步价 | $0.72 / 百万输入 tokens | $0.203 / 百万输入 tokens | $2.52 / 百万输入 tokens | $0.54 / 百万输入 tokens |
| 输入 | 文本 | 文本 | 文本 | 文本 |
| 供应商 | 7 家供应商 | 7 家供应商 | 7 家供应商 | 7 家供应商 |
Gemini 4 Argon API 常见问题
Gemini 4 Argon 是什么?
Google 的旗舰模型,擅长推理、智能体编程、长篇输出,以及文本、图片、音频、视频和 PDF 的多模态处理。
“100 万”指的是上下文还是输出?
是上下文。Argon 的上下文约 1,048,576 token,由输入、思考和输出共享;单次回复最多约 6.5 万 token。
思考强度怎么用?
可选 low、medium、high。强度越高,难题思考越久;思考 token 按输出价格计费。
支持工具调用和结构化输出吗?
支持函数调用和 JSON 结构化输出,也支持流式返回。
在 01router 上怎么计费?
按每百万输入/输出 token 计费。Google 的首发优惠价可能调整,当前价格以本页价格表为准。
相关模型
同一个 API Key 即可调用的其他模型。
Gemini 3.8 Flash
Google Gemini 3.8 Flash: fast, low-cost multimodal model with a 1M-token context.
GPT-6 Astra
OpenAI GPT-6 Astra: the most capable GPT-6 tier for hard reasoning, coding and agents. 1.05M context.
GPT-6 Sol
OpenAI GPT-6 Sol: balanced GPT-6 tier for everyday reasoning, coding and tool use. 1.05M context.
GPT-6 Luna
OpenAI GPT-6 Luna: the fastest, lowest-cost GPT-6 tier for high-volume tasks. 1.05M context.
GPT-5.6 Sol
OpenAI GPT-5.6 Sol: flagship GPT-5.6 tier for complex reasoning and coding.
GPT-5.6 Terra
OpenAI GPT-5.6 Terra: mid GPT-5.6 tier balancing quality and cost.