星海词元星海词元
Ready to build?Get an API key — all models at 50% of the official price →
Home › Integrations › Cursor

Cursor

Settings → Models → OpenAI API Key

Cursor accepts a custom OpenAI base URL under model settings. Two caveats worth knowing: only the Chat panel routes through a custom provider (Tab completion and some Agent features stay on Cursor's own backend), and you must type the model id manually — Cursor does not read the /v1/models list.

Code

Base URL: https://starseaapi.com
API Key:  <your key>
Model:    claude-sonnet-5   (type the id manually)

Quickstart

01

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.

02

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.

03

Pick a model

Start with a low-cost tier for prototyping. Every id in the catalogue can be swapped without touching code.

04

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