StarSeaStarAPI
HomeModelslongcat-2.0

longcat-2.0 API

Call longcat-2.0 through a single OpenAI-compatible endpoint — one key, no separate vendor account, no multi-provider wiring.

MeituanChatReasoningCoding
45.3
Coding index

Pricing

Input$0.76 / 1M tokens  (¥5.00)
Output$3.03 / 1M tokens  (¥20.00)
Output multiplier×4.00
Context window1M tokens
Max output256K tokens

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

Meituan

LongCat models from Meituan are available as an additional general-purpose option.

When to use it

At $0.76 per 1M input tokens it sits above the catalogue median of $0.45 — a capability-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="longcat-2.0",
  messages=[{"role": "user", "content": "Explain prefix caching in one paragraph"}]
)
print(r.choices[0].message.content)

Integrations · Quickstart

Capabilities

Chat & general-purpose models

31 models

Reasoning models

31 models

Coding models

29 models

Long-context models

29 models

OpenAI-compatible API

31 models