Skip to content

DeepSeek V4.1 Flash

DeepSeek’s Flash model, the 17 October release: reasoning, coding and agentic tasks, with a context of a million tokens.

DeepSeek V4.1 Flash DeepSeek
Context
1M
tokens
Inputs
Text and images

Best for

  • Coding
  • Agentic tasks
  • Reasoning

What it does best.

Coding
Write, change and review code, with whole repositories in context.
Agentic tasks
Input-heavy agent work: long tool outputs, files and histories in one request.
Reasoning
Step-by-step answers for problems that need them.

It mines while it answers.

On the Peryn API, every request mines as much $PEARL as it can while it is served: inside the AI work, and in the gaps between requests.

The model.

Made by
DeepSeek
Context
1M tokens
Size
552B parameters, mixture of experts
Inputs
Text and images
Licence
MIT
Official name
DeepSeek-V4.1-Flash-1017

From DeepSeek’s official model card.

One call, OpenAI-compatible.

Use the OpenAI SDK: set our base URL and your key, and keep your code.

import osfrom openai import OpenAI client = OpenAI(base_url="https://api.peryn.ai/v1",api_key=os.environ["PERYN_API_KEY"],) stream = client.chat.completions.create(model="deepseek-v4.1-flash-1017",messages=[{"role": "user", "content": "Hello"}],stream=True,)for chunk in stream:if chunk.choices:print(chunk.choices[0].delta.content or "", end="")

Other models on Peryn: GLM-5.3-Flash · MiniMax M3.1 Flash · Hy4