Zed
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:
Model ID: divyam-as/gpt-6-sol. Context window: 1,050,000 tokens. Models and pricing
| Setting | Value |
|---|---|
| Provider Name | divyam |
| API URL | https://api.preview.divyam.ai/v1 |
| API Key | divyam-sw-v1-... (replace with your key) |
| Model Name | divyam-as/gpt-6-sol |
| Max Tokens | 128000 |
| Max Output Tokens | 8192 |
| Max Completion Tokens | 8192 |
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.
Hello, what are your capabilities?
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.
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.