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 aggressive prompt-cache pricing. Best price/performance for heavy reasoning workloads.
Source: launch_0019 · Verified 2026-06-01
Cache read $0.002/M · Cache write $—/M
Replace the ONEHOP_KEY placeholder with your API key. Create one →
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)