---
title: "DeepSeek V4 Pro | AI Models | Inference.net"
description: "Run DeepSeek V4 Pro (DeepSeek) on Inference.net. 1.049M context. tool-calling, reasoning. Deploy with an OpenAI-compatible API and pay-per-token pricing."
url: "https://inference.net/models/deepseek-v4-pro/"
---

DeepSeek Text Generation Model

# DeepSeek V4 Pro

DeepSeek's flagship open-weight reasoning model: a large sparse Mixture-of-Experts with a 1M-token context window. At high reasoning effort it ranks among the strongest open models on math and coding, at pricing far below closed frontier peers.

[Get Started](https://inference.net/signin/) [Documentation](https://docs.inference.net)

Model details

Developed by DeepSeek

Context window 1024K tokens

Max output 375K tokens

Model API pricing Per 1M tokens

Input $2.10

Cache read $0.003625

Output $4.20

[See all pricing](https://inference.net/pricing/)

```
import OpenAI from "openai";

const openai = new OpenAI({
  baseURL: "https://api.inference.net/v1",
  apiKey: "<YOUR_API_KEY>",
});

const completion = await openai.chat.completions.create({
  model: "deepseek-v4-pro",
  messages: [
    {
      role: "user",
      content: "What is the meaning of life?"
    }
  ],
  stream: true,
});

for await (const chunk of completion) {
  process.stdout.write(chunk.choices[0]?.delta.content as string);
}
```

Prompt caching

1. Keep the prompt prefix stable and byte-identical across calls.
2. Do not send prompt_cache_key. These routes do not support it and may reject the request.
3. Check usage.prompt_tokens_details.cached_tokens in the response to confirm cache reads.

## Related models

[See all models](https://inference.net/models/)

Model

[Kimi K3 1024K input context Vision Tools Reasoning $3.00 / $15.00 2 variants](https://inference.net/models/kimi-k3/)

[MiniMax M3.1 Flash 977K input context Vision Tools Reasoning $0.10 / $0.50](https://inference.net/models/minimax-m3.1-flash/)

[Nemotron 3 Super 256K input context Tools $0.102 / $0.48](https://inference.net/models/nemotron-3-super/)

[Schematron V2 Small 125K input context $0.05 / $0.23](https://inference.net/models/schematron-v2-small/)

[Schematron V2 Turbo 125K input context $0.03 / $0.15](https://inference.net/models/schematron-v2-turbo/)

## Start building with DeepSeek V4 Pro today

Serverless, OpenAI-compatible, and billed per token. No commitments.

[Get Started](https://inference.net/signin/) [Read the docs](https://docs.inference.net)
