Back to Models
deepseek logo
deepseek/deepseek-v4-flash

DeepSeek V4 Flash

DeepSeek V4 Flash is an efficiency-optimized Mixture-of-Experts model from DeepSeek with 284B total parameters and 13B activated parameters, supporting a 1M-token context window. It is designed for fast inference and...

4/24/2026
1,048,576 tokens
#60 Text (Korean)
Input: ¥16.083/M
Output: ¥32.166/M
Specifications

Modalities

Input
text
Output
text

Supported Parameters

frequency_penalty
include_reasoning
logit_bias
logprobs
max_tokens
min_p
presence_penalty
reasoning
reasoning_effort
repetition_penalty
response_format
seed
stop
structured_outputs
temperature
tool_choice
tools
top_k
top_logprobs
top_p
Code Examples
curl https://api.fastmetal.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "deepseek-v4-flash",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

How DeepSeek V4 Flash actually answers

Real responses to our standard prompts, recorded on FastMetal.

Count the number of 'r's in 'strawberry'

Count the number of 'r's in 'strawberry'. Explain your reasoning step by step.

The word "strawberry" is spelled as s-t-r-a-w-b-e-r-r-y. I go through each letter: s (no), t (no), r (yes, first), a (no), w (no), b (no), e (no), r (yes, second), r (yes, third), y (no). Thus, there are three 'r's.
3.9s response251 output tokens
Debug This Error

I'm getting the following error in my Node.js application: TypeError: Cannot read properties of undefined (reading 'map') at UserList (/app/components/UserList.js:12:25) at renderWithHooks (/app/node_modules/rea…

The error occurs because `users` is `undefined` when the component tries to call `.map()` on it. ## Why this happens Your component expects `users` to be an array, but it's receiving `undefined` as a prop. This typically happens when: 1. The parent component doesn't pass the `users` prop 2. The data fetching hasn't completed yet (async data loading) 3. The API response is missing the expected data structure ## How to fix it ### Option 1: Default prop value (Recommended for initial state) ```jsx function UserList({ users = [] }) { return ( <ul> {users.map(user => <li key={user.id}>{user.name}</li>)} </ul> ); } ``` ### Option 2: Guard clause (More explicit) ```jsx func…
6.3s response422 output tokens
Code Review

Please review the following Python function and suggest improvements for readability, performance, and best practices: def get_data(url, retries=3): import requests import time for i in range(retries):…

Here's a comprehensive review with suggested improvements: ## Issues Identified: 1. **Import at wrong location** - Imports inside functions are inefficient and non-standard 2. **Bare `except:` clause** - Catches all exceptions including `KeyboardInterrupt`, `SystemExit` 3. **Missing error handling granularity** - Should distinguish between retryable and non-retryable errors 4. **Duplicate sleep logic** - Same sleep in `else` and `except` blocks 5. **Unnecessary variable** - `data` is only used once 6. **Inefficient list building** - Manual loop instead of list comprehension 7. **Hardcoded error message** - No logging or error context 8. **Missing type hints** - No type annotations 9. **Fun…
12.6s response987 output tokens

Compare these answers side by side with other models →

Try DeepSeek V4 Flash right now

DeepSeek V4 Flash is available on FastMetal through one API key. Start in the browser, or call it from the OpenAI SDK.

Leaderboard
Text
🏆OverallELO: 1,436
#79
🇯🇵JapaneseELO: 1,390
#67
🇨🇳ChineseELO: 1,476
#80
🇰🇷KoreanELO: 1,399
#60
🇬🇧EnglishELO: 1,447
#79
frenchELO: 1,444
#90
germanELO: 1,423
#77
spanishELO: 1,434
#71
russianELO: 1,435
#79
💻CodingELO: 1,484
#80
🧮MathELO: 1,426
#89
✍️Creative WritingELO: 1,407
#74
📝Instruction FollowingELO: 1,429
#74
🌶️Hard PromptsELO: 1,460
#75
💬Multi-TurnELO: 1,454
#65