DeepSeek V4 Pro API pricing and setup

DeepSeek V4 Pro (deepseek-v4-pro) is a DeepSeek model. It is available through the relay.fast API with one relay.fast key and pay-as-you-go billing.

Prices checked from the live catalog. "From" is the lowest price among the relay.fast sources that currently serve the model. The price you pay depends on the source your request uses and can change on any day. The pricing page always shows current values.

Official input price$1.32 per 1M tokens
Official output price$3.96 per 1M tokens
relay.fast input from$0.066 per 1M tokens
relay.fast output from$0.198 per 1M tokens
Cache read from$0.0022 per 1M tokens
Lower than the official price byup to 95%
Context window1M tokens
Endpoints/v1/chat/completions

price depends on the time of day; the peak-hours price is shown

Example request

Keep the key in the RELAY_FAST_API_KEY environment variable.

curl https://relay.fast/v1/chat/completions \
  -H "Authorization: Bearer $RELAY_FAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"deepseek-v4-pro","messages":[{"role":"user","content":"Hello"}]}'

Use DeepSeek V4 Pro in coding tools

Setup guides: Claude Code, Codex, Cursor, Cline, Kilo Code, OpenCode, Aider. The API docs have one-command installers.

Frequently asked questions

How much does the DeepSeek V4 Pro API cost?

On 2026-11-05, relay.fast charges from $0.066 per 1M input tokens and $0.198 per 1M output tokens for DeepSeek V4 Pro, against the official $1.32 and $3.96. The price depends on the source your request uses and can change; https://relay.fast/pricing/deepseek-v4-pro shows the current value.

What is the context window of DeepSeek V4 Pro?

DeepSeek V4 Pro accepts up to 1M tokens of context in the relay.fast catalog. Output limits depend on the model and client settings.

Which API endpoint does DeepSeek V4 Pro use?

Call /v1/chat/completions with a relay.fast API key. OpenAI-compatible SDKs use the base URL https://relay.fast/v1.

Do I need a DeepSeek account to use DeepSeek V4 Pro?

No. You use a relay.fast account and API key. relay.fast is an independent API gateway and is not affiliated with DeepSeek.

Other DeepSeek models

DeepSeek V4 Flash · DeepSeek V4 Flash 0731 · DeepSeek V4 Flash Vision Exp · DeepSeek V4 Pro 0813 · DeepSeek V4.1 Flash · DeepSeek V4.1 Flash 1017

All model prices · API reference · Service status