---
title: Deepseek V4 Pro API | Text Generation | ModelsLab
description: Build with Deepseek V4 Pro API by Deepseek Ai. Text generation, chat, code, and reasoning. Pay-per-use. Free tier.
url: https://modelslab.com/models/deepseek-ai/deepseek-ai-DeepSeek-V4-Pro.md
canonical: https://modelslab.com/models/deepseek-ai/deepseek-ai-DeepSeek-V4-Pro.md
type: product
component: Playground/LLM/Index
generated_at: 2026-04-28T09:57:32.000154Z
---

Deepseek V4 Pro
---

 [LLMs.txt](https://modelslab.com/models/together_ai/deepseek-ai-DeepSeek-V4-Pro/llms.txt) [.md](https://modelslab.com/models/deepseek-ai/deepseek-ai-DeepSeek-V4-Pro.md)

deepseek-ai-DeepSeek-V4-Pro deepseek-ai Closed Source Model $3.250000 / call

Deepseek V4 Pro
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### Deepseek V4 Pro

deepseek-ai deepseek-ai-DeepSeek-V4-Pro

Copy model ID

PricingInput $2.10 / 1M tokens

Output $4.40 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[AN](https://modelslab.com/models/open_router/amazon-nova-micro-v1)[Open Router](https://modelslab.com/models/open_router)

 [Amazon: Nova Micro 1.0

Closed Source Model](https://modelslab.com/models/open_router/amazon-nova-micro-v1)

[MM](https://modelslab.com/models/together_ai/MiniMaxAI-MiniMax-M1-40k)[Together AI](https://modelslab.com/models/together_ai)

 [Minimax M1 40K

Closed Source Model](https://modelslab.com/models/together_ai/MiniMaxAI-MiniMax-M1-40k)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3-30b-a3b-instruct-2507)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 30B A3B Instruct 2507

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3-30b-a3b-instruct-2507)

[Q7](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-7B-Instruct)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen2.5 7B Instruct

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-7B-Instruct)

[OG](https://modelslab.com/models/open_router/openai-gpt-5.4-pro)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-5.4 Pro

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-5.4-pro)

[MM](https://modelslab.com/models/together_ai/MiniMaxAI-MiniMax-M2)[Together AI](https://modelslab.com/models/together_ai)

 [MiniMax M2

Closed Source Model](https://modelslab.com/models/together_ai/MiniMaxAI-MiniMax-M2)

[NN](https://modelslab.com/models/open_router/nvidia-nemotron-nano-9b-v2)[Open Router](https://modelslab.com/models/open_router)

 [NVIDIA: Nemotron Nano 9B V2

Closed Source Model](https://modelslab.com/models/open_router/nvidia-nemotron-nano-9b-v2)

[AA](https://modelslab.com/models/open_router/arcee-ai-trinity-large-thinking)[Open Router](https://modelslab.com/models/open_router)

 [Arcee AI: Trinity Large Thinking

Closed Source Model](https://modelslab.com/models/open_router/arcee-ai-trinity-large-thinking)

[TH](https://modelslab.com/models/open_router/tencent-hunyuan-a13b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Tencent: Hunyuan A13B Instruct

Closed Source Model](https://modelslab.com/models/open_router/tencent-hunyuan-a13b-instruct)

[CV](https://modelslab.com/models/together_ai/deepcogito-cogito-v1-preview-llama-70B-Turbo)[Together AI](https://modelslab.com/models/together_ai)

 [Cogito V1 Preview Llama 70B Turbo

Closed Source Model](https://modelslab.com/models/together_ai/deepcogito-cogito-v1-preview-llama-70B-Turbo)

[DR](https://modelslab.com/models/together_ai/deepseek-ai-DeepSeek-R1-Original)[Together AI](https://modelslab.com/models/together_ai)

 [DeepSeek R1 (Original)

Closed Source Model](https://modelslab.com/models/together_ai/deepseek-ai-DeepSeek-R1-Original)

[MM](https://modelslab.com/models/open_router/mistralai-mistral-nemo)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Mistral Nemo

Closed Source Model](https://modelslab.com/models/open_router/mistralai-mistral-nemo)

[AN](https://modelslab.com/models/open_router/amazon-nova-2-lite-v1)[Open Router](https://modelslab.com/models/open_router)

 [Amazon: Nova 2 Lite

Closed Source Model](https://modelslab.com/models/open_router/amazon-nova-2-lite-v1)

[L4](https://modelslab.com/models/together_ai/meta-llama-Llama-4-Scout-17B-16E)[Together AI](https://modelslab.com/models/together_ai)

 [Llama 4 Scout (17Bx16E)

Closed Source Model](https://modelslab.com/models/together_ai/meta-llama-Llama-4-Scout-17B-16E)

[MM](https://modelslab.com/models/open_router/mistralai-mistral-7b-instruct-v0.1)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Mistral 7B Instruct v0.1

Closed Source Model](https://modelslab.com/models/open_router/mistralai-mistral-7b-instruct-v0.1)

[G2](https://modelslab.com/models/together_ai/google-gemma-2-27b-it)[Together AI](https://modelslab.com/models/together_ai)

 [Gemma-2 Instruct (27B)

Closed Source Model](https://modelslab.com/models/together_ai/google-gemma-2-27b-it)

[MK](https://modelslab.com/models/open_router/moonshotai-kimi-k2.6)[Open Router](https://modelslab.com/models/open_router)

 [MoonshotAI: Kimi K2.6

Closed Source Model](https://modelslab.com/models/open_router/moonshotai-kimi-k2.6)

[MK](https://modelslab.com/models/open_router/moonshotai-kimi-k2-thinking)[Open Router](https://modelslab.com/models/open_router)

 [MoonshotAI: Kimi K2 Thinking

Closed Source Model](https://modelslab.com/models/open_router/moonshotai-kimi-k2-thinking)

About Deepseek V4 Pro
---

Deepseek V4 Pro is a text generation AI model by Deepseek Ai available on ModelsLab. Access Deepseek V4 Pro through our API with pay-per-use pricing and no minimum commitments.

### Technical Specifications

Model IDdeepseek-ai-DeepSeek-V4-ProCategoryLLM ModelsTaskText GenerationPrice$3.250000 per million tokensAddedApril 25, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate Deepseek V4 Pro into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "deepseek-ai-DeepSeek-V4-Pro",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

View the [full API documentation](https://modelslab.com/models/deepseek-ai/deepseek-ai-DeepSeek-V4-Pro/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Deepseek V4 Pro API costs $3.250000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Deepseek Ai](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

Deepseek V4 Pro FAQ
---

### What is Deepseek V4 Pro?

Deepseek V4 Pro is a text generation AI model by Deepseek Ai available on ModelsLab. Access it through our API with pay-per-use pricing and no minimum commitments.

### How do I use the Deepseek V4 Pro API?

You can integrate Deepseek V4 Pro into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "deepseek-ai-DeepSeek-V4-Pro" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Deepseek V4 Pro cost?

Deepseek V4 Pro costs $3.250000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Deepseek V4 Pro model ID?

The model ID for Deepseek V4 Pro is "deepseek-ai-DeepSeek-V4-Pro". Use this ID in your API requests to specify this model.

### Does Deepseek V4 Pro have a free tier?

Yes, ModelsLab offers a free tier that lets you try Deepseek V4 Pro and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-04-28*