DeepSeek
DeepSeek V4 Flash
DeepSeek's fast, cost-efficient V4 model for high-volume workloads, with text input and text output
Model TypeLarge Language Model (LLM)
MultimodalText input, text output
API AvailabilitySupports the Chat Completions API
Pricing & Specs
💰 Pricing
Input$3 / M tokens
Output$9 / M tokens
Cache Hit$0.1 / M tokens
⚙️ Specs
Model TypeLarge Language Model (LLM)
MultimodalText input, text output
API AvailabilitySupports the Chat Completions API
Caching SupportSupports cached-input pricing
PositioningOptimized for low latency and high-volume, cost-sensitive workloads
ProviderDeepSeek
API Examples
Python (OpenAI SDK)
from openai import OpenAI
client = OpenAI(
api_key="your-api-key",
base_url="https://api.yairouter.com/v1"
)
response = client.chat.completions.create(
model="deepseek-v4-flash",
messages=[
{"role": "user", "content": "Summarize this requirement and break it into development tasks"}
]
)
print(response.choices[0].message.content)cURL (OpenAI API)
curl https://api.yairouter.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "deepseek-v4-flash",
"messages": [
{"role": "user", "content": "Summarize this requirement and break it into development tasks"}
]
}'