NeuralBridge
Kirish IDE-ni yuklab olish
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.

Xususiyatlar

Kontekst oynasi
1.0M
Javobda maks. tokenlar
384 000
Vendor
DeepSeek
Chiqarish
2026-10-17
Kirish
matn, tasvirlar
Chiqish
matn

Nima qila oladi

visiontoolsreasoningstreamingide

Tavsif

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.

Parametrlar

temperaturestandart: 1
Javobning xilma-xilligiga ta'sir qiladi: qiymat qanchalik yuqori bo‘lsa, natija shunchalik tasodifiy, past bo‘lsa, shunchalik oldindan aytib bo‘ladigan.
top_pstandart: 1
Eng ehtimoliy tokenlarning ulush tanlovini cheklaydi: faqat ehtimollari yig'indisi P ga teng bo'lgan tokenlar hisobga olinadi.
max_tokens
Model javobda yaratishi mumkin bo'lgan tokenlar sonining yuqori chegarasi.
stop
Cheklovchi satrlar ro‘yxati: model ularning birini chiqarishi bilan generatsiya to‘xtatiladi.
seed
Tasodifiylikni qat'iylashtiradi: bir xil seed va bir xil parametrlar bilan takroriy so'rov bir xil natija beradi.
response_format
Javob formati: oddiy matn yoki berilgan sxema bo'yicha qat'iy JSON.
streamstandart: false
Javobni generatsiya jarayonida oqim sifatida yuboring, oxirida bitta bo‘lak sifatida emas.
tools
tool_choice
reasoning_effortstandart: high · none · low · high · max
Aql darajasi: model javobdan oldin reasoningga qancha kuch sarflashi. Yuqori daraja — chuqurroq tahlil, ko'proq vaqt va tokenlar.

Endpointlar

POSThttps://api.neuralbridge.ru/v1/chat/completionsasosiy
Chat Completions — Chat asosiy endpointi: xabarlar tarixini qabul qiladi va model javobini qaytaradi. Oqimli va oddiy rejimlarni qo‘llab‑quvvatlaydi. Bir so‘rov uchun prompt kesh muddati X-NB-Prompt-Cache: 5m, 1h yoki off sarlavhasi bilan belgilanadi.
POSThttps://api.neuralbridge.ru/v1/responses
Responses — Holat va tuzilgan chiqish bilan chatning muqobil formati. Bir so‘rov uchun prompt kesh muddati X-NB-Prompt-Cache: 5m, 1h yoki off sarlavhasi bilan belgilanadi.
POSThttps://api.neuralbridge.ru/v1/messages
Messages — Anthropic formati: Claude uchun yozilgan mijozlar va SDKlar uchun bir xil chat. Bir so‘rov uchun prompt kesh muddati X-NB-Prompt-Cache: 5m, 1h yoki off sarlavhasi bilan belgilanadi.
POSThttps://api.neuralbridge.ru/v1/converse
Converse — Amazon Bedrock Converse formati — uni qo‘llab‑quvvatlaydigan mijozlar uchun.
POSThttps://api.neuralbridge.ru/v1/converse-stream
Converse Stream — Bedrock Converse formatining oqimli varianti.
POSThttps://api.neuralbridge.ru/v1/generateContent
Generate Content — Google Gemini formati — uni qo‘llab‑quvvatlaydigan mijozlar va SDKlar uchun.
POSThttps://api.neuralbridge.ru/v1/streamGenerateContent
Stream Generate Content — Gemini formatining oqimli varianti.

Kod misollari

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)

DeepSeek boshqa modellari

OpenAI SDK uchun ko'rsating /v1 base_url ichida. Anthropic SDK uchun — bo'lmasin /v1.
Narxlar
Kirish / 1M tokenlar25,32 ₽
Chiqish / 1M tokenlar101,28 ₽
Keshdan kirish / 1M tokenlar0,5275 ₽
So‘rov narxi rublarda — javobda, maydon usage.cost
Identifikator
deepseek/deepseek-v4.1-flash-1017-16406
API kalitini olish