Zero
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 Zero
Install Zero using the official instructions.
2. Add the Divyam provider
Model ID: divyam-as/gpt-6-sol. Context window: 1,050,000 tokens. Models and pricing
Replace divyam-sw-v1-... with your Divyam key. Run these commands in the terminal you will use for Zero:
export DIVYAM_API_KEY="divyam-sw-v1-..."
export ZERO_RESPONSE_HEADER_TIMEOUT=180s
zero providers add custom-openai-compatible \
--model divyam-as/gpt-6-sol \
--base-url https://api.preview.divyam.ai/v1 \
--api-key-env DIVYAM_API_KEY \
--set-active
The timeout setting allows up to 180 seconds for response headers. Keep DIVYAM_API_KEY set when you run Zero.
3. Start an interactive session
From your project folder and the terminal where you exported the key, run:
zero
Hello, what are your capabilities?
Use /compact now to shorten the current conversation.
Zero's capability catalog does not enable image input for this configuration. Browser and desktop tools, MCP, plugins, skills, OAuth and resume 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.