DeepSeek V4.1 Flash
Long-context reasoning, coding and agents, with image input
$1 in free creditsInput $0.30/1M · Output $1.20/1M
Overview
DeepSeek V4.1 Flash (the 1017 release) is DeepSeek's open-weights mixture-of-experts model, a minor update that DeepSeek says improves reasoning, coding, agentic tasks and visual benchmarks. It accepts text interleaved with images, supports tool calling and a thinking mode, and is served here with a 1M-token context window.
Strengths
- Reasoning, coding and agentic tasks in one model
- Image input alongside text
- 1M-token context window
Use cases
- Coding agents that work over large codebases or long histories
- Questions over long documents, screenshots and charts
Good to know
Text and image input only on this alias; no video or audio. Thinking is on unless turned off, and the reasoning counts against max_tokens: with a small budget the whole budget can go to reasoning, returning empty content with finish_reason "length". Turn thinking off or allow a few thousand output tokens.
API access
One OpenAI-compatible API for every model in the catalog, plus the CLI and the function SDK inside workflows. Sign up and try $1 of inference free, then get $10 more once you've spent $5, and these requests work:
curl https://model.graphn.ai/v1/chat/completions \
-H "Authorization: Bearer $GRAPHN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4.1-flash",
"messages": [{"role": "user", "content": "Hello"}]
}'import os
from openai import OpenAI
client = OpenAI(base_url="https://model.graphn.ai/v1", api_key=os.environ["GRAPHN_API_KEY"])
response = client.chat.completions.create(
model="deepseek-v4.1-flash",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://model.graphn.ai/v1",
apiKey: process.env.GRAPHN_API_KEY,
});
const response = await client.chat.completions.create({
model: "deepseek-v4.1-flash",
messages: [{ role: "user", content: "Hello" }],
});
console.log(response.choices[0].message.content);graphn model chat deepseek-v4.1-flash -m "What is GraphN?"
@function
async def ask(question: str) -> str:
return await chat.complete(question, model="deepseek-v4.1-flash")