| Prompt 区间 | 输入 / 1M | 输出 / 1M | 缓存命中 / 1M |
|---|---|---|---|
| ≤ 200k | $2 | $12 | $0.2 |
| > 200k | $4 | $18 | $0.4 |
Gemini 3.1 Pro Preview 在 NextModel 中是什么?
Gemini 3.1 Pro Preview 是 NextModel 目录中的 Google 模型,常用于 图像理解、multimodal chat 工作负载。当前展示价格为 Starting at $2 / 1M tokens、输出 $12 / 1M tokens,上下文窗口为 1M token。
适用场景
- 图像理解
- multimodal chat
OpenAI 兼容调用示例
保持 OpenAI SDK 调用方式不变,把 base_url 改为 NextModel,并使用模型目录 ID google--gemini-3.1-pro-preview。
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.nextmodel.app/v1"
)
resp = client.chat.completions.create(
model="google/gemini-3.1-pro-preview",
messages=[{"role": "user", "content": "Hello from NextModel"}]
)
print(resp.choices[0].message.content)相似替代项
Anthropic Claude 4.6 Sonnet,接近 Opus 级别的能力但成本降低约 40%。支持自适应思考(Adaptive Thinking),1M token 上下文窗口(Beta),在编码、计算机操作、长上下文推理和智能体规划方面全面提升。
Opus 4.6 is Anthropic’s strongest model for coding and long-running professional tasks. It is built for agents that operate across entire workflows rather than single prompts, making it especially effective...
Kimi K2.5是2026年1月27日由月之暗面Kimi发布的新一代开源模型。该模型基于原生多模态架构设计,支持视觉与文本输入,集成了视觉理解与推理、编程、智能体等多种能力。
参考
相关文章
上线前如何估算 AI API 成本
Listed price only tells you the unit cost. This walkthrough turns that into a traffic estimate.
Lin Qiming
LLM Gateway: Compare Options and Alternatives
Same OpenAI-compatible base URL, with routing and billing sitting in front of the model.
Zhao Yu'an
常见问题
Gemini 3.1 Pro Preview API 常见问题
现在开始
准备好开始构建了吗?
免密码注册、按量付费,一个 OpenAI 兼容接口即可调用全部模型。获取密钥,几分钟内发出你的第一个请求。