DeepSeek V4.1 Flash Uncensored
Fast, cheap, and it answers.
- Input
- $0.25
- Output
- $0.90
- Cached
- $0.04
$ per 1M tokens
deepseek-v4.1-flash-1017-uncensoreddeepseek-v4.1-flash-1017The standard DeepSeek V4.1 Flash. Very cheap and quick, for high-volume tasks where cost decides.
Input / output, per 1M tokens
| Model | Libremodel | DeepSeek | Fireworks AI | Together AI | DeepInfra | Venice | Featherless |
|---|---|---|---|---|---|---|---|
| DeepSeek V4.1 Flash | LibremodelInput: $0.04 / Output: $0.30 | DeepSeekInput: $0.15 / Output: $0.60+275% more than Libremodel / +100% more than Libremodel | Fireworks AIInput: $0.30 / Output: $1.20+650% more than Libremodel / +300% more than Libremodel | Together AIInput: $0.30 / Output: $1.20+650% more than Libremodel / +300% more than Libremodel | DeepInfraInput: $0.098 / Output: $0.294+145% more than Libremodel / −2% less than Libremodel | VeniceInput: $0.30 / Output: $1.20+650% more than Libremodel / +300% more than Libremodel | FeatherlessInput: $0.225 / Output: $0.90+463% more than Libremodel / +200% more than Libremodel |
Public prices from each provider as of November 28, 2026, per million tokens and before taxes. They may change. See the full comparison
Set it up in your coding agent: copy the instructions and your agent gets it ready, or do it by hand.
Paste it into any coding agent: it sets up OpenCode for you and tells you how to save the key, without writing it in the file.
Or do it by hand
~/.config/opencode/opencode.json%USERPROFILE%\.config\opencode\opencode.json{ "$schema": "https://opencode.ai/config.json", "model": "libremodel/deepseek-v4.1-flash-1017", "provider": { "libremodel": { "npm": "@ai-sdk/openai-compatible", "name": "Libremodel", "options": { "baseURL": "https://api.libremodel.ai/v1", "apiKey": "{env:LIBREMODEL_API_KEY}" }, "models": { "kimi-k3.1-pro-uncensored": { "name": "Kimi K3.1 Pro Uncensored", "tool_call": true, "interleaved": { "field": "reasoning_content" }, "modalities": { "input": [ "text", "image" ], "output": [ "text" ] }, "limit": { "context": 1048576, "output": 131072 }, "cost": { "input": 3, "output": 9, "cache_read": 0.3 }, "variants": { "low": { "reasoningEffort": "low" }, "high": { "reasoningEffort": "high" }, "max": { "reasoningEffort": "max" } } }, "deepseek-v4.1-flash-1017-uncensored": { "name": "DeepSeek V4.1 Flash Uncensored", "tool_call": true, "interleaved": { "field": "reasoning_content" }, "modalities": { "input": [ "text", "image" ], "output": [ "text" ] }, "limit": { "context": 1048576, "output": 131072 }, "cost": { "input": 0.25, "output": 0.9, "cache_read": 0.04 }, "variants": { "off": { "reasoningEffort": "off" }, "low": { "reasoningEffort": "low" }, "high": { "reasoningEffort": "high" }, "max": { "reasoningEffort": "max" } } }, "glm-5.3-flash-uncensored": { "name": "GLM 5.3 Flash Uncensored", "tool_call": true, "interleaved": { "field": "reasoning_content" }, "modalities": { "input": [ "text", "image" ], "output": [ "text" ] }, "limit": { "context": 1048576, "output": 131072 }, "cost": { "input": 0.3, "output": 1.2, "cache_read": 0.06 }, "variants": { "low": { "reasoningEffort": "low" }, "high": { "reasoningEffort": "high" }, "max": { "reasoningEffort": "max" } } }, "kimi-k3.1-pro": { "name": "Kimi K3.1 Pro", "tool_call": true, "interleaved": { "field": "reasoning_content" }, "modalities": { "input": [ "text", "image" ], "output": [ "text" ] }, "limit": { "context": 1048576, "output": 131072 }, "cost": { "input": 1, "output": 6, "cache_read": 0.25 }, "variants": { "low": { "reasoningEffort": "low" }, "high": { "reasoningEffort": "high" }, "max": { "reasoningEffort": "max" } } }, "deepseek-v4.1-flash-1017": { "name": "DeepSeek V4.1 Flash", "tool_call": true, "interleaved": { "field": "reasoning_content" }, "modalities": { "input": [ "text", "image" ], "output": [ "text" ] }, "limit": { "context": 1048576, "output": 262144 }, "cost": { "input": 0.04, "output": 0.3, "cache_read": 0.004 }, "variants": { "off": { "reasoningEffort": "off" }, "low": { "reasoningEffort": "low" }, "high": { "reasoningEffort": "high" }, "max": { "reasoningEffort": "max" } } }, "minimax-m3.1-flash": { "name": "MiniMax M3.1 Flash", "tool_call": true, "interleaved": { "field": "reasoning_content" }, "modalities": { "input": [ "text", "image" ], "output": [ "text" ] }, "limit": { "context": 1048576, "output": 131072 }, "cost": { "input": 0.05, "output": 0.2, "cache_read": 0.005 }, "variants": { "low": { "reasoningEffort": "low" }, "high": { "reasoningEffort": "high" }, "max": { "reasoningEffort": "max" } } } } } }}New file: copy the whole file. Already have one: copy only the highlighted block and paste it in the same place of yours, keeping everything else.
The config reads the key from LIBREMODEL_API_KEY, so it never sits in the file. Use a key from your API keys page (it starts with sk-libremodel-) and open a new terminal.
export LIBREMODEL_API_KEY="sk-libremodel-..."opencode --model libremodel/deepseek-v4.1-flash-1017Send “Say ok.” to check it works. All 6 models are in the config, so you can switch any time.
from openai import OpenAI
client = OpenAI(
base_url="https://api.libremodel.ai/v1",
api_key="sk-libremodel-...",
)
response = client.chat.completions.create(
model="deepseek-v4.1-flash-1017",
messages=[
{"role": "user", "content": "Hello, Libremodel"},
],
)
print(response.choices[0].message.content)import OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'https://api.libremodel.ai/v1',
apiKey: process.env.LIBREMODEL_API_KEY,
})
const response = await client.chat.completions.create({
model: 'deepseek-v4.1-flash-1017',
messages: [
{ role: 'user', content: 'Hello, Libremodel' },
],
})
console.log(response.choices[0].message.content)curl https://api.libremodel.ai/v1/chat/completions \
-H "Authorization: Bearer $LIBREMODEL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4.1-flash-1017",
"messages": [{"role": "user", "content": "Hello, Libremodel"}]
}'The standard DeepSeek V4.1 Flash. Very cheap and quick, for high-volume tasks where cost decides.
DeepSeek V4.1 Flash costs $0.04 per million input tokens and $0.30 per million output tokens, with cached input at $0.004.
DeepSeek V4.1 Flash has a context window of 1M tokens and writes up to 262K tokens per response.
Yes. Pass your functions in tools, as with the OpenAI SDK, and DeepSeek V4.1 Flash answers with the calls to make. The tool calling guide has an example.
DeepSeek V4.1 Flash takes text and images, and answers with text.
Yes. Set the reasoning effort to off, low, high, max. If the request doesn't set one, it uses high.
Create an account, add credit by card, and call it with your own key. You pay per token.
Fast, cheap, and it answers.
$ per 1M tokens
deepseek-v4.1-flash-1017-uncensoredThe heavy lifter, without the refusals.
$ per 1M tokens
kimi-k3.1-pro-uncensoredGLM for a fraction of the price.
$ per 1M tokens
glm-5.3-flash-uncensoredThe flagship, as its makers shipped it.
$ per 1M tokens
kimi-k3.1-proAgents and code, for cents.
$ per 1M tokens
minimax-m3.1-flash