Skip to main content

Kimchi CLI

Use Kimchi CLI with Divyam for file edits and shell commands.

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. To choose another model, use this guide’s model selector when one is shown, or copy its current ID from Models and pricing. Check its context limit and supported features.

1. Install Kimchi CLI​

Install Kimchi using the installation section of its official quickstart.

2. Configure Divyam​

divyam-as/

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

Merge this into ~/.config/kimchi/harness/models.json, creating the directory and file if needed. Replace divyam-sw-v1-... with your complete Divyam API key.

{
"providers": {
"divyam": {
"baseUrl": "https://api.preview.divyam.ai/v1",
"api": "openai-completions",
"apiKey": "divyam-sw-v1-...",
"models": [
{
"id": "divyam-as/gpt-6-sol",
"name": "divyam-as/gpt-6-sol"
}
]
}
}
}

3. Send your first prompt​

From your project directory, start Kimchi with the provider and model selected explicitly:

kimchi --provider divyam --model divyam-as/gpt-6-sol
In Kimchi CLI's composer
Hello, what are your capabilities?
Paste this message, then send it.

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.