Loading
RedRouterRedRouter

DeepSeek V4 Flash (0731)

deepseek-v4-flash-0731Available

DeepSeek's V4 Flash, July 31 release, for long-context chat, coding, and tool use.

Input
$0.06
Cached input
$0.012
Output
$0.12

per 1M tokens

Context
1M
Max output
8.2K
Tool callingJSON outputOpenAI Chat CompletionsOpenAI ResponsesAnthropic Messages

Quickstart

Base URLhttps://redrouter.org/v1
Model IDdeepseek-v4-flash-0731
curl 'https://redrouter.org/v1/chat/completions' \
  -H "Authorization: Bearer $REDROUTER_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"messages":[{"content":"Hello","role":"user"}],"model":"deepseek-v4-flash-0731"}'

Set REDROUTER_API_KEY to a key from API Keys.

Supported parameters

modelmessagesstreamstream_optionsmax_tokensmax_completion_tokenstemperaturetop_pstoppresence_penaltyfrequency_penaltyseedtoolstool_choiceparallel_tool_callsresponse_formatuserreasoning_effortreasoningenable_thinkingthinkingthinking_budgetchat_template_kwargsoutput_config

Other parameters return HTTP 400; user is accepted but not forwarded. Request fields and limits.