DeepSeek V4 Flash is an open-weight language model for high-throughput generation, reasoning, coding, and agent workflows, with a 1M-token context window, thinking and non-thinking modes, JSON output, and tool calling.
Provider: DeepSeek
Category: text generation
Endpoint: /v1/chat/completions
Status: Available
Cost: --
DeepSeek V4 Flash is an open-weight language model for high-throughput generation, reasoning, coding, and agent workflows, with a 1M-token context window, thinking and non-thinking modes, JSON output, and tool calling.
API access
Endpoint
POST /v1/chat/completions
Base URL
https://api.hiapi.ai
OpenAI Chat Completions compatible. Use one HiAPI key across all available models.
Input price
$0.14
/ 1M tokens
Output price
$0.28
/ 1M tokens
Context
1M
context window
Max output
—
output tokens
Ask a question to stream the answer and inspect token usage, latency, and estimated cost.
Call DeepSeek V4 Flash with the OpenAI-compatible Chat Completions format. Copy a ready-to-use cURL, Python, or Node.js example below.
/v1/chat/completionscurl -X POST "https://www.hiapi.ai/v1/chat/completions" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4-flash",
"stream": false,
"messages": [
{
"role": "user",
"content": "请用三句话解释量子计算,并给出一个生活化的类比。"
}
]
}'Tip: Replace YOUR_API_KEY with your actual API key from the API Keys page.
Compatible with the OpenAI Chat Completions format. Set the base URL, API key, and model name to get started.
Billing is based on actual input, output, and cached token usage. All prices below are shown per 1 million tokens.
Prompts and context sent to the model
Responses and reasoning generated by the model
The DeepSeek V4 Flash API is a text generation endpoint available through one HiAPI API key.
DeepSeek V4 Flash API uses usage-based pricing. This page includes pricing, parameters, examples, and integration code.
Send a POST request to /v1/chat/completions with the model name, messages, and one API key. This page includes cURL, Python, and Node.js examples.
These specifications reflect the current public HiAPI text request contract. Undisclosed capabilities are not inferred by the page.
DeepSeek V4 Flash is an open-weight language model for high-throughput generation, reasoning, coding, and agent workflows, with a 1M-token context window, thinking and non-thinking modes, JSON output, and tool calling.
HiAPI exposes this model through /v1/chat/completions. Test prompts and parameters in the Playground, then use the same HiAPI API key in your server application.
The Playground and API share the same model ID, so three steps take a tested prompt into production.
Step 1
Test the system prompt, temperature, output length, and reasoning mode in the Playground.
Step 2
Create one HiAPI key after signing in and use it across all available models.
Step 3
Send requests to /v1/chat/completions and track cost with the usage object.