DeepSeek V4.1 Flash

DeepInfra

DeepSeek's V4.1 Flash (October 17 build): fast, low-cost multimodal reasoning with a 1M-token context.

Modalities
IntextimageOuttext
Input / output
$0.20 / $0.60USD per 1M tokens
Context
1M
Providers
Live

Playground

Preparing playground

Providers

primary

API

POST/api/v1/chat/completionsOpenAI-compatible
deepseek-v4.1-flash
curl https://www.ninjachat.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $NINJACHAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4.1-flash",
    "messages": [{ "role": "user", "content": "Hello!" }],
    "stream": true
  }'
messagestemperaturemax_completion_tokenstop_pstopfrequency_penaltypresence_penaltyseedstreamuserroutingtoolstool_choiceresponse_formatimage_url content partsreasoningreasoning_effort

Pricing

Input
$0.20/M tokens
Cached input
$0.02/M tokens
Output
$0.60/M tokens

Published USD rates. Actual cost depends on input, output, cache usage and request options.