DeepSeek V4.1 Flash API cost calculator

DeepSeek V4.1 Flash (DeepSeek) is listed in the Ofox model catalog at $0.30 per 1M input tokens and $1.20 per 1M output tokens, with cached input at $0.006 per 1M (checked 2026-11-26). Enter your workload below to estimate the monthly bill.

Context 1MMax out 384KTool callReasoningCachingImage input

1. Configure your workload

Estimated monthly spend

$13.95
DeepSeek · DeepSeek V4.1 Flash · Ofox catalog rates
Daily average (÷30)
—
Per 1,000 requests
—
Monthly input tokens
—
Monthly output tokens
—
Input: —Output: —

Standard per-token rates only. Excludes batch discounts, cache-write fees, web-search or tool fees and any long-context surcharges.

Get an API key via Ofox →Affiliate link: the operator of this site may earn a commission.

DeepSeek V4.1 Flash pricing per 1M tokens

Token typeUSD per 1M tokens
Input$0.30
Output$1.20
Cached input (read)$0.006

Source: Ofox model catalog, api.ofox.ai/v1/models, checked 2026-11-26. These are the rates in Ofox's catalog and can differ from the provider's own list price; the main calculator on the home page uses official provider list prices for the models it covers.

DeepSeek V4.1 Flash parameters

Ofox model IDdeepseek/deepseek-v4.1-flash
Context window1,000,000 tokens
Max output384,000 tokens
Tool callingYes (listed in catalog)
Reasoning parameterYes (listed in catalog)
Prompt cachingYes — cache-read price listed
Image inputYes
Input typestext, image
API endpoints/v1/chat/completions, /v1/responses

Capabilities are read from the catalog's supported-parameter and modality fields; a feature not listed there may still work, but we only report what the catalog shows.

Call DeepSeek V4.1 Flash through Ofox (OpenAI-compatible)

curl https://api.ofox.ai/v1/chat/completions \
  -H "Authorization: Bearer $OFOX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek/deepseek-v4.1-flash",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.ofox.ai/v1",
    api_key=os.environ["OFOX_API_KEY"],
)

resp = client.chat.completions.create(
    model="deepseek/deepseek-v4.1-flash",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.ofox.ai/v1",
  apiKey: process.env.OFOX_API_KEY,
});

const resp = await client.chat.completions.create({
  model: "deepseek/deepseek-v4.1-flash",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(resp.choices[0].message.content);

Set OFOX_API_KEY in your environment; never paste a real key into code you share. The model ID is copied from the Ofox catalog; we have not run this exact model ourselves.

Get an API key via Ofox →Affiliate link: the operator of this site may earn a commission.

Set it up

Related on TokenHubs

Compare DeepSeek V4.1 Flash

More DeepSeek models

Frequently asked questions

How much does DeepSeek V4.1 Flash cost per 1M tokens on Ofox?
Per the Ofox model catalog (checked 2026-11-26): $0.30 per 1M input tokens and $1.20 per 1M output tokens, and $0.006 per 1M cached input tokens.
What is the context window and maximum output of DeepSeek V4.1 Flash?
The Ofox catalog lists a 1,000,000-token context window and up to 384,000 output tokens per response.
Does DeepSeek V4.1 Flash support tool calling and reasoning parameters?
The Ofox catalog lists the tools and tool_choice parameters for this model, and lists the reasoning parameter. Input types listed: text, image.
What would DeepSeek V4.1 Flash cost for a chatbot sending 500 requests a day?
Assuming 1,500 input and 400 output tokens per request over 30 days (15,000 requests) with no caching, the estimate at Ofox catalog rates is $13.95 per month. Actual bills vary with your prompts, tool use and any surcharges.
How do I call DeepSeek V4.1 Flash through Ofox?
Use the OpenAI-compatible base URL https://api.ofox.ai/v1 with the model ID deepseek/deepseek-v4.1-flash on /v1/chat/completions. Example code is on this page.