DeepSeek V4 Pro

deepseek/deepseek-v4-pro

A chat model with a 1M-token context window, at $0.693 per million input tokens and $2.079 per million output tokens.

Details

Maker
deepseek
Kind
Chat
Context window
1,000,000 tokens
Max output
384,000 tokens
Input
$0.693 per million tokens
Cached input
$0.0231 per million tokens, 97% off
Cache write
Same as input
Output
$2.079 per million tokens
Capabilities
Reasoning, tool use
Takes
Text
Returns
Text
Zero data retention
Not on every provider
No training on requests
Not on every provider
Released
2026-04-23
Newer model
deepseek/deepseek-v4.1-flash-1017Released later by the same maker, costs no more, and lists the same capabilities. Compare the two

Description

DeepSeek-V4 series incorporate several key upgrades in architecture and optimization: (1) a hybrid attention architecture that combines Compressed Sparse Attention (CSA) and Heavily Compressed Attention (HCA) to improve long-context efficiency; (2) ManifoldConstrained Hyper-Connections (mHC) that enhance conventional residual connections; (3) and the Muon optimizer for faster convergence and greater training stability

Call it

curl
curl https://phantom.codes/v1/chat/completions \
  -H "Authorization: Bearer $PHANTOM_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek/deepseek-v4-pro",
    "messages": [
      {"role": "user", "content": "Hello"}
    ]
  }'

Set PHANTOM_KEY to your key. Any OpenAI client works with the base URL https://phantom.codes/v1.