DeepSeek

deepseek-v4-pro

Text

Flagship reasoning and analysis for complex agentic work

Input $1.32 / 1M tokens | Output $3.96 / 1M tokens deepseek-v4-pro API reference →
Model health Insufficient data
runapi.ai
# Base URL
https://runapi.ai

# Endpoints
POST /v1/chat/completions
POST /v1/responses
POST /v1/messages
POST /v1beta/models/deepseek-v4-pro:generateContent
POST /v1beta/models/deepseek-v4-pro:streamGenerateContent
curl https://runapi.ai/v1/chat/completions \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "deepseek-v4-pro",
  "messages": [
    {
      "role": "user",
      "content": "Refactor this Python module for readability, explain each change, then add unit tests for the edge cases."
    }
  ]
}'
from openai import OpenAI

client = OpenAI(
    base_url="https://runapi.ai/v1",
    api_key="your-runapi-key"
)

response = client.chat.completions.create(
    model="deepseek-v4-pro",
    messages=[{"role": "user", "content": "Refactor this Python module for readability, explain each change, then add unit tests for the edge cases."}]
)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://runapi.ai/v1",
  apiKey: "your-runapi-key"
});

const response = await client.chat.completions.create({
  model: "deepseek-v4-pro",
  messages: [{ role: "user", content: "Refactor this Python module for readability, explain each change, then add unit tests for the edge cases." }]
});
https://runapi.ai 5 endpoints

4 versions available

Playground

Try deepseek-v4-pro

Pick any model and generate in seconds.

Estimated: Input $1.32 / 1M tokens | Output $3.96 / 1M tokens

Sign in to generate with RunAPI.

Sign in to generate

Sign in to start generating with your available language models.

Specifications

Technical details

Provider DeepSeek
Model ID deepseek-v4-pro
Modality Text
Task types Synchronous
API endpoint /v1/chat/completions
/v1/responses
/v1/messages
/v1beta/models/deepseek-v4-pro:generateContent
/v1beta/models/deepseek-v4-pro:streamGenerateContent
Billing unit 1K tokens
Catalog status Operational
HOW IT WORKS

Use This Model in 3 Steps

  1. Get Your Key

    Sign up for free and create an API key for deepseek-v4-pro from the dashboard.

  2. Send a Request

    POST to /v1/chat/completions with the deepseek-v4-pro model slug and your parameters.

  3. Get Results

    Read the completed deepseek-v4-pro response directly from the endpoint.

What this model offers

Endpoint coverage

Exposes 2 public endpoint(s): message, chat_completion.

Usage-based billing

Metered by 1K tokens with no subscription requirement.

deepseek-v4-pro Pricing

Endpoint
Price
message
Input: $1.32 / 1M tokens Output: $3.96 / 1M tokens
  • Cache read: $0.05 / 1M tokens
chat_completion
Input: $1.32 / 1M tokens Output: $3.96 / 1M tokens
  • Cache read: $0.05 / 1M tokens
API REFERENCE

Endpoint Specification

Endpoint
POST /v1/chat/completions
Model ID
deepseek-v4-pro
Task Types
message, chat_completion

Request parameters

No request parameters are published for this endpoint.

USE CASES

Customer support

Answer customer questions from a private knowledge base, reducing ticket volume.

Document analysis

Draft contract summaries and flag key clauses for attorney review.

Code generation

Auto-generate unit tests, code reviews, and refactoring suggestions in CI.

Usage metrics

Trusted by developers
3
API Calls / Day
100.0%
Success Rate
1.5s
Avg Generation

Verified customer feedback is not available for this model yet.

FAQ

Frequently asked questions about deepseek-v4-pro

How do I select deepseek-v4-pro?

Pass the model ID shown in the quickstart.

What's the rate limit on this variant?

Per-key rate limits scale with your usage tier. The pricing page shows current limits. If you need higher throughput, contact support to discuss tier upgrades.

Can I switch variants later?

Yes. Variant is a parameter in the request. Switch by changing the model ID — no code changes, no re-authentication, no separate billing setup. All variants share the same API key and request shape.

Does it stream?

Where streaming is available, RunAPI streams end-to-end. LLM models support token-level streaming. Media models use async task polling or webhook callbacks for result delivery.

Where do I report quality issues?

Open an issue on the public GitHub repo or email support at [email protected]. Include the task ID and model ID so the team can investigate the specific generation.

Do I need a separate provider account?

No. Your RunAPI API key is enough to access this variant and every other model in the catalog. You do not need accounts with the underlying provider.

Building with a team?

We're here to help with enterprise setup, integrations, and technical questions.

Contact Us