Models
DeepSeek V4.1 Flash
Model id: alibaba_qwen/deepseek-v4.1-flash
- Cost
- Fast
- Coding
- Reasoning
- Vision
- Multimodal
- Long context
- Tools
DeepSeek V4.1 Flash. It reads text and images and replies in text. Frontier model.
Best for
coding, agents, and high-volume chat when cost and speed matter.
- Provider
- Alibaba Cloud Model Studio
- Context window
- 1,000,000
- Release date
- 2026-09-10
- Reasoning effort
- nonehighmaxDefault: high
Pricing
Input
$0.2313 / 1M
Cached input
$0.0231 / 1M
Output
$0.9254 / 1M
Amounts in Canadian dollars, converted at the Bank of Canada indicative rate (2026-09-21).
Performance
Reading
Last 7 days
Not enough data to display the chart.
Activity
Tokens
—
—
—
—
—
Top 5 tools · last 7 days
Not enough data to display tool activity.
Availability
Availability (%)
Last 7 days
- Operational probes
- 99.9% over 7 days
- Samples
- 9,205
Quick start
Call the API with a tonia_ key and the exact model id below.
curl
curl https://pass.tonia.ca:8443/v1/chat/completions \
-H "Authorization: Bearer $TONIA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "alibaba_qwen/deepseek-v4.1-flash",
"messages": [
{
"role": "user",
"content": "Bonjour"
}
]
}'Python (OpenAI SDK)
import os
from openai import OpenAI
client = OpenAI(
base_url="https://pass.tonia.ca:8443/v1",
api_key=os.environ["TONIA_API_KEY"],
)
response = client.chat.completions.create(
model="alibaba_qwen/deepseek-v4.1-flash",
messages=[{"role": "user", "content": "Bonjour"}],
)TypeScript (OpenAI SDK)
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://pass.tonia.ca:8443/v1",
apiKey: process.env.TONIA_API_KEY,
});
const response = await client.chat.completions.create({
model: "alibaba_qwen/deepseek-v4.1-flash",
messages: [{ role: "user", content: "Bonjour" }],
});