deepseek-v4.1-flash
Model id
deepseek-ai/deepseek-v4.1-flashDeepSeek's multimodal mixture-of-experts model, 552B parameters with 8 to 16B active per token, built to cut the cost of agent workloads that read a lot of input. Takes images as well as text, with reasoning effort selectable per request.
Cost /1M tokens
$0.30input
$0.03cached
$1.20output
Context
1Mtokens
Live speed
226 tok/s · 0.61s to first token
Speed
Throughput users got on deepseek-v4.1-flash with Keln API in the last 24 hours.
Latency
Time to first token users got on deepseek-v4.1-flash with Keln API in the last 24 hours.
Capabilities
Input
Text and images
Tool calling
Yes
JSON output
Yes
Reasoning
Yes
Web search
With opt-in
Data retention
Zero
Use the API
Create an API key, save it to KELN_API_KEY, then call the endpoint below.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.keln.ai/v1/",
api_key=os.environ.get("KELN_API_KEY"),
)
resp = client.chat.completions.create(
model="deepseek-ai/deepseek-v4.1-flash",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)Use with your tools
Set up guides on docs.keln.ai ↗