DeepSeek V4.1 Flash 1017 API

October 2026 update of DeepSeek V4.1 Flash, tuned for coding agents

deepseek/deepseek-v4.1-flash-1017
DeepSeekConversation

About this model

DeepSeek V4.1 Flash 1017 is the 17 October 2026 snapshot of V4.1 Flash. DeepSeek’s changelog says it replaces V4.1 Flash on its API, web and app, with the model name and pricing unchanged.

What distinguishes it: DeepSeek reports gains over V4.1 such as Terminal-Bench 4.0 from 31.2 to 42.3, DeepSWE from 74.2 to 77.0 and HLE from 36.8 to 42.6, shorter runtimes and outputs, and tuning for DeepSeek Harness, CodeBuddy and WorkBuddy. Choose 1017 for agentic coding; the original V4.1 Flash is kept for reproducing earlier behavior.

Limits: the catalog lists a context window of 900,000 tokens, and image input is supported.

Use cases

  • Coding agents and terminal workflows
  • Long-context analysis
  • Questions about images

Input and output

Input
Text, images
Output
Text

Developer

Developer
DeepSeek
Type
Conversation
Context
900,000 tokens
Capabilities
Image input

DeepSeek V4.1 Flash 1017 request example

Use https://gatelum.com/v1 as the base URL and pass deepseek/deepseek-v4.1-flash-1017 in the model field. You create the key in your account after signing up.

curl --silent --show-error --fail-with-body \
  --header 'Authorization: Bearer glt_YOUR_KEY' \
  'https://gatelum.com/v1/chat/completions' \
  --header "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "deepseek/deepseek-v4.1-flash-1017",
  "messages": [
    {
      "role": "user",
      "content": "Hi! Tell me about yourself in two sentences."
    }
  ]
}
JSON
Claude Code and Anthropic-protocol clients

For clients using the Anthropic protocol, point the address at ANTHROPIC_BASE_URL=https://gatelum.com with no /v1. The model ID does not change.

macOS / Linux
export ANTHROPIC_BASE_URL=https://gatelum.com
export ANTHROPIC_AUTH_TOKEN=glt_YOUR_KEY
export ANTHROPIC_MODEL=deepseek/deepseek-v4.1-flash-1017
claude

Where to use DeepSeek V4.1 Flash 1017

Guides with step-by-step instructions for the tools that support this model: