Refract › Models › DeepSeek V4.1 Flash
DeepSeek V4.1 Flash API
Use DeepSeek V4.1 Flash by DeepSeek through Refract's OpenAI-compatible API for $0.12 per 1M input and $0.48 per 1M output tokens, 59% below the official $0.30 / $1.20. Pay per token, no subscription.
| Model ID | deepseek-v4.1-flash |
|---|---|
| Provider | DeepSeek |
| Input, per 1M tokens | $0.12 (official $0.30) |
| Output, per 1M tokens | $0.48 (official $1.20) |
Chat with DeepSeek V4.1 Flash · Get an API key
Use it from code
curl https://refracthub.com/v1/chat/completions \
-H "Authorization: Bearer $REFRACT_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "deepseek-v4.1-flash", "messages": [{"role": "user", "content": "Hello"}]}'from openai import OpenAI
client = OpenAI(base_url="https://refracthub.com/v1", api_key="YOUR_REFRACT_KEY")
reply = client.chat.completions.create(model="deepseek-v4.1-flash", messages=[{"role": "user", "content": "Hello"}])
print(reply.choices[0].message.content)
Questions
How much does DeepSeek V4.1 Flash cost on Refract?
$0.12 per 1M input tokens and $0.48 per 1M output tokens, compared with $0.30 and $1.20 on DeepSeek's official API. You pay only for the tokens you use, with no subscription.
Does it work with the OpenAI SDK?
Yes. Point the OpenAI SDK, or any OpenAI-compatible app, at https://refracthub.com/v1 with your Refract key and use the model name "deepseek-v4.1-flash". The Anthropic Messages format works too.
Can I use DeepSeek V4.1 Flash without writing code?
Yes. Chat with it on the web at https://refracthub.com/chat, or use the Refract desktop app for Windows.
Other DeepSeek models
- DeepSeek V4 Pro: $0.18 / $0.36 per 1M tokens