qwen/qwen3.7-max
Alibaba Cloud Qwen 3.7 Max is the flagship model of the Qwen 3.7 series with a 1-million-token context window. Delivers top-tier chain-of-thought reasoning, coding, and tool use. Context caching cuts cached-input cost by 90%. Accessed via OpenAI-compatible interface.
來源:official_x0.5 · 核驗於 2026-06-17
快取讀取 $0.125/M · 快取寫入 $—/M
API 呼叫時用任一 ID 都可以。
qwen/qwen3.7-max把 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="qwen/qwen3.7-max",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)