StarSeaAPIStarSeaAPI
HomeIntegrationsClaude Code

Claude Code

ANTHROPIC_BASE_URL / ANTHROPIC_AUTH_TOKEN

Set the two environment variables below and Claude Code talks to this endpoint instead of Anthropic directly. Because the Anthropic Messages protocol is terminated natively, tool use and long-context sessions behave normally. Model names must be the ids from the catalogue, not Anthropic's aliases.

Code

export ANTHROPIC_BASE_URL="https://starseaapi.com"
export ANTHROPIC_AUTH_TOKEN="sk-your-key"
claude  # then pick a model from the catalogue

Quickstart

  1. Create an API key — Sign up, then create a token in the console. A key works across the whole catalogue; scope and quota can be restricted per key.
  2. Point your client at the endpoint — Set base_url to https://starseaapi.com/v1 and use the key. Any OpenAI-compatible SDK, IDE or desktop client works.
  3. Pick a model — Start with a low-cost tier for prototyping. Every id in the catalogue can be swapped without touching code.
  4. Watch cost, not just quality — Output tokens are usually priced at a multiple of input, and reasoning models emit thinking tokens. Keep stable prompt prefixes first so caching applies.

Integrations

Cursor

Settings → Models → OpenAI API Key

Cline (VS Code)

OpenAI Compatible provider

Roo Code

OpenAI Compatible provider

OpenCode

~/.config/opencode/opencode.json

Continue

~/.continue/config.json

Aider

--openai-api-base

Zed

settings.json → language_models

Kilo Code

OpenAI Compatible provider