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.
This model is available to accounts that have topped up. Top up and you can call it right away. Go to billing
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)
base_url: https://api.onehop.ai/v1
Google Vertex AIStatus: Not supported—
OpenAI ImagesStatus: Not supported—
OpenAI SoraStatus: Not supported—
OpenAI EmbeddingsStatus: Not supported—
OpenAI Audio Speech (TTS)Status: Not supported—
OpenAI Audio Transcription (STT)Status: Not supported—
Performance (last 30 days)
199 requests · last 30 days
Total usage46.65M
P50 first-token latency6.02s
Avg throughput34 tok/s
Success rate98.5%
Uptime · 24h
—
Success rate · 60d
DeepSeek V4 Pro API Pricing and Gateway Access | OneHop