All models

DeepSeek V4.1 Flash

Launched on IteraCompute

Online

DeepSeek

deepseek/deepseek-v4.1-flash
Tool Calling
SupportedTool calling · Supported · Default configuration reference; not live verification
Reasoning
SupportedReasoning · Supported · Default configuration reference; not live verification
Vision
UnsupportedVision · Unsupported · Default configuration reference; not live verification
Streaming
SupportedStreaming · Supported · Default configuration reference; not live verification
JSON mode
SupportedJSON mode · Supported · Default configuration reference; not live verification

USD / 1M tokens

Input
$0.14
Cache Read
$0.006
Cache Write
—
Output
$0.55
Context
1M
Max Output
384K
Precision
Numeric precision undisclosed
Price checked

Overview

Text input, streaming and structured outputs; up to 393,216 output tokens.

API protocols and integration

Base URL · OpenAI SDK
https://api.iteracompute.com/v1
Authentication
Authorization: Bearer ITERACOMPUTE_API_KEY

Choose request fields, response parsing and stream completion by endpoint. This table describes wire formats; see this model's capabilities and verification scope.

Customer endpointModel statusInput / output budgetText resultSSE completion
OpenAI Chat Completions
POST /v1/chat/completions
Declared for this modelmessages
max_tokens
choices[0].message.content[DONE]
OpenAI Responses
POST /v1/responses
Declared for this modelinput
max_output_tokens
output[] (SDK: output_text)response.completed
Anthropic Messages
POST /v1/messages
Declared for this modelmessages; system (top-level)
max_tokens (required)
content[]message_stop

For the Messages SDK use https://api.iteracompute.com as base URL; max_tokens is required. Do not reuse another protocol's fields.

View docs
LLMs.txt · Copy for an AI coding assistant

Includes this model's ID, wire formats and parameter constraints. Check this page's verification scope and current prices before use.

LLMs.txt
# IteraCompute · deepseek/deepseek-v4.1-flash

Model ID: deepseek/deepseek-v4.1-flash
Base URL (OpenAI SDK): https://api.iteracompute.com/v1
Authentication: Authorization: Bearer ITERACOMPUTE_API_KEY
Content-Type: application/json

Use only the customer endpoints below. Request and response formats differ by protocol. An endpoint declaration does not certify every capability.

## Chat Completions
POST https://api.iteracompute.com/v1/chat/completions
Input: messages
Output budget: max_tokens
Read text: choices[0].message.content
SSE completion: [DONE]
Docs: https://iteracompute.com/docs.html#api-reference

## Responses
POST https://api.iteracompute.com/v1/responses
Input: input
Output budget: max_output_tokens
Read text: output[] (SDK: output_text)
SSE completion: response.completed
Docs: https://iteracompute.com/docs.html#responses-api

## Messages
POST https://api.iteracompute.com/v1/messages
Input: messages; system (top-level)
Output budget: max_tokens (required)
Read text: content[]
SSE completion: message_stop
Docs: https://iteracompute.com/docs.html#anthropic-messages

## Parameters
Configuration and parameter acceptance do not establish semantic capability. Do not invent undisclosed defaults.
Current parameter configuration is unconfirmed. Check the model page and current catalog before calling.

## References
Model catalog: https://iteracompute.com/models/
Current prices and billing: https://iteracompute.com/pricing/
Documentation index: https://iteracompute.com/llms.txt
Unknown prices are not zero. Account and subscription limits also apply.
Never include a real API key in an LLM prompt or client-side code.

Open plain text

V4, V4.1 and dated snapshots have different thinking and image rules. Preserve the published snapshot and gateway limits; do not infer newer controls from a shared API protocol.

Use the parameters and verification evidence published for this exact model. A supplier documentation review does not certify every feature on the gateway.

API parameters

These parameters and ranges come from the model’s existing default configuration, not live verification of the current route. Published configuration takes precedence.

Tool calling
Supported
Reasoning
Supported
Vision
Unsupported
Streaming
Supported
JSON mode
Supported

Parameters and values

Click a parameter to copy its name; scroll the table horizontally to see all columns. Usage notes identify protocol differences; identical names do not guarantee cross-endpoint support.

ParameterTypeAcceptanceRangeUsage / protocol
integerReference: supported[1, 390000]Output token budget; includes reasoning where applicable. Chat Completions / Messages.
integerReference: supported[1, 390000]Alternative Chat output budget; use only when accepted by this model.
integerReference: supported[1, 390000]Responses output budget. Chat acceptance must be checked separately.
numberReference: supported[0, 2]Sampling randomness. An accepted but ignored value does not control generation.
numberReference: supported[0, 1]Nucleus sampling probability threshold.
numberReference: supported[-2, 2]Penalize tokens already present in the generated text.
numberReference: supported[-2, 2]Penalize repeated tokens according to frequency.
integerReference: supported[1, 1]Number of completions; many routes accept only 1.
booleanReference: supported—Enable SSE streaming; completion markers depend on the protocol.
arrayReference: supported—Tool definitions; the application executes tool calls and returns results.
anyReference: supported—Choose whether and which tool to call; allowed shapes vary by protocol.
objectReference: supported—Chat output format; JSON mode and schema enforcement require separate verification.
anyReference: supported—Reasoning control; object or boolean depends on the model and protocol.
enumReference: supported["low","high","max"]Chat reasoning effort; use the model's listed values, not another protocol's shape.

