Back to All Models
DeepSeek · Instant

DeepSeek V4.1 Flash

deepseek/deepseek-v4.1-flash
Use Model Now

DeepSeek V4.1 Flash is a sparse mixture-of-experts model from DeepSeek, and the first built on the company's Causal Encoder-Decoder (CED) architecture.

Input Price / 1M Tokens
$0.0816
Output Price / 1M Tokens
$0.91
Context Window
1.0M
VisionToolsReasoningCoding
Python Example — deepseek/deepseek-v4.1-flash
from openai import OpenAI

client = OpenAI(
    base_url="https://relaystack-ai.vercel.app/v1",
    api_key="sk-rs-your-key-here",
)

response = client.chat.completions.create(
    model="deepseek/deepseek-v4.1-flash",
    messages=[{"role": "user", "content": "Hello from RelayStack!"}],
)
print(response.choices[0].message.content)