All modelsDeepSeek API documentation
DeepSeek V4.1 Flash
deepseek-v4.1-flashPremiumText
DeepSeek V4.1 Flash is a text model by DeepSeek. Context: 1,000,000 tokens. Supports reasoning.
VisionThinkingStreamingLong context
- Context window
- 1M
- Maximum output tokens
- 131,072
Pricing
per 1M tokens
- Input / 1M
- $0.08
- Output / 1M
- $0.26
- Cache read / 1M
- $0.08
- Cache write / 1M
- $0.08
DeepSeek V4.1 Flash API pricing and specs
DeepSeek V4.1 Flash is available through the Claudexia API in the Premium channel. Model ID: deepseek-v4.1-flash.
Price: $0.08 per 1M input tokens and $0.26 per 1M output tokens.
Context window: 1,000,000 tokens.
Capabilities listed in the catalog: vision, thinking, streaming.
How to connect DeepSeek V4.1 Flash via API
Replace sk_cdx_... with your key from the API Keys section. The key must belong to the Premium channel.
OpenAI SDK and compatible clients (Python), base URL with /v1
from openai import OpenAI
client = OpenAI(base_url="https://api.claudexia.tech/v1", api_key="sk_cdx_...")
response = client.chat.completions.create(
model="deepseek-v4.1-flash",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)DeepSeek V4.1 Flash API questions
- How much does the DeepSeek V4.1 Flash API cost?
- $0.08 per 1M input tokens and $0.26 per 1M output tokens in the Premium channel.
- Which base URL do I use for DeepSeek V4.1 Flash?
- OpenAI-compatible clients: https://api.claudexia.tech/v1. Model ID: deepseek-v4.1-flash.
- What is the DeepSeek V4.1 Flash context window?
- 1,000,000 tokens, according to the Claudexia catalog.