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

Welcome

Contact Us

DeepSeek V4 Pro (0813) targets complex reasoning, coding, and agent workflows. It natively supports the Responses API and remains compatible with Chat Completions.

Provider: DeepSeek

Category: text generation

Endpoint: /v1/responses

Status: Available

Cost: --

Back to models
DeepSeekText APIOnline

DeepSeek V4 Pro

DeepSeek V4 Pro (0813) targets complex reasoning, coding, and agent workflows. It natively supports the Responses API and remains compatible with Chat Completions.

API access

Endpoint

POST /v1/responses

Base URL

https://apidev.hiapi.ai

Uses the OpenAI Responses format. One HiAPI key works across all available models.

Input price

3,000 Credits

/ 1M tokens

Output price

9,000 Credits

/ 1M tokens

Context

1M

context window

Max output

384K

output tokens

PlaygroundAPIPricingCapabilitiesOverview

Run settings

The Playground charges the signed-in account balance without requiring an extra API key. Server-side API calls still require a HiAPI API key.

Try DeepSeek V4 Pro

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

DeepSeek V4 Pro API Quickstart

Call DeepSeek V4 Pro with the streaming OpenAI Responses format. Copy a ready-to-use cURL, Python, or Node.js example below.

Code Example
API Endpoint:/v1/responses
curl -N -X POST "https://apidev.hiapi.ai/v1/responses" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "deepseek-v4-pro",
  "input": [
    {
      "type": "message",
      "role": "user",
      "content": [
        {
          "type": "input_text",
          "text": "分析一个复杂代码库中的性能瓶颈,并给出可验证的优化方案。"
        }
      ]
    }
  ],
  "stream": true,
  "max_output_tokens": 1024,
  "reasoning": {
    "effort": "high"
  }
}'

Tip: Replace YOUR_API_KEY with your actual API key from the API Keys page.

Uses the OpenAI Responses format. Keep stream: true, send input as a message array, and set reasoning effort with reasoning.effort.

The example defaults to reasoning.effort=high. Use max for maximum effort or none to disable reasoning.

Responses API

Request fields at a glance

Start with core fields, then enable advanced capabilities as needed.

2 required4 capability fields

Core fields

The fields that form a valid request

model
Required
Use deepseek-v4-pro.
input
Required
Send a message array or text input.
stream
Optional
Supports streaming and non-streaming responses; examples use true.
instructions
Optional
Define the model role and response requirements.

Capability fields

Enable reasoning, output control, and tools as needed

reasoning.effort
Optional
Supports none, low, high, and max; defaults to high.
max_output_tokens
Optional
Limit the maximum output tokens for this response.
tools / text.format
Optional
Use function tools or structured JSON output.
State and storage
Optional
This endpoint is stateless; omit store, previous_response_id, and conversation.
i

DeepSeek Responses is stateless and does not support previous_response_id or conversation. Replay required context in the next input and omit store.

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

DeepSeek V4 Pro API Pricing

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

Input tokens
3,000 Credits/ 1M tokens

Prompts and context sent to the model

Output tokens
9,000 Credits/ 1M tokens

Responses and reasoning generated by the model

Cache read
99 Credits/ 1M tokens
Cache write
-

DeepSeek V4 Pro 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
none · low · high · max
Max output
384K

About DeepSeek V4 Pro

DeepSeek V4 Pro (0813) targets complex reasoning, coding, and agent workflows. It natively supports the Responses API and remains compatible with Chat Completions.

HiAPI exposes this model through /v1/responses. Test prompts and parameters in the Playground, then use the same HiAPI API key in your server application.

Provider
DeepSeek
Endpoint
/v1/responses
Context window
1M
Released
2026-08-13

How to Use DeepSeek V4 Pro

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

  1. Step 1

    Validate online

    Test instructions, input, and reasoning.effort 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/responses and track cost with the usage object.

Frequently asked questions

What is DeepSeek V4 Pro?

DeepSeek V4 Pro 0813 is the production release of the V4 Pro API model for demanding reasoning, coding, and Agent workloads. It supports a 1M-token context window, up to 384K output tokens, and thinking and non-thinking modes.

Which model ID and endpoint should I use?

Set model to deepseek-v4-pro. HiAPI recommends POST /v1/responses and also keeps POST /v1/chat/completions for compatible clients.

How do I control reasoning effort?

Responses uses reasoning.effort with none, low, high, or max and defaults to high. Chat Completions uses thinking.type and reasoning_effort.

Does DeepSeek V4 Pro Responses store conversation state?

No. It is stateless. Omit store, previous_response_id, conversation, and background, and replay required context in input.

How is DeepSeek V4 Pro API usage billed?

HiAPI bills actual input, output, and cached-input tokens separately. Final charges follow response usage, the live pricing page, and API logs.

Can I use Codex or an OpenAI-compatible client?

Use Responses for Codex-style workflows. Existing Chat Completions clients can keep the messages request shape and replace the base URL, API key, and model ID.