openai/gpt-6.1-sol
GPT-6.1 Sol 是 GPT-6 家族中档型号的升级版,面向复杂重构、深度代码库排查与长时间运行的 Agent。支持文本与图片输入、105 万 token 上下文(最大输入 92.2 万)、最高 12.8 万 token 输出,推理强度可从 low 调到 max(不能关闭思考)。支持 prompt 缓存,缓存读取按输入价的 5% 计费。
来源: openai_2026_10_gpt61_g61s_x0.10 · 核验于 2026-10-08
缓存读 $0.01/M · 缓存写 $0.25/M
| 档位 | 输入 | 缓存读 | 缓存写 | 输出 |
|---|---|---|---|---|
| Standard ≤272K | $0.2 | $0.01 | $0.25 | $1 |
| Standard >272K | $0.4 | $0.02 | $0.5 | $1.5 |
API 调用时用任一 ID 都可以。
openai/gpt-6.1-sol把 ONEHOP_KEY 占位符替换为你的 API Key。 创建 →
from openai import OpenAI
client = OpenAI(
base_url="https://api.onehop.ai/v1",
api_key="<ONEHOP_KEY>",
)
completion = client.chat.completions.create(
model="openai/gpt-6.1-sol",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)