Skip to main content
POST
deepseek-v4-flash: Chat completions
This model supports the Chat Completions API only. Send requests to /v1/chat/completions — the Responses endpoint (/v1/responses) is not available for this model.
DeepSeek’s DeepSeek-V4-Flash is an open-weight Mixture-of-Experts model built for efficient reasoning, coding, and agentic workflows, with 284B total parameters activating only 13B per token, served on ZeroGPU for general text generation. It sustains a 1,048,576-token (1M) context well suited for analyzing large codebases, long documents, extensive conversations, and complex research tasks, and supports fast non-thinking responses as well as higher-effort reasoning modes for planning, problem-solving, and multi-step automation. MIT-licensed with no usage restrictions.
References: Model docsTermsPrivacy

Authorizations

x-api-key
string
header
required

Headers

x-project-id
string

Optional project identifier. Scopes the request to a specific project when provided.

Body

application/json
model
string
default:deepseek-v4-flash
required

Model identifier (fixed for this playground). Use request examples to change use cases.

Allowed value: "deepseek-v4-flash"
Example:

"deepseek-v4-flash"

messages
object[]
required
Minimum array length: 1
max_tokens
integer

Maximum number of tokens to generate in the response.

Required range: x >= 1
Example:

800

metadata
object

Response

Success

The response is of type object.