Skip to main content

Reasonix

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 Reasonix​

Follow the official CLI installation instructions.

2. Add Divyam with the setup wizard​

Run:

reasonix setup

Choose Add OpenAI-compatible provider, then OpenAI Chat Completions and Fetch models from URL. Enter:

SettingValue
Base URLhttps://api.preview.divyam.ai/v1
API Key variable nameDIVYAM_API_KEY
API Keydivyam-sw-v1-... (replace with your key)

When Reasonix shows the fetched model list, choose a model below:

divyam-as/

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

Select divyam-as/gpt-6-sol with Space and press Enter. Accept the default context window, choose Save and exit, then confirm the changes.

3. Send your first prompt​

From your project folder, start Reasonix:

reasonix
In Reasonix'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.