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.
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)
base_url: https://api.onehop.ai/v1
Google Vertex AIStatus: 不支援—
OpenAI ImagesStatus: 不支援—
OpenAI SoraStatus: 不支援—
OpenAI EmbeddingsStatus: 不支援—
OpenAI Audio Speech (TTS)Status: 不支援—
OpenAI Audio Transcription (STT)Status: 不支援—
效能數據(近 30 天)
最近 30 天 199 次請求
總用量46.65M
P50 首字延遲6.02s
平均吞吐量34 tok/s
成功率98.5%
Uptime · 24h
—
成功率 · 60d
DeepSeek V4 Pro API Pricing and Gateway Access | OneHop