DeepSeek V4.1 Flash 1017 HQ API
Model ID: deepseek-v4.1-flash-1017-hq · Developer: DeepSeek · Available on 7API: yes, as of 2026-11-20
A separate HQ tier of DeepSeek V4.1 Flash 1017 with image input. Input and output cost $0.05/M; cached input costs $0.01/M.
Call DeepSeek V4.1 Flash 1017 HQ with any OpenAI- or Anthropic-compatible client. Use base URL https://7api.st/v1 (OpenAI) or https://7api.st (Anthropic) and send "model": "deepseek-v4.1-flash-1017-hq".
Specifications
| Model ID | deepseek-v4.1-flash-1017-hq |
| Context window | 1,000,000 tokens |
| Max output | 65,536 tokens |
| Input | Text and images |
| Tool calling | Yes |
| Streaming | Yes |
| Reasoning effort | Model default |
| API formats | Chat Completions, Responses, Anthropic Messages |
Pricing
| USD per 1M tokens | |
|---|---|
| Input | $0.05 |
| Output | $0.05 |
| Cached input | $0.01 |
For example, an agent turn with 150,000 cached input tokens, 2,000 new input tokens and 800 output tokens costs about $0.0016 on DeepSeek V4.1 Flash 1017 HQ. Billing is pay per token from a prepaid balance. See Pricing and billing.
Example
from openai import OpenAI
client = OpenAI(base_url="https://7api.st/v1", api_key="YOUR_7API_KEY")
r = client.chat.completions.create(
model="deepseek-v4.1-flash-1017-hq",
messages=[{"role": "user", "content": "Write a haiku about caching."}],
)
print(r.choices[0].message.content)In Claude Code: /model claude-deepseek-v4.1-flash-1017-hq. Setup guides: Claude Code, OpenCode, Codex, Cursor.
Related models
- DeepSeek V4.1 Flash: $0.02/M, $0.005/M cached, 1M context
- DeepSeek V4.1 Flash 1017: $0.02/M, $0.005/M cached, 1M context
- DeepSeek V4.1 Flash 1017 Abliterated: $0.15/M, $0.05/M cached, 1M context
- DeepSeek V4.1 Flash 1017 Abliterated Fast: $0.70/M, $0.16/M cached, 1M context
- DeepSeek V4 Flash: $0.03/M, $0.0027/M cached, 1M context
- DeepSeek V4 Pro: $0.25/M, $0.05/M cached, 1M context
