DeepSeek API

DeepSeek's high-performance language models with OpenAI-compatible API

Data & Privacy

HQ:CN
Safety identifier:Not forwarded
API Training:Yes
Prompt Logging:Yes
Retention:Unknown

Available Models

Pricing and availability as of

DeepSeek V4.1 Flash 1017

deepseek15% off
deepseek-v4.1-flash-1017
Streaming
Vision
Tools
Reasoning
JSON Output
15% Discount
DeepSeekBatch
Context: 1.1M15% off
Time-based pricing
Input
$0.3$0.255
/M tokens
Cached
$0.006$0.0051
/M tokens
Output
$1.2$1.02
/M tokens

Peak: Monday–Friday, 01:00–04:00 and 06:00–10:00 UTC.

Off-peak: Monday–Friday outside those hours, plus all day Saturday and Sunday UTC.

+ $0.001$0.001 per search

deepseek-v4.1-flash-latest

deepseekVirtual model15% off
deepseek-v4.1-flash-latest
Streaming
Vision
Tools
Reasoning
JSON Output
15% Discount
DeepSeekBatch
Context: 1.1M15% off
Time-based pricing
Input
$0.3$0.255
/M tokens
Cached
$0.006$0.0051
/M tokens
Output
$1.2$1.02
/M tokens

Peak: Monday–Friday, 01:00–04:00 and 06:00–10:00 UTC.

Off-peak: Monday–Friday outside those hours, plus all day Saturday and Sunday UTC.

+ $0.001$0.001 per search

DeepSeek V4 Pro

deepseek15% off
deepseek-v4-pro
Streaming
Tools
Reasoning
JSON Output
15% Discount
DeepSeekBatch
Context: 1.1M15% off
Time-based pricing
Input
$1.32$1.122
/M tokens
Cached
$0.044$0.0374
/M tokens
Output
$3.96$3.366
/M tokens

Peak: Monday–Friday, 01:00–04:00 and 06:00–10:00 UTC.

Off-peak: Monday–Friday outside those hours, plus all day Saturday and Sunday UTC.

+ $0.001$0.001 per search

DeepSeek on the blog

FAQ

DeepSeek API questions

Can't find an answer? Contact us

Create an LLM Gateway API key and point any OpenAI-compatible SDK at https://api.llmgateway.io/v1. Set the model to deepseek-v4.1-flash-1017. On pay-as-you-go keys, deepseek/deepseek-v4.1-flash-1017 pins every request to DeepSeek; DevPass coding plans do not support provider pinning. You do not need a separate DeepSeek account or SDK.