Skip to main content

Zed

Before you start

You need a Divyam account and an API key. If you don't have them yet, follow Getting Started first.

Replace the shortened divyam-sw-v1-... shown in examples with your complete API key.

The examples use divyam-as/gpt-6-sol. For another model, select its current ID in your harness or copy it from Models and pricing, and check its context limit and supported features.

1. Install Zed​

Install Zed using the official instructions.

2. Add the Divyam provider​

Open Agent Settings → LLM Providers → Add Provider → OpenAI Compatible. Fill in the provider form:

divyam-as/

Model ID: divyam-as/gpt-6-sol. Context window: 1,050,000 tokens. Models and pricing

SettingValue
Provider Namedivyam
API URLhttps://api.preview.divyam.ai/v1
API Keydivyam-sw-v1-... (replace with your key)
Model Namedivyam-as/gpt-6-sol
Max Tokens128000
Max Output Tokens8192
Max Completion Tokens8192

Leave the other model settings at their defaults, then save the provider. This connection does not require a Zed account.

3. Open an interactive chat​

Open the Agent panel. Select the built-in Write agent and divyam-as/gpt-6-sol from the divyam provider.

In Zed's composer
Hello, what are your capabilities?
Paste this message, then send it.
Feature limits

Compaction, inline predictions, external agents, MCP and collaboration are outside this guide.

Check your requests​

Open the Divyam console and select Logs. Your requests appear there within a few seconds, newest first, with their status, token counts and latency. Usage and Credits & Billing catch up within a few minutes.

Local cost estimates

Some clients display zero when model prices are missing. Check Credits & Billing for Divyam charges. Local dollar limits depend on the client's price and usage data.

For filters, cached-token counts and the requested-versus-routed view, see Logs and usage.