Review sentiment as JSON
ClassificationClassify the sentiment of each review below as positive, neutral or negative and return a JSON array with the review index and label. <paste reviews here>
Google Gemini 3.8 Flash: fast, low-cost multimodal model with a 1M-token context.
低至$0.203/ 百万输入 tokens$0.225省 10%
模型 IDgemini-3.8-flash
输入
文本
输出
对话
供应商
7 家供应商
近 7 天表现 · 近期请求较少,暂无统计数据。
价格按单位计费;未指定供应商时,会路由到支持该参数组合且价格最低的供应商。
| 规格 | 价格(美元) |
|---|---|
| 全部规格 | $1.012 / 百万输出 tokens 102 积分 |
写代码之前,先测试生成效果、对比各供应商价格并预估费用。
先按 max_tokens 预扣积分,完成后按实际用量结算。
开始对话。回复以流式返回,按实际 token 用量计费。
可直接使用的提示词,一键载入 Playground 再调整。
共 21 条提示词
Classify the sentiment of each review below as positive, neutral or negative and return a JSON array with the review index and label. <paste reviews here>
Describe what this chart shows, the overall trend, and the month with the largest change.
Refactor this JavaScript module into TypeScript with explicit types and no behaviour changes. <paste code here>
Classify the sentiment of each review below and return a JSON array: <reviews>
Please describe the content of this image/video/audio
what is difference between http and https
该模型的接口、请求字段与可直接运行的调用示例。
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-3.8-flash",
"messages": [{ "role": "user", "content": "Hello!" }],
"stream": false
}'这里只列出当前模型相关的接口,路径已包含 /api/v1。点击接口可跳转到使用说明。
以 Bearer Token 方式发送 API Key,费用从 Key 所属账户的积分中扣除。
Authorization: Bearer YOUR_API_KEY
Content-Type: application/jsonmessages 直接放在请求体最外层,对话接口不使用 input 包装。
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| model | string | 是 | "gemini-3.8-flash" |
| 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-3.8-flash",
"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-3.8-flash |
| choices | object[] | 是 | 回复列表;非流式回复文本位于 message.content。 |
| usage | object | 否 | Token 用量:prompt_tokens、completion_tokens、total_tokens;是否返回取决于供应商。 |
此公开接口返回模型参数,以及各供应商支持的参数约束和价格。
curl "https://01router.com/api/v1/models/gemini-3.8-flash"结合 HTTP 状态码和 error.message 排查。参数或认证错误需修正后再重试;生成任务失败则通过任务本身的 status 和 error 返回。
{
"error": {
"message": "Invalid or missing API key",
"code": "unauthorized"
}
}400请求体或参数取值不合法
401缺少或无效的 API Key
402积分不足
404模型或任务不存在
429请求过于频繁,请稍后重试
502所有供应商都拒绝了任务(积分已退回)
将本模型文档交给编程助手:纯文本包含接口、输入约束、输出字段和请求示例。
并排对比规格与起步价,选择前建议用同一提示词实测。
| Gemini 3.8 Flash | Gemini 4 Argon | GPT-6 Astra | GPT-6 Sol | |
|---|---|---|---|---|
| 厂商 | OpenAI | OpenAI | ||
| 起步价 | $0.203 / 百万输入 tokens | $0.72 / 百万输入 tokens | $2.52 / 百万输入 tokens | $0.54 / 百万输入 tokens |
| 输入 | 文本 | 文本 | 文本 | 文本 |
| 供应商 | 7 家供应商 | 7 家供应商 | 7 家供应商 | 7 家供应商 |
Google Flash 系列的主力模型,适合编程、智能体和知识型工作,比 3.7 Flash 更准确,价格远低于 Pro 级模型。
上下文约 1,048,576 token,最多输出约 6.5 万 token。支持文本、图片、视频、音频和 PDF 输入,输出文本。
low、medium(默认)和 high,不再支持旧的 minimal。
它完成一个任务可能比旧 Flash 用更多 token,建议用自己的提示词比较单个任务的总成本,而不只看单价。
按每百万输入/输出 token 计费,思考按输出计费。Google 首发优惠期后价格可能调整,详见价格表。
同一个 API Key 即可调用的其他模型。
Google Gemini 4 Argon: multimodal reasoning model with a 1M-token context.
OpenAI GPT-6 Astra: the most capable GPT-6 tier for hard reasoning, coding and agents. 1.05M context.
OpenAI GPT-6 Sol: balanced GPT-6 tier for everyday reasoning, coding and tool use. 1.05M context.
OpenAI GPT-6 Luna: the fastest, lowest-cost GPT-6 tier for high-volume tasks. 1.05M context.
OpenAI GPT-5.6 Sol: flagship GPT-5.6 tier for complex reasoning and coding.
OpenAI GPT-5.6 Terra: mid GPT-5.6 tier balancing quality and cost.