← models

DeepSeek

Connect to DeepSeek's model API.

Website·Docs·Pricing·Sign Up

API Configuration

API Typeopenai-completions
Base URLhttps://api.deepseek.com
Auth Modeapi_key
Auth Keys
DEEPSEEK_API_KEY — API Key — obtain from https://platform.deepseek.com/
Regionscn, us
Default Modeldeepseek-flash
Statusactive

Pricing

Pay-as-you-go per token. Both models share unified pricing. Cache hits discounted. See api-docs.deepseek.com for details.

Getting Started

Sign up at platform.deepseek.com, top up balance, then create an API key.

Models (4)

ModelContextMax OutputPricingFeatures
deepseek-flash
deepseek-flash
API model; setup uses a conservative output budget.
1.0M384KSee official pricing documentation.
DeepSeek V4 Pro
deepseek-v4-pro
Reasoning and tool-use model.
1.0M384KSee official pricing documentation.
DeepSeek V3.2 (Chat)
deepseek-chat
DeepSeek V3.2 non-thinking mode — general tasks, tool use, 8K max output
131K8KInput $0.28/M, output $0.42/M (cache hit: input $0.07/M).
DeepSeek V3.2 (Reasoner)
deepseek-reasoner
DeepSeek V3.2 thinking mode — Chain-of-Thought reasoning, 64K max output
131K64KInput $0.28/M, output $0.42/M (cache hit: input $0.07/M).

Last verified: 2026-03-19