deepseek/deepseek-v4-pro
DeepSeek's flagship V4 reasoning model. Strong coding and math with an explicit thinking mode, a native 1M-token context window at no surcharge, and a discounted prompt-cache hit rate. Best price/performance for heavy reasoning workloads.
來源:deepseek_2026_08_official_peak · 核驗於 2026-08-20
快取讀取 $0.044/M · 快取寫入 —/M
API 呼叫時用任一 ID 都可以。
deepseek/deepseek-v4-pro把 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="deepseek/deepseek-v4-pro",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)最近 30 天 5,741 次請求