NeuralBridge
Anmelden IDE herunterladen
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.

Merkmale

Kontextfenster
1.0M
Max. Token in der Antwort
384 000
Vendor
DeepSeek
Release
2026-10-17
Login
Text, Bilder
Ausgabe
Text

Was es kann

visiontoolsreasoningstreamingide

Beschreibung

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.

Parameter

temperaturestandardmäßig: 1
Beeinflusst die Vielfalt der Antwort: Je höher der Wert, desto zufälliger die Ausgabe, je niedriger — desto vorhersehbarer.
top_pstandardmäßig: 1
Begrenzt die Auswahl der Anteile der wahrscheinlichsten Tokens: Es werden nur die berücksichtigt, deren Wahrscheinlichkeiten zusammen P ergeben.
max_tokens
Obergrenze der Token-Anzahl, die das Modell in der Antwort generieren kann.
stop
Liste von Begrenzungszeichenketten: Die Generierung wird unterbrochen, sobald das Modell eine davon ausgibt.
seed
Fixiert die Zufälligkeit: Eine wiederholte Anfrage mit demselben seed und denselben Parametern liefert das gleiche Ergebnis.
response_format
Antwortformat: normaler Text oder strenges JSON nach vorgegebener Schema.
streamStandard: false
Antwort als Stream während der Generierung ausgeben, anstatt am Ende als ein Block.
tools
tool_choice
reasoning_effortStandard: high · none · low · high · max
Denkniveau: wie viel Aufwand das Modell für das Reasoning vor der Antwort aufwendet. Höheres Niveau — tiefere Analyse, mehr Zeit und Tokens.

Endpunkte

POSThttps://api.neuralbridge.ru/v1/chat/completionsHaupt
Chat Completions — Haupt-Chat-Endpunkt: akzeptiert den Nachrichtenverlauf und gibt die Modellantwort zurück. Unterstützt Streaming- und Standardmodus. Die Prompt-Cache-Dauer für eine Anfrage wird über den Header X-NB-Prompt-Cache: 5m, 1h oder off festgelegt.
POSThttps://api.neuralbridge.ru/v1/responses
Responses — Alternatives Chat-Format mit Zustand und strukturiertem Output. Die Prompt-Cache-Dauer für eine Anfrage wird über den Header X-NB-Prompt-Cache: 5m, 1h oder off festgelegt.
POSThttps://api.neuralbridge.ru/v1/messages
Messages — Anthropic-Format: derselbe Chat für Clients und SDKs, die für Claude entwickelt wurden. Die Prompt-Cache-Dauer für eine Anfrage wird über den Header X-NB-Prompt-Cache: 5m, 1h oder off festgelegt.
POSThttps://api.neuralbridge.ru/v1/converse
Converse — Amazon Bedrock Converse-Format — für darauf zugeschnittene Clients.
POSThttps://api.neuralbridge.ru/v1/converse-stream
Converse Stream — Streaming-Variante des Bedrock Converse-Formats.
POSThttps://api.neuralbridge.ru/v1/generateContent
Generate Content — Google Gemini-Format — für darauf zugeschnittene Clients und SDKs.
POSThttps://api.neuralbridge.ru/v1/streamGenerateContent
Stream Generate Content — Streaming-Variante des Gemini-Formats.

Codebeispiele

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)

Weitere DeepSeek-Modelle

Für das OpenAI SDK geben Sie an /v1 in base_url. Für Anthropic SDK – ohne /v1.
Preise
Login / 1M Token25,32 ₽
Ausgabe / 1M Token101,28 ₽
Login aus Cache / 1M Token0,5275 ₽
Kosten der Anfrage in Rubel – im Antwortfeld usage.cost
Identifikator
deepseek/deepseek-v4.1-flash-1017-16406
API-Schlüssel erhalten