DeepSeek V4 Flash API

DeepSeek V4 Flash: the lighter model of the V4 family

deepseek/deepseek-v4-flash
DeepSeekConversation

About this model

DeepSeek V4 Flash is the lighter model of the V4 family launched on 24 April 2026. On 31 July 2026 DeepSeek released an official version (V4-Flash-0731), re-post-trained on the same architecture and size, with native Responses API support.

DeepSeek’s changelog says V4 Flash was retired in favor of V4.1 Flash on 10 September 2026, which adds native vision. Choose V4 Flash here for text-only work that matches the earlier generation, and V4.1 Flash for vision or newer behavior; V4 Pro is the larger sibling.

Limits: context window of 1,000,000 tokens; text input only in this catalog.

Use cases

  • Fast coding help and chat
  • Long-document summaries
  • Agentic workflows

Input and output

Input
Text
Output
Text, tool calls

Developer

Developer
DeepSeek
Type
Conversation
Context
1,000,000 tokens

DeepSeek V4 Flash request example

Use https://gatelum.com/v1 as the base URL and pass deepseek/deepseek-v4-flash 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-flash",
  "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-flash
claude

Where to use DeepSeek V4 Flash

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