DeepSeek logo
DeepSeek

DeepSeek V4 Pro

DeepSeek's flagship V4 Pro model for complex reasoning, coding, and agentic workflows, with text input and text output

Category Text Model ID deepseek-v4-pro
Model TypeLarge Language Model (LLM)
MultimodalText input, text output
API AvailabilitySupports the Chat Completions API

Pricing & Specs

💰 Pricing

Input$9 / M tokens
Output$27 / M tokens
Cache Hit$0.3 / M tokens

⚙️ Specs

Model TypeLarge Language Model (LLM)
MultimodalText input, text output
API AvailabilitySupports the Chat Completions API
Caching SupportSupports cached-input pricing
PositioningFlagship tier for complex reasoning, coding, and agentic workflows
ProviderDeepSeek

API Examples

Python (OpenAI SDK)

from openai import OpenAI

client = OpenAI(
    api_key="your-api-key",
    base_url="https://api.yairouter.com/v1"
)

response = client.chat.completions.create(
    model="deepseek-v4-pro",
    messages=[
        {"role": "user", "content": "Summarize this requirement and break it into development tasks"}
    ]
)

print(response.choices[0].message.content)

cURL (OpenAI API)

curl https://api.yairouter.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "deepseek-v4-pro",
    "messages": [
      {"role": "user", "content": "Summarize this requirement and break it into development tasks"}
    ]
  }'