StarSeaAPIStarSeaAPI
HomeModelsdeepseek-v4.1-flash

deepseek-v4.1-flash API

Call deepseek-v4.1-flash through a single OpenAI-compatible endpoint — one key, no separate vendor account, no multi-provider wiring.

DeepSeekChatReasoningCodingVision

Pricing

Input$0.15 / 1M tokens  (¥1.00)
Output$0.61 / 1M tokens  (¥4.00)
Output multiplier×4.00

Prices are per 1M tokens in USD · ¥6.6 = $1 · Billed in CNY

DeepSeek

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.

When to use it

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.

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)

Integrations · Quickstart

Other models from this provider

ModelsInput $/MOutput $/MIntelligence indexCoding index
deepseek-v4-flash$0.15$0.6140.869.1
deepseek-v4-flash-0731$0.15$0.61
deepseek-v4-pro$0.68$2.0542.168.8
deepseek-v4-pro-0813$0.68$2.05

Capabilities

Chat & general-purpose models

56 models

Reasoning models

56 models

Coding models

54 models

Vision & multimodal input models

37 models

Low-cost models

19 models

OpenAI-compatible API

57 models