DeepSeek V4.1 Flash Eco
LLM NewDeepSeek V4.1 Flash Eco model ($0.3/$1.2 per 1M tokens) with 1.05M context and 98% prompt cache read savings.
Pricing & Cost Calculator
Per-1M token pricing on OpenDesign Go.
| Input Length | Input | Output | Cache Read | Cache Write |
|---|---|---|---|---|
| Standard | $0.3 | $1.2 | $0.006 | — |
Specs & Parameters
| Parameter | Type | Value / Support |
|---|---|---|
| model | string | deepseek-v4.1-flash-eco |
| messages / input | array | text, image |
| max_tokens | integer | ≤ 393,216 |
| stream | boolean | SSE token streaming |
| reasoning_effort | string | low / medium / high / max (default: high) |
| tools / response_format | object | Function calling & JSON schema |
Routing, Reliability & Privacy
Managed upstream routing with automatic failover, locked public pricing, and zero data retention.
API
Call deepseek-v4.1-flash-eco using OpenAI Compatible (Chat / Responses).
Set your OpenDesign Go API key
export COROUTER_API_KEY="YOUR_API_KEY" # Base URL: https://amr-link.open-design.ai/v1
Make your first request
curl https://amr-link.open-design.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $COROUTER_API_KEY" \
-d '{
"model": "deepseek-v4.1-flash-eco",
"max_tokens": 1024,
"messages": [
{ "role": "user", "content": "Refactor this API handler for streaming responses." }
]
}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://amr-link.open-design.ai/v1",
api_key=os.environ["COROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="deepseek-v4.1-flash-eco",
max_tokens=1024,
messages=[
{"role": "user", "content": "Refactor this API handler for streaming responses."}
],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://amr-link.open-design.ai/v1",
apiKey: process.env.COROUTER_API_KEY,
});
const response = await client.chat.completions.create({
model: "deepseek-v4.1-flash-eco",
max_tokens: 1024,
messages: [
{ role: "user", content: "Refactor this API handler for streaming responses." },
],
});
console.log(response.choices[0].message.content);import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
baseURL: "https://amr-link.open-design.ai",
apiKey: process.env.COROUTER_API_KEY,
});
const message = await client.messages.create({
model: "deepseek-v4.1-flash-eco",
max_tokens: 1024,
messages: [
{ role: "user", content: "Refactor this API handler for streaming responses." },
],
});
console.log(message.content);Inspect response payload & HTTP errors
{
"id": "chatcmpl_od_01j9x7k2m8",
"object": "chat.completion",
"model": "deepseek-v4.1-flash-eco",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Here is the streaming handler implementation..."
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 50000,
"completion_tokens": 4000,
"total_tokens": 54000,
"prompt_tokens_details": {
"cached_tokens": 40000
}
}
}
HTTP 401 Unauthorized Invalid or missing Bearer COROUTER_API_KEY.
HTTP 403 Forbidden Workspace key lacks permission for this model or endpoint.
HTTP 404 Not Found Unknown model ID or unavailable endpoint path.
HTTP 429 Too Many Requests Workspace rate limit, concurrency cap, or credit limit reached.
HTTP 502 Bad Gateway Upstream provider returned an error after automatic failover.
HTTP 503 Service Unavailable Upstream provider temporarily unavailable; retry with backoff.
Coding Agents
Pre-filled configurations for DeepSeek V4.1 Flash Eco across supported coding tools.
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"corouter": {
"npm": "@ai-sdk/openai-compatible",
"name": "OpenDesign Go",
"options": {
"baseURL": "https://amr-link.open-design.ai/v1",
"apiKey": "{env:COROUTER_API_KEY}"
},
"models": {
"deepseek-v4.1-flash-eco": {
"name": "DeepSeek V4.1 Flash Eco"
}
}
}
},
"model": "corouter/deepseek-v4.1-flash-eco"
}model_provider = "corouter"
model = "deepseek-v4.1-flash-eco"
[model_providers.corouter]
name = "OpenDesign Go"
base_url = "https://amr-link.open-design.ai/v1"
env_key = "COROUTER_API_KEY"
wire_api = "responses"export ANTHROPIC_BASE_URL="https://amr-link.open-design.ai"
export ANTHROPIC_AUTH_TOKEN="YOUR_API_KEY"
export ANTHROPIC_API_KEY=""
export ANTHROPIC_MODEL="deepseek-v4.1-flash-eco"
claudehermes model
# Select: custom OpenAI-compatible endpoint
# Base URL: https://amr-link.open-design.ai/v1
# API key: YOUR_API_KEY
# Model: deepseek-v4.1-flash-ecobrew install --cask cc-switch
# Add OpenDesign Go API Key
# Base URL: https://amr-link.open-design.ai/v1
# Model ID: deepseek-v4.1-flash-ecoCompare Models
Side-by-side pricing, context window, and 50K-token coding turn estimate.
| Model | Provider | Context | Input | Output | Cache Read | 50K Turn |
|---|---|---|---|---|---|---|
| DeepSeek | 1.05M | $0.3 | $1.2 | $0.006(-98%) | $0.00804 | |
| DeepSeek | 1.05M | |||||
| DeepSeek | 1.05M | |||||
| OpenAI | 1.05M | |||||
| OpenAI | 1.05M |
Frequently Asked Questions
DeepSeek V4.1 Flash Eco (deepseek-v4.1-flash-eco) is billed at official list rates: $0.3/1M input and $1.2/1M output, with prompt cache reads at $0.006/1M (-98%).
DeepSeek V4.1 Flash Eco supports Text + Image → Text with a 1.05M context window and up to 393,216 output tokens.
Yes. DeepSeek V4.1 Flash Eco supports reasoning_effort levels (low / medium / high / max) with a default of high.
Cached prompt reads on DeepSeek V4.1 Flash Eco are billed at $0.006/1M tokens (-98% vs standard input) with no cache write surcharge.
Yes. Copy the pre-filled configuration in the Coding Agents section above, set model to "deepseek-v4.1-flash-eco", and replace YOUR_API_KEY with your OpenDesign Go key.
No. OpenDesign Go enforces Zero Data Retention and records only account, model, token counts, and usage cost — never prompt or response bodies.
More models from DeepSeek
View provider pageExplore more models
Full directoryDeepSeek V4.1 Flash Eco API
https://amr-link.open-design.ai/v1
curl https://amr-link.open-design.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $COROUTER_API_KEY" \
-d '{
"model": "deepseek-v4.1-flash-eco",
"max_tokens": 1024,
"messages": [
{ "role": "user", "content": "Refactor this API handler for streaming responses." }
]
}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://amr-link.open-design.ai/v1",
api_key=os.environ["COROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="deepseek-v4.1-flash-eco",
max_tokens=1024,
messages=[
{"role": "user", "content": "Refactor this API handler for streaming responses."}
],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://amr-link.open-design.ai/v1",
apiKey: process.env.COROUTER_API_KEY,
});
const response = await client.chat.completions.create({
model: "deepseek-v4.1-flash-eco",
max_tokens: 1024,
messages: [
{ role: "user", content: "Refactor this API handler for streaming responses." },
],
});
console.log(response.choices[0].message.content);import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
baseURL: "https://amr-link.open-design.ai",
apiKey: process.env.COROUTER_API_KEY,
});
const message = await client.messages.create({
model: "deepseek-v4.1-flash-eco",
max_tokens: 1024,
messages: [
{ role: "user", content: "Refactor this API handler for streaming responses." },
],
});
console.log(message.content);