All modelsDeepSeek API documentation
DeepSeek V4 Flash
deepseek-v4-flashPremiumText
DeepSeek V4 Flash is a text model by DeepSeek. Context: 1,000,000 tokens. Supports reasoning.
ThinkingStreamingLong context
- Context window
- 1M
- Maximum output tokens
- 65,536
Pricing
per 1M tokens
- Input / 1M
- $0.08
- Output / 1M
- $0.20
- Cache read / 1M
- $0.04
- Cache write / 1M
- $0.08
DeepSeek V4 Flash API pricing and specs
DeepSeek V4 Flash is available through the Claudexia API in the Premium channel. Model ID: deepseek-v4-flash.
Price: $0.08 per 1M input tokens and $0.20 per 1M output tokens.
Context window: 1,000,000 tokens.
Capabilities listed in the catalog: thinking, streaming.
How to connect DeepSeek V4 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-flash",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)DeepSeek V4 Flash API questions
- How much does the DeepSeek V4 Flash API cost?
- $0.08 per 1M input tokens and $0.20 per 1M output tokens in the Premium channel.
- Which base URL do I use for DeepSeek V4 Flash?
- OpenAI-compatible clients: https://api.claudexia.tech/v1. Model ID: deepseek-v4-flash.
- What is the DeepSeek V4 Flash context window?
- 1,000,000 tokens, according to the Claudexia catalog.