China AI Hub China AI Hub

API / deepseek

deepseek API

Provider: deepseek · Type: official

deepseek is an API by deepseek, served at https://api.deepseek.com for official models, exposing DeepSeek-V3.2, DeepSeek-V4.1-Flash, DeepSeek-V4-Pro.

deepseek API
Image: AI-generated illustration (Seedream)
Last verified: · Data status: Current · Next review:
Key facts for deepseek API
Key factValue
Endpointhttps://api.deepseek.com
AuthenticationBearer API key (created at platform.deepseek.com/api_keys)
StreamingYes
Function callingYes
Tool callingYes
Structured outputYes
VisionYes
AudioUnknown
Rate limitsConcurrency: deepseek-flash 2500; deepseek-v4-pro 500 (per official pricing page)
Regions
Cloud providersDeepSeek Platform
Documentationhttps://api-docs.deepseek.com/

Context limits

Context limits for deepseek API
ModelInput limitOutput limit
deepseek-v4-1-flash 1,048,576 393,216
deepseek-v4-pro 1,048,576 393,216

The DeepSeek API is an OpenAI-compatible platform with two base URLs: https://api.deepseek.com (OpenAI-compatible, also used by the native Responses API) and https://api.deepseek.com/anthropic (Anthropic-compatible). Authentication is a Bearer API key; streaming is supported.

Current models are deepseek-flash (V4.1-Flash, multimodal) and deepseek-v4-pro, both with 1M-token context and 384K max output, thinking and non-thinking modes, JSON output, tool calls, and automatic KV context caching. Peak/off-peak pricing applies. FIM and Chat Prefix Completion are in beta (non-thinking only). The serving regions are not stated in the official docs.

Sources

Data interpretation

Evidence types for deepseek API
FieldValueEvidence type
Endpointhttps://api.deepseek.comOfficial
AuthenticationBearer API key (created at platform.deepseek.com/api_keys)Official
CapabilitiesStreaming, Function calling, Tool calling, Structured output, VisionOfficial
Models served3 models in the databaseChina AI Hub analysis

Evidence types: Official = vendor documentation or official pages. China AI Hub analysis = derived from the database itself. See the sourcing policy.

What is the deepseek API endpoint?

The deepseek API endpoint is https://api.deepseek.com.

How do you authenticate with the deepseek API?

Bearer API key (created at platform.deepseek.com/api_keys).

What are the context limits of the deepseek API?

deepseek-v4-1-flash: 1,048,576 in / 393,216 out; deepseek-v4-pro: 1,048,576 in / 393,216 out.

Does the deepseek API support function calling?

Yes — the deepseek API supports function calling.

Where does China AI Hub get its deepseek API data?

From 2 sources, last verified 2026-09-20.