HiAPI
OverviewModels MarketAPI KeysUsage StatisticsCall LogsBillingReferralPlaygroundStorageChangelogContact UsSettings
Display unit
N
Powered by hiapi
Settings

Welcome

Contact Us

DeepSeek V4 Flash is the efficiency-focused open-weight MoE text model in the DeepSeek V4 family, with a 1M-token context window, high/max reasoning, structured output, and tool calling. HiAPI exposes this model through the Chat Completions API.

Provider: DeepSeek

Category: text generation

Endpoint: /v1/chat/completions

Status: Available

Cost: --

Back to models
DeepSeekText APIOnline

DeepSeek V4 Flash

DeepSeek V4 Flash is the efficiency-focused open-weight MoE text model in the DeepSeek V4 family, with a 1M-token context window, high/max reasoning, structured output, and tool calling. HiAPI exposes this model through the Chat Completions API.

API access

Endpoint

POST /v1/chat/completions

Base URL

https://apidev.hiapi.ai

OpenAI Chat Completions compatible. Use one HiAPI key across all available models.

Input price

280 Credits

/ 1M tokens

Output price

560 Credits

/ 1M tokens

Context

1M

context window

Max output

384K

output tokens

PlaygroundAPIPricingCapabilitiesOverview

Run settings

Checking free campaign eligibility…

Try DeepSeek V4 Flash

Ask a question to stream the answer and inspect token usage, latency, and estimated cost.

DeepSeek V4 Flash API Quickstart

Call DeepSeek V4 Flash with the OpenAI-compatible Chat Completions format. Copy a ready-to-use cURL, Python, or Node.js example below.

Code Example
API Endpoint:/v1/chat/completions
curl -X POST "https://apidev.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": "请用三句话解释量子计算,并给出一个生活化的类比。"
    }
  ],
  "thinking": {
    "type": "enabled"
  },
  "reasoning_effort": "high"
}'

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.

The example enables thinking with reasoning_effort=high. Use max for maximum effort. To disable thinking, set thinking.type to disabled and omit reasoning_effort.

Manage API keysUse the same HiAPI key across all available models.

DeepSeek V4 Flash API Pricing

Billing is based on actual input, output, and cached token usage. All prices below are shown per 1 million tokens.

Input tokens
280 Credits/ 1M tokens

Prompts and context sent to the model

Output tokens
560 Credits/ 1M tokens

Responses and reasoning generated by the model

Cache read
70 Credits/ 1M tokens
Cache write
-

DeepSeek V4 Flash Model Specifications

These specifications reflect the current public HiAPI text request contract. Undisclosed capabilities are not inferred by the page.

Streaming
Supported
Tool calling
Supported
Structured JSON
Supported
Reasoning
Supported
Input modalities
text
Output modalities
text
Reasoning efforts
high · max
Max output
384K

About DeepSeek V4 Flash

DeepSeek V4 Flash is the efficiency-focused open-weight MoE text model in the DeepSeek V4 family, with a 1M-token context window, high/max reasoning, structured output, and tool calling. HiAPI exposes this model through the Chat Completions API.

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.

Provider
DeepSeek
Endpoint
/v1/chat/completions
Context window
1M
Released
2026-04-24

How to Use DeepSeek V4 Flash

The Playground and API share the same model ID, so three steps take a tested prompt into production.

  1. Step 1

    Validate online

    Test the system prompt, temperature, output length, and reasoning mode in the Playground.

  2. Step 2

    Manage API keys

    View an existing key or create another after signing in; one key works across all available models.

  3. Step 3

    Integrate your server

    Send requests to /v1/chat/completions and track cost with the usage object.

Frequently asked questions

What is DeepSeek V4 Flash?

DeepSeek V4 Flash is the speed- and cost-efficient open-weight MoE model in the DeepSeek V4 family. According to DeepSeek, it has 284B total parameters, activates 13B parameters per token, supports a 1M-token context window, and provides non-thinking, Think High, and Think Max modes.

How do I change the thinking mode and reasoning effort?

Thinking mode is enabled by default. In the Playground, turn thinking off or choose High for standard thinking and Max for maximum effort. API requests use thinking.type=enabled/disabled and reasoning_effort=high/max. Use max explicitly for maximum effort; xhigh maps to high on DeepSeek V4 Flash.

Which endpoint and model ID should I use?

Send POST requests to /v1/chat/completions, set model to deepseek-v4-flash, and authenticate with a HiAPI API key. Image, video, and audio models continue to use /v1/tasks.

How is DeepSeek V4 Flash API usage billed?

HiAPI bills actual input, output, and cached-input tokens separately. Reasoning generated in thinking mode is model output. The model and pricing pages show the current public rates, while usage and API logs record the final charge.

How do I migrate an existing OpenAI SDK client?

Keep the Chat Completions messages shape, set base_url to https://api.hiapi.ai/v1, use a HiAPI API key, and set model to deepseek-v4-flash. Add thinking and reasoning_effort when you need thinking mode.