DeepSeek V4.1 Flash Fast
The standard open weights of DeepSeek V4.1 Flash Fast.
deepseek-v4.1-flash-fastCensoredFast- Text, image to text
- $0.02 / $0.16
- 1M tokens
- 128K tokens
Overview
- Tool calls
- Reasoning: off, low, high, max
- Streaming
- Image input
in 7 days
Pricing
- $0.02
- $0.004
- $0.16
Performance
- 2,271
- 194
Every prompt size and the method
| Prompt | First token, ms | Tokens/s | End to end | Ok | Failed |
|---|---|---|---|---|---|
| Short, about 100 in | 1,971 / 3,366 | 162 / 79 | 140 | 100 | 0 |
| Medium, about 1,000 in | 2,271 / 3,960 | 194 / 66 | 148 | 100 | 0 |
| Long, about 10,000 in | 2,475 / 4,111 | 183 / 62 | 137 | 100 | 0 |
API
POST https://api.aerless.si/v1/chat/completions
request
curl
curl https://api.aerless.si/v1/chat/completions \
-H "Authorization: Bearer $AERLESS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4.1-flash-fast",
"messages": [{"role": "user", "content": "Write a two-line poem about the sea."}]
}'Python
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.aerless.si/v1",
api_key=os.environ["AERLESS_API_KEY"],
)
response = client.chat.completions.create(
model="deepseek-v4.1-flash-fast",
messages=[{"role": "user", "content": "Write a two-line poem about the sea."}],
)
print(response.choices[0].message.content)Node
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.aerless.si/v1",
apiKey: process.env.AERLESS_API_KEY,
});
const response = await client.chat.completions.create({
model: "deepseek-v4.1-flash-fast",
messages: [{ role: "user", content: "Write a two-line poem about the sea." }],
});
console.log(response.choices[0].message.content);example reply
Grey water folds the light away,
and every wave forgets the shore.| Field | What it does |
|---|---|
model | Required. deepseek-v4.1-flash-fast |
messages | Required. At least one message, each with a role and content. |
max_tokens | Most tokens to generate, reasoning included. Default 8,192, at most 128,000. |
stream | true sends the reply as server-sent events. |
reasoning_effort | off, low, high, max. |
tools | Functions the model may call. |