NeuralBridge
Sign in Download IDE
DeepSeek

DeepSeek V4.1 Flash 1017

chat

DeepSeek V4.1 Flash, a fast multimodal model (October 17, 2026 snapshot): a one-million-token context, tools, image input, JSON schema output and adjustable reasoning depth.

Specifications

Context window
1.0M
Max tokens in response
384 000
Vendor
DeepSeek
Release
2026-10-17
Login
text, images
Output
text

Capabilities

visiontoolsreasoningstreamingide

Description

What it does

  • Text and images in (data URI or https link), text out.
  • Tool calling: tool_choice is auto, none, required or a specific function; the model can call several tools in one response.
  • Output that follows a JSON schema (response_format json_schema) or plain JSON (json_object: mention the word json and give an example in the prompt).
  • Adjustable reasoning: reasoning_effort is none (no reasoning, faster and cheaper), low, high (default) or max. Other values are rejected with a 400 error.
  • Stop sequences (stop) and seed. Repeating a request with the same seed is not guaranteed to return the same answer.
  • Streaming: text, reasoning and tool calls arrive as they are generated; token usage comes in the last chunk.

Limits

  • Context: 1,048,576 tokens; response: up to 384,000 tokens.
  • If max_tokens is not set, the platform uses the largest value your request allows.

Sampling parameters

The model accepts temperature (0–2) and top_p (0–1). According to the model author, temperature has no effect while reasoning. The author recommends temperature 1.0 and top_p 0.95.

Pricing

  • Reasoning tokens are billed as output tokens, so answers at the none level cost less.
  • A repeated request prefix (system prompt, conversation history) is cached automatically, and cached input tokens cost less. Rates are on this page.

Good for

Agentic tasks and coding with long context, tool use, reading screenshots and diagrams, fast answers without reasoning.

Parameters

temperaturedefault: 1
Controls how varied the answer is: higher values make the output more random, lower values more predictable.
top_pdefault: 1
Nucleus sampling: only the most probable tokens whose probabilities add up to P are considered.
max_tokens
Upper limit on the number of tokens the model may generate in its answer.
stop
List of stop strings: generation halts as soon as the model produces any of them.
seed
Pins randomness: repeating a request with the same seed and parameters returns the same result.
response_format
Response format: plain text or strict JSON following a given schema.
streamdefault: false
Deliver the answer as a stream while it is generated instead of one chunk at the end.
tools
tool_choice
reasoning_effortdefault: high · none · low · high · max
Thinking level: how much effort the model spends reasoning before answering. Higher means deeper analysis, more time and more tokens.

Endpoints

POSThttps://api.neuralbridge.ru/v1/chat/completionsprimary
Chat Completions — The main chat endpoint: takes a message history and returns the model reply. Supports streaming and regular modes. The X-NB-Prompt-Cache header sets prompt caching for a single request: 5m, 1h or off.
POSThttps://api.neuralbridge.ru/v1/responses
Responses — Alternative chat format with state and structured output. The X-NB-Prompt-Cache header sets prompt caching for a single request: 5m, 1h or off.
POSThttps://api.neuralbridge.ru/v1/messages
Messages — Anthropic format: the same chat for clients and SDKs written for Claude. The X-NB-Prompt-Cache header sets prompt caching for a single request: 5m, 1h or off.
POSThttps://api.neuralbridge.ru/v1/converse
Converse — Amazon Bedrock Converse format, for clients written against it.
POSThttps://api.neuralbridge.ru/v1/converse-stream
Converse Stream — Streaming variant of the Bedrock Converse format.
POSThttps://api.neuralbridge.ru/v1/generateContent
Generate Content — Google Gemini format, for clients and SDKs written against it.
POSThttps://api.neuralbridge.ru/v1/streamGenerateContent
Stream Generate Content — Streaming variant of the Gemini format.

Code examples

python
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.neuralbridge.ru/v1",
)

response = client.chat.completions.create(
    model="deepseek/deepseek-v4.1-flash-1017-16406",
    messages=[{"role": "user", "content": "Привет! Расскажи о себе."}],
)

print(response.choices[0].message.content)

Other DeepSeek models

For OpenAI SDK, specify /v1 in base_url. For Anthropic SDK — without /v1.
Prices
Login / 1M tokens25,32 ₽
Output / 1M tokens101,28 ₽
Cache hit / 1M tokens0,5275 ₽
The request cost in rubles — in the response, field usage.cost
Identifier
deepseek/deepseek-v4.1-flash-1017-16406
Get API key