• DeepSeek
  • Text
  • 1M context

DeepSeek V4.1 Flash 1017 API: pricing, capabilities and setup

DeepSeek V4.1 Flash 1017 API: the October 17, 2026 build of V4.1 Flash that finishes tasks faster with shorter outputs, with a 1M-token context window.

pay as you go · no subscription · key right after sign-up

Model ID
Input
$0.09 / 1M
Output
$0.36 / 1M
Get a key No subscription · pay as you go

How much DeepSeek V4.1 Flash 1017 costs

  • Input
    $0.09
    per 1M tokens
  • Output
    $0.36
    per 1M tokens
  • Cache read
    $0.009
    per 1M tokens
  • Cache write
    $0.09
    per 1M tokens · same as input

Cost calculator

100 M tokens

75%

The rest is output

With llmbox
$16

What a typical task costs

TaskTokens (input / output)With llmbox
Short chat2 000 / 500$0.00036
Code review20 000 / 2 000$0.00252
Document summary40 000 / 2 000$0.00432
Agent session600 000 / 30 000$0.0648

Specs

  • Context
    1M
    tokens
  • Max output
    384K
    tokens
  • Input
    text

Setup in three steps

  1. 01
    Get a key

    Sign up and create an API key in the dashboard.

    Get a key →
  2. 02
    Set the base URL

    In any OpenAI-compatible client, point the API address to:

  3. 03
    Pass the model id

    Put this identifier in the model field:

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://llmbox.cc/v1",
    api_key=os.environ["LLMBOX_API_KEY"],
)
resp = client.chat.completions.create(
    model="deepseek/deepseek-v4.1-flash-1017",
    messages=[{"role": "user", "content": "Hi! Tell me about yourself in two sentences."}],
)
print(resp.choices[0].message.content)

What DeepSeek V4.1 Flash 1017 is good for

DeepSeek V4.1 Flash 1017 is the October 17, 2026 build of DeepSeek V4.1 Flash. DeepSeek calls it a minor update to the model released in September: per the company, the new version is stronger in reasoning, coding and agentic tasks, finishes tasks faster and writes shorter outputs. According to DeepSeek's documentation, the context window is 1M tokens and a single response returns up to 384K tokens. On llmbox the model works with text. The weights are open under the MIT license.

What it's good for

The number in the name is the build date: if your quality checks were run on the October 17 V4.1 Flash, the dated name points to that version explicitly. The main point of this build, per DeepSeek, is speed and brevity: the model gets to a result faster and writes shorter answers than the September version.

DeepSeek also says it optimized 1017 for coding agents — its own DeepSeek Harness and several third-party tools; the agent needs function calling, so for Harness through llmbox pick V4.1 Flash — setup is in the DeepSeek Harness docs. Short answers are not a detail here: reasoning tokens count as output, so a shorter answer may cost less.

The 1M-token window and the 384K-token response limit are built for long sessions: history, files and results of earlier steps fit into one request, and a repeated request prefix may be served from cache.

When it's not the right fit

  • Your agent calls your functions, expects JSON-schema output, receives screenshots or works in Codex CLI — through llmbox those are available on DeepSeek V4.1 Flash.
  • Tasks where factual knowledge matters most — compare the result with the larger DeepSeek V4 Pro.

How to connect

You call the model from your own code through the OpenAI SDK or another OpenAI-compatible client with an llmbox key and the model ID deepseek/deepseek-v4.1-flash-1017. You don't need a DeepSeek API key; the key and base URL are covered in the Quickstart. The same key opens the other DeepSeek models and other vendors.

DeepSeek V4.1 Flash 1017 API pricing

The rates per 1M input and output tokens, as well as cache read and write rates, are on this page. Reasoning tokens count as output. You pay from a prepaid balance as you go, with no subscription. Every request with its status, tokens and cost is in the request log in your dashboard.

Typical tasks

  • Projects tuned and evaluated on the 1017 build
  • Code tasks where speed and short answers matter
  • Comparing V4.1 Flash builds on your own requests
  • Long sessions with a large input context

DeepSeek V4.1 Flash 1017 or DeepSeek V4.1 Flash?

ModelInput · 1MOutput · 1M
DeepSeek V4.1 Flash 1017$0.09$0.36
DeepSeek V4.1 Flash$0.10$0.27

DeepSeek V4.1 Flash 1017 vs neighbours

ModelInput · 1MOutput · 1M
DeepSeek V4.1 Flash 1017$0.09$0.36
DeepSeek V4.1 Flash $0.10$0.27
DeepSeek V4 Flash 0731 $0.10$0.28
DeepSeek V4 Pro 0813 $0.10$0.28
DeepSeek V4 Flash $0.144$0.396
Gemini 3.1 Flash Lite Google$0.10$0.40
All DeepSeek models

Other DeepSeek models

FAQ

How is DeepSeek V4.1 Flash 1017 different from DeepSeek V4.1 Flash?

The 1017 in the name is the build date: on October 17, 2026 DeepSeek released a minor update to V4.1 Flash. Per DeepSeek, this version is stronger in reasoning, code and agentic tasks, finishes tasks faster and writes shorter outputs than the September version. The dated name points to this build explicitly.

Does 1017 work with DeepSeek Harness?

DeepSeek optimized this build for its agent, but the agent needs function calling. Through llmbox, pick DeepSeek V4.1 Flash for DeepSeek Harness — setup is in the DeepSeek Harness section of the docs.

What changed in version 1017?

Per DeepSeek, the model got stronger in reasoning, code and agentic tasks, while run time and output length went down — the company calls this a gain in both quality and cost per task.

Can I use the model in an agent with my own functions?

Through llmbox, function calling, JSON-schema output, image input and Codex CLI are available on DeepSeek V4.1 Flash — pick that model for agents.

How is DeepSeek V4.1 Flash 1017 billed?

Per input and output token, from a prepaid balance as you go; the rates, including cache rates, are on this page. Reasoning tokens count as output, so shorter answers may use fewer output tokens.