freeaiapi.aiSign Up

DeepSeek: deepseek-v4-pro API

deepseek-v4-pro

DeepSeek V4 Pro is DeepSeek's flagship mixture-of-experts model with a very long context window, focused on software engineering and multi-step agent tasks at a low price per token.

In / out price
$0.924 / $2.77 per 1M
Official price
$1.32 / $3.96
You save
30%
Type
Text

Pricing

Price per 1M tokens compared with DeepSeek's official list price. Last updated .

Token typeOfficialfreeaiapi.aiYou save
Input$1.32$0.92430%
Output$3.96$2.7730%
Cached input$0.044$0.03130%

Call deepseek-v4-pro with the OpenAI SDK

Use model ID deepseek-v4-pro with base URL https://api.freeaiapi.ai/v1. Quickstart

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

Frequently asked questions

Is this the official DeepSeek API?

No. freeaiapi.ai is an independent API gateway. You get one OpenAI-compatible key that routes to DeepSeek and other models, billed from a prepaid balance.

Do I need a credit card to start?

No. Sign up, connect Telegram and join our channel to unlock $1 trial credit. Create an API key and make your first request. Add funds when you want to keep going.

Does it work with the OpenAI SDK?

Yes. Point any OpenAI SDK or OpenAI-compatible tool at https://api.freeaiapi.ai/v1 and use your freeaiapi.ai key. No code changes beyond the base URL and key.

Not affiliated with DeepSeek. DeepSeek is a trademark of DeepSeek.