MiMo Code
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 and open MiMo Code
Install the terminal distribution using the official MiMo Code instructions.
From your project folder, run:
mimo
2. Connect Divyam
Run /connect and choose + Custom provider. Set Provider id to divyam and accept the suggested Display name. Then enter:
| Setting | Value |
|---|---|
| Base URL | https://api.preview.divyam.ai/v1 |
| API key | divyam-sw-v1-... (replace with your key) |
When the wizard asks for the first model, choose one below:
Model ID: divyam-as/gpt-6-sol. Context window: 1,050,000 tokens. Models and pricing
Set First model id to divyam-as/gpt-6-sol, accept the suggested First model name, then select the new model.
To attach images, run /modalities and enable image input for the selected model.
3. Start a coding task
Hello, what are your capabilities?
Run /compact to condense earlier messages.
Attach images to your prompt. MiMo's image-file tool omits image content on this provider route.
Review proposed changes and tool approvals in the terminal.
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.