Text generation / DeepSeek
Deepseek-V4-Pro
API name: deepseek-v4-pro
Overview
A flagship Mixture-of-Experts (MoE) large language model with 1.6 trillion total parameters and 49 billion activated parameters. It natively supports context windows of up to 1 million tokens. Trained on extensive high-quality data, the model delivers strong performance in mathematical and logical reasoning, complex reasoning, professional code generation, and in-depth long-document analysis, and is suitable for demanding scenarios such as advanced scientific research, complex enterprise workflows, and sophisticated agentic applications.
- Model type: Text generation
- Input: Text
- Output: Text
- Endpoints: chat / chat_completion
| Tier | Input | Output | Cache hit |
|---|---|---|---|
| Fallback tier | $0.0016/1K | $0.0033/1K | $0.0001/1K |
Billed bylen (input context token count). Coefficient is the $ / 1M tokens price. Default group price (other groups converted by discount).
Code example
Call with deepseek-v4-pro :
curl https://www.starunion.net/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4-pro",
"messages": [{ "role": "user", "content": "Hello" }]
}'