Call deepseek-v4.1-flash through a single OpenAI-compatible endpoint — one key, no separate vendor account, no multi-provider wiring.
DeepSeekChatReasoningCodingVisionPrices are per 1M tokens in USD · ¥6.6 = $1 · Billed in CNY
DeepSeek models are the default choice for high-volume workloads: strong reasoning, long context and a price point that makes them viable as an always-on backbone. On StarSeaAPI every DeepSeek variant is served through multiple independent upstream routes, so a single provider incident does not take the model offline.
At $0.15 per 1M input tokens it sits far below the catalogue median of $0.76 — a cost-first choice. Best for coding agents and repository-scale edits. Every model here is reachable with the same API key, so trialling it against a stronger sibling costs one line of code.
from openai import OpenAI
client = OpenAI(
base_url="https://starseaapi.com/v1",
api_key="sk-your-key"
)
r = client.chat.completions.create(
model="deepseek-v4.1-flash",
messages=[{"role": "user", "content": "Explain prefix caching in one paragraph"}]
)
print(r.choices[0].message.content)| Models | Input $/M | Output $/M | Intelligence index | Coding index |
|---|---|---|---|---|
| deepseek-v4-flash | $0.15 | $0.61 | 40.8 | 69.1 |
| deepseek-v4-flash-0731 | $0.15 | $0.61 | — | — |
| deepseek-v4-pro | $0.68 | $2.05 | 42.1 | 68.8 |
| deepseek-v4-pro-0813 | $0.68 | $2.05 | — | — |