Verified 2026-11-18 · rates follow the live catalog

DeepSeek API: models, prices and how to call them

5 DeepSeek models are in the catalog, from DeepSeek-V4.1-Flash at $0.0072 for one request to DeepSeek-V4-Pro-0813 at $0.03, a 4.2× spread inside one family. Prices are what each model bills at its most expensive hour of the day. One request is a 20,000-token prompt with a 1,000-token reply and nothing cached, an illustration and not a measurement of your traffic.

DeepSeek models and what a request costs

DeepSeek models: rates per 1M tokens, and the cost of one request and of 1,000
ModelContextInput / 1MOutput / 1MCached input / 1MOne request (20,000 in, 1,000 out)1,000 requests
DeepSeek-V4.1-Flash1.0M$0.30$1.20$0.006$0.0072$7.20
DeepSeek-V4.1-Flash-10171.0M$0.30$1.20$0.006$0.0072$7.20
DeepSeek-V4.1-Flash-1017-Uncensored1.0M$0.30$1.20$0.03$0.0072$7.20
DeepSeek-V4-Flash-07311.0M$0.44$1.32$0.014$0.01$10.12
DeepSeek-V4-Pro-08131.0M$1.32$3.96$0.132$0.03$30.36

Models that bill the same

What each DeepSeek model accepts

DeepSeek models: what each one takes as input and how it reasons
ModelImage inputVideo inputTool callingReasoning tiersServing precision
DeepSeek-V4.1-FlashYesNoYeslow, high, maxFP8
DeepSeek-V4.1-Flash-1017YesNoYeslow, high, maxFP8
DeepSeek-V4.1-Flash-1017-UncensoredYesNoYeslow, high, maxFP8
DeepSeek-V4-Flash-0731YesNoYeslow, high, maxFP8
DeepSeek-V4-Pro-0813NoNoYeshigh, maxFP8

Published DeepSeek discounts

These models publish a discount against their list price:

Each model's page shows its list price, its rates and its schedule.

A free DeepSeek model

Free to call, with the last free day shown (UTC, inclusive): DeepSeek-V4.1-Flash-1017-Free through 31 December 2026. Free models never draw down a plan allowance or credits, work on an account with no credits, and answer only streaming requests. After its last free day a model is no longer served. The free AI API page covers how free models behave at their limits.

Calling a DeepSeek model

Create an account, make a key in the dashboard and send it as a bearer token. Between model families, only the model field changes.

curl https://api.openference.com/v1/chat/completions \
  -H "Authorization: Bearer $OPENFERENCE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "DeepSeek-V4.1-Flash-1017-Uncensored",
       "messages": [{"role": "user", "content": "Say hello"}]}'

Send DeepSeek-V4.1-Flash-1017-Uncensored exactly as written. OpenAI-format clients use https://api.openference.com/v1; Claude Code and other Anthropic-format clients use https://api.openference.com. The OpenAI-compatible API guide covers every endpoint.

Other model families

See also the cheap AI API guide, the model catalog and pricing.

Questions

How much does the DeepSeek API cost?

Across the 5 billed DeepSeek models, input runs $0.30 to $1.32 and output $1.20 to $3.96 per million tokens at the most expensive hour of the day. DeepSeek-V4.1-Flash is the least expensive per request.

What is the DeepSeek API base URL?

https://api.openference.com/v1 for OpenAI-format clients and https://api.openference.com for Anthropic-format clients.

Do DeepSeek models accept images?

Some do: DeepSeek-V4.1-Flash, DeepSeek-V4.1-Flash-1017, DeepSeek-V4.1-Flash-1017-Uncensored and DeepSeek-V4-Flash-0731 accept image input, and the other one is text-only.

Is there a free DeepSeek model?

Yes, for now: DeepSeek-V4.1-Flash-1017-Free. Free models are a limited-time offer and answer only streaming requests.

Model catalog · Pricing · Comparisons · Cost guides · Integration guides · FAQ
Guides: GLM coding plan alternative · Free AI API · LLM gateway · LLM proxy · Cheap AI API · OpenAI-compatible API
Model APIs: GLM API · DeepSeek API · Kimi API · Qwen API · MiniMax API