Existing-client compatibility
Keep this ID only when an existing integration requires the legacy name.
DeepSeek · OpenAI-compatible API
deepseek/deepseek-v4-flash-0731USD / 1M tokens
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-flash-0731",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.iteracompute.com/v1",
apiKey: process.env.ITERACOMPUTE_API_KEY,
});
const response = await client.chat.completions.create({
model: "deepseek/deepseek-v4-flash-0731",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);curl https://api.iteracompute.com/v1/chat/completions \
-H "Authorization: Bearer $ITERACOMPUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek/deepseek-v4-flash-0731",
"messages": [{"role": "user", "content": "Hello!"}]
}'Catalog snapshot: 2026-10-09. Live prices have not been verified yet.
Text input, streaming and structured outputs; up to 393,216 output tokens.
Legacy compatibility alias for DeepSeek V4.1 Flash.
Keep this ID only when an existing integration requires the legacy name.
Replay the same fixture against this alias and V4.1 Flash before switching IDs.
Task suggestions based on catalog features and price, not model quality benchmarks.
Prices in USD per 1M tokens.
Assume 20,000 aggregate input tokens and 2,000 billable output tokens across all calls. No cache hit.
20,000 × $0.29 / 1M + 2,000 × $1.16 / 1M = $0.008120
If usage actually reports 15,000 of those input tokens as cached, replace that portion at the cached-input rate ($0.0058/1M): $0.003857. Cached tokens are part of total input, never added on top.
Illustrative calculation using the October 9, 2026 catalog snapshot, not a measured bill or promised task size. Live rates above may differ. Include every agent call and retry, repeated history and billable reasoning output; settle against actual usage and Console records.
| Parameter / protocol field | Evidence status |
|---|---|
model / messages | Request example only; not live-verified for this model |
tools / tool_calls / tool messages | Catalog lists tool calling; argument and result cycle unverified |
chat_template_kwargs.enable_thinking=false | Qwen-specific option; do not copy to this model |
stream / temperature / top_p / max_tokens / response_format / reasoning_effort | No verified values recorded for this exact model ID |
A catalog capability flag is not a tested parameter value. Omit optional controls until checked with your exact model ID; an HTTP 200 alone does not prove the option took effect.
https://api.iteracompute.com/v1POST /v1/chat/completionsdeepseek/deepseek-v4-flash-0731Set base_url to https://api.iteracompute.com/v1 and model to deepseek/deepseek-v4-flash-0731. Authenticate with your IteraCompute API key.
See the pricing section for current input, cached-input and output rates in USD per 1M tokens. Check the refresh time before use.
1,048,576 tokens.
Create your key, choose a tool and get a non-empty first reply.