NeuralBridge
Daxil ol IDE yüklə
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.

Xüsusiyyətlər

Kontekst pəncərəsi
1.0M
Cavabda maks. token sayı
384 000
Satıcı
DeepSeek
Buraxılış
2026-10-17
Giriş
mətin, şəkillər
Çıxış
mətin

Nə bacarır

visiontoolsreasoningstreamingide

Təsvir

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.

Parametrlər

temperaturedefolt: 1
Cavabın müxtəlifliyinə təsir edir: dəyər nə qədər yüksəkdirsə, çıxış o qədər təsadüfi, aşağıdırsa — o qədər proqnozlaşdırıla biləndir.
top_pdefolt: 1
Ən ehtimalı yüksək tokenlərin payını məhdudlaşdırır: yalnız cəmi P verən ehtimallara sahib tokenlər nəzərə alınır.
max_tokens
Cavabda modelin yarada biləcəyi tokenlərin yuxarı həddi.
stop
Məhdudlaşdırıcı sətirlərin siyahısı: model istənilən birini çıxardığı anda nəsil dayandırılır.
seed
Təsadüfiliyi sabitləyir: eyni seed və eyni parametrlərlə təkrar sorğu eyni nəticəni verir.
response_format
Cavab formatı: adi mətn və ya təyin olunmuş sxem üzrə sərt JSON.
streamsusmaya görə: false
Cavabı nəsil zamanı axın kimi vermək, sonda bir parça olaraq deyil.
tools
tool_choice
reasoning_effortstandart: high · none · low · high · max
Düşüncə səviyyəsi: modelin cavab verməzdən əvvəl reasoning üçün nə qədər səy sərf etdiyi. Yüksək səviyyə — daha dərin təhlil, daha çox vaxt və tokenlər.

Endpointlər

POSThttps://api.neuralbridge.ru/v1/chat/completionsəsas
Chat Completions — Əsas chat son nöqtəsi: mesaj tarixçəsini qəbul edir və modelin cavabını qaytarır. Axın və adi rejimləri dəstəkləyir. Bir sorğu üçün prompt keşinin müddətini X-NB-Prompt-Cache başlığı təyin edir: 5m, 1h və ya off.
POSThttps://api.neuralbridge.ru/v1/responses
Cavablar — Vəziyyət və strukturlaşdırılmış çıxışı olan alternativ söhbət formatı. Bir sorğu üçün prompt cache müddətini X-NB-Prompt-Cache başlığı təyin edir: 5m, 1h və ya off.
POSThttps://api.neuralbridge.ru/v1/messages
Mesajlar — Anthropic formatı: Claude üçün yazılmış müştərilər və SDK üçün eyni söhbət. Bir sorğu üçün prompt cache müddətini X-NB-Prompt-Cache başlığı təyin edir: 5m, 1h və ya off.
POSThttps://api.neuralbridge.ru/v1/converse
Converse — Amazon Bedrock Converse formatı — onun üçün yazılmış müştərilər üçün.
POSThttps://api.neuralbridge.ru/v1/converse-stream
Converse Stream — Bedrock Converse formatının axın variantı.
POSThttps://api.neuralbridge.ru/v1/generateContent
Generate Content — Google Gemini formatı — onun üçün yazılmış müştərilər və SDK üçün.
POSThttps://api.neuralbridge.ru/v1/streamGenerateContent
Stream Generate Content — Gemini formatının axın variantı.

Kod nümunələri

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)

Digər DeepSeek modelləri

OpenAI SDK üçün göstərin /v1 base_url‑də. Anthropic SDK üçün — olmadan /v1.
Qiymətlər
Giriş / 1M token25,32 ₽
Çıxış / 1M token101,28 ₽
Keşdən giriş / 1M token0,5275 ₽
Sorğunun qiyməti rubl ilə — cavabda, sahədə usage.cost
İdentifikator
deepseek/deepseek-v4.1-flash-1017-16406
API açarı əldə et
Süni intellekt agentləri üçün