NeuralBridge
Inloggen IDE downloaden
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.

Specificaties

Contextvenster
1.0M
Max. tokens in antwoord
384 000
Leverancier
DeepSeek
Release
2026-10-17
Inloggen
tekst, afbeeldingen
Uitvoer
tekst

Wat het kan

visiontoolsreasoningstreamingide

Beschrijving

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

temperaturestandaard: 1
Beïnvloedt de diversiteit van het antwoord: hoe hoger de waarde, hoe willekeuriger de output, hoe lager — hoe voorspelbaarder.
top_pstandaard: 1
Beperkt de selectie van de meest waarschijnlijke tokens: alleen die waarvan de kansen samen P bedragen.
max_tokens
Bovengrens van het aantal tokens dat het model kan genereren in het antwoord.
stop
Lijst van stop-strings: de generatie wordt onderbroken zodra het model een van hen uitstuurt.
seed
Fixeert de willekeur: een herhaald verzoek met dezelfde seed en dezelfde parameters geeft hetzelfde resultaat.
response_format
Response format: plain text or strict JSON according to the given schema.
streamstandaard: false
Antwoord als stream leveren tijdens generatie, in plaats van in één stuk aan het einde.
tools
tool_choice
reasoning_effortstandaard: high · none · low · high · max
Denkniveau: hoeveel inspanning het model besteedt aan redeneren vóór het antwoord. Een hoger niveau — diepere analyse, meer tijd en tokens.

Endpoints

POSThttps://api.neuralbridge.ru/v1/chat/completionsbasis
Chat Completions — Hoofdchat‑endpoint: accepteert een berichtgeschiedenis en retourneert het modelantwoord. Ondersteunt streaming‑ en gewone modi. De prompt‑cacheduur voor één verzoek wordt ingesteld via de header X‑NB‑Prompt‑Cache: 5m, 1h of off.
POSThttps://api.neuralbridge.ru/v1/responses
Responses — Alternatief chat‑formaat met status en gestructureerde output. De prompt‑cacheduur voor één verzoek wordt ingesteld via de header X‑NB‑Prompt‑Cache: 5m, 1h of off.
POSThttps://api.neuralbridge.ru/v1/messages
Messages — Anthropic‑formaat: dezelfde chat voor clients en SDK’s die voor Claude zijn geschreven. De prompt‑cacheduur voor één verzoek wordt ingesteld via de header X‑NB‑Prompt‑Cache: 5m, 1h of off.
POSThttps://api.neuralbridge.ru/v1/converse
Converse — Amazon Bedrock Converse‑formaat — voor clients die hiervoor zijn geschreven.
POSThttps://api.neuralbridge.ru/v1/converse-stream
Converse Stream — Streaming‑variant van het Bedrock Converse‑formaat.
POSThttps://api.neuralbridge.ru/v1/generateContent
Generate Content — Google Gemini‑formaat — voor clients en SDK’s die hiervoor zijn geschreven.
POSThttps://api.neuralbridge.ru/v1/streamGenerateContent
Stream Generate Content — Streaming‑variant van het Gemini‑formaat.

Codevoorbeelden

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)

Andere DeepSeek-modellen

Voor de OpenAI SDK geef je op /v1 in base_url. Voor Anthropic SDK — zonder /v1.
Prijzen
Inloggen / 1M tokens25,32 ₽
Uitvoer / 1M tokens101,28 ₽
Inloggen uit cache / 1M tokens0,5275 ₽
Kosten van de aanvraag in roebel — in het antwoord, veld usage.cost
Identificatie
deepseek/deepseek-v4.1-flash-1017-16406
API-sleutel verkrijgen