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

Zed

settings.json → language_models

Zed's agent panel accepts an OpenAI-compatible provider. Add the endpoint under language_models and set the model id explicitly.

Code

"language_models": { "openai": {
    "api_url": "https://starseaapi.com/v1", "available_models": [
      { "name": "glm-5.3-flash", "max_tokens": 131072 } ] } }

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