DeepSeek V4.1 Flash is a reasoning model from DeepSeek optimized for fast inference. It supports text and image input with function calling and structured output. The model handles a 1M token context window with up to 384K output tokens — served via Novita AI serverless inference. This circuit provides an OpenAI-compatible chat completion endpoint backed by the deepseek/deepseek-v4.1-flash model.
messages)[{type: text, text: ...}, {type: image_url, image_url: {url: ...}}]).arrayattachment)image_url content part.blobnullmax_tokens)number393216temperature)number1top_p)number0.95tools)array[]tool_choice)auto or none.stringautochat_completion_output)choices[0].delta.content stream chunks.reasoning_output)choices[0].delta.reasoning_content stream chunks.chat_completion_tool_calls)choices[0].delta.tool_calls stream chunks.You can try this circuit directly in the Playground — no setup required.
attachment input to inject an image into the first message's content array as an image_url content part.tools and tool_choice inputs.The cost model for running this circuit. Charges may be fixed per execution or based on token usage.