Reference request (applicability unverified)

POST /v1/chat/completions

Chat Completions request
{
  "model": "deepseek/deepseek-v4.1-flash",
  "messages": [
    {
      "role": "user",
      "content": "Reply OK"
    }
  ],
  "max_tokens": 256,
  "reasoning_effort": "low"
}

Parameter revision:c650049a04d9

Technical reference (current configuration takes precedence)

API parameters

Click a parameter to copy its name.

ParametersUsage
Use the exact model ID and chat message list
Use tools to define functions and role=tool to return their results
Use SSE streaming with final usage
Set an output budget within the model and account limits

Parameters vary by model. Keep model-specific controls separate from shared OpenAI-compatible fields.

Parameter reference

Parameter usage

    Interface reference checked: 2026-10-23

    Checked parameter constraints

    ParametersUsage
    Chat uses max_tokens or max_completion_tokens; Responses uses max_output_tokens. Use positive integers within Gateway limits.
    Thinking mode ignores temperature and penalties. Preserve reasoning_content during tool calls. Keep this dated Gateway route separate from the latest official model alias.

    2026-10-26

    API

    Current parameter configuration is unconfirmed; the historical example below has not been verified against the current configuration.

    Historical example (applicability unverified)
    import os
    from openai import OpenAI
    
    client = OpenAI(
        base_url="https://api.iteracompute.com/v1",
        api_key=os.environ["ITERACOMPUTE_API_KEY"],
    )
    response = client.chat.completions.create(
        model='deepseek/deepseek-v4.1-flash',
        messages=[{'role': 'user', 'content': 'Reply OK'}],
        max_tokens=256,
        reasoning_effort='low',
    )
    print(response.choices[0].message.content)

    View Docs

    Pricing

    Current prices and availability are shown below. Missing prices do not mean free.

    Input$0.14
    Cache Read$0.006
    Cache Write—
    Output$0.55
    Version / Model ID
    deepseek/deepseek-v4.1-flashBackend revision: not disclosed
    Context
    1M
    Precision
    Numeric precision undisclosed
    Price checked
    Verification scope and sources
    View verification scope and sources

    Use the parameters and verification evidence published for this exact model. A supplier documentation review does not certify every feature on the gateway.

    Price source: Public Models API · Price and precision evidence are reviewed separately.

    Cache-read rates require actual cache hits. A missing rate (—) is unknown, not zero. See usage limits for account and Gateway context restrictions.

    Cost calculator

    USD · Estimate
    Calculation mode
    Advanced token usage

    Input includes cache reads and writes; these portions must not overlap. Output already includes reasoning; enter reasoning as a subset, never add it twice. Count agent steps and retries as requests.

    Estimated monthly cost

    —USD

    DeepSeek V4.1 Flash

    Cache hits and capacity are not guaranteed.

    Cost breakdown
    Uncached input
    —
    Cache read
    —
    Cache writes (5m + 1h)
    —
    Output (including reasoning)
    —

    Usage limits

    • Text-only. A repeated prompt is not a guaranteed cache hit; inspect the cached tokens reported in usage.
    • See the current context and maximum output in the model specifications above. Input and requested output share the context budget.
    • The context and capability flags describe the public catalog. They do not establish a particular tool workflow or a quality score.
    • Start with one representative task. Check correctness, actual usage and response time before increasing traffic.
    • Use the integration examples to connect your application and handle tool results.

    Tasks and selection tradeoffs

    Frequent small code edits

    Use focused source context, review each diff and run fast unit tests.

    Repeated-prefix text workflows

    Reuse stable instructions and inspect reported cached tokens rather than assuming a hit.

    Task suggestions based on catalog features and price, not model quality benchmarks.

    Choose your tool

    Choose a model and tool for your task

    FAQ

    How do I use DeepSeek V4.1 Flash with the OpenAI SDK?

    Set base_url to https://api.iteracompute.com/v1 and model to deepseek/deepseek-v4.1-flash. Authenticate with your IteraCompute API key.

    What does DeepSeek V4.1 Flash cost?

    See the pricing section for current input, cached-input and output rates in USD per 1M tokens. Check the refresh time before use.

    What context length is available?

    See the summary above for the context and maximum output available through this API. Input and requested output share the context budget.

    Ready for your first request?

    Create your key, choose a tool and get a non-empty first reply.