Sign up, then create a token in the console. A key works across the whole catalogue; scope and quota can be restricted per key.
Set base_url to https://starseaapi.com/v1 and use the key. Any OpenAI-compatible SDK, IDE or desktop client works.
Start with a low-cost tier for prototyping. Every id in the catalogue can be swapped without touching code.
Output tokens are usually priced at a multiple of input, and reasoning models emit thinking tokens. Keep stable prompt prefixes first so caching applies.
from openai import OpenAI
client = OpenAI(
base_url="https://starseaapi.com/v1",
api_key="sk-your-key"
)
resp = client.chat.completions.create(
model="deepseek-v4.1-flash",
messages=[{"role": "user", "content": "Hello"}]
)
print(resp.choices[0].message.content)/v1/chat/completions — OpenAI-compatible chat/v1/responses — OpenAI-compatible responses/v1/messages — Anthropic Messages protocol/v1/images/generations — image generation/v1/models — model list