DeepSeek · mit

DeepSeek V4.1 Flash Max

Available

DeepSeek V4.1 Flash is an open-weight, MoE-based LLM optimized for agentic workflows, code generation, multi-step reasoning and low-latency enterprise inference. Its 256K context window supports long documents and large codebases.

CHAT REASONING AGENT CODING COMPLETION
Context window
256K
262,144 tokens
Input price
$1.49 / 1M tokens
Output price
$3.49 / 1M tokens

Quickstart

OpenAI-compatible API. Point base_url at the gateway and pass the Model ID in the model field.

Create API key
from openai import OpenAI

client = OpenAI(base_url="https://llm.fixcloud.ai/v1", api_key="FXC_API_KEY")

response = client.chat.completions.create(
    model="deepseek-v4.1-flash",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)

Capabilities

The features this model offers through the API.

  • ChatMulti-turn chat via /v1/chat/completions.
  • Text completionRaw text completion via /v1/completions.
  • ReasoningThinks before answering; returned in the reasoning field.
  • Agentic workflowsSuited to multi-step agent workflows.
  • CodingOptimized for code generation, explanation and repair.
  • Tool callingCalls the tools you define in the OpenAI tools format.
  • Function callingSupports function-calling schemas.
  • JSON schemaOutput constrained to a JSON schema via response_format.
  • Structured outputProduces structured, machine-parseable output.
  • StreamingToken-level streaming (stream: true).
  • Batch inferenceAsynchronous bulk jobs (Batch API).

Pricing

Prices are per 1 million tokens. Once the monthly token quota of your plan is used up, usage is billed at these prices.

Input price
$1.49/ 1M tokens
Output price
$3.49/ 1M tokens
Cost estimator
Per request
—
Per day
—
Per month (30 days)
—

Enter your expected usage; actual billing follows the token counts measured by the gateway.

View plans

Specifications

Transparency details about the infrastructure serving this model.

Family
deepseek
Publisher
DeepSeek
License
mit
Model ID
deepseek-v4.1-flash
Context (tokens)
262,144
Quantization
None (native)
GPUs per replica
2 × GPU
Released
Oct 17, 2026

256K-token serving window (the model supports 1M).