Skip to main content
Configure Reasonix to call the Modellix LLM gateway. Reasonix is a local coding agent (CLI/TUI, desktop app, browser UI, or ACP). It has no built-in Modellix provider, so add an OpenAI-compatible [[providers]] entry in ~/.reasonix/config.toml that points at Chat Completions on POST /v1/chat/completions.
This page covers LLM text only (https://llm.modellix.ai).Modellix model IDs are provider/name (for example openai/gpt-5.5). Put that full string in model or models so Reasonix sends it unchanged in the request body. See Models & Pricing.

Set Up Reasonix

1

Install Reasonix

Install the 1.x CLI (npm is the documented default):
Desktop downloads are on the Reasonix docs. CLI and desktop share the same config and credential files.
2

Store the Modellix API Key

Create a key in the Modellix console. Reasonix reads provider secrets from its global .env, not from your shell profile or a project .env.macOS / Linux: ~/.reasonix/.env
Windows: %APPDATA%\reasonix\.env
Replace mdlx-xxxxxxxx with your Modellix API key. You can also paste the key in reasonix setup or desktop Settings → Model → Access; those flows write the same file.
Use a Modellix API key, not a DeepSeek, OpenAI, or other vendor platform key. Shell export MODELLIX_API_KEY=... is not a Reasonix provider-key fallback.
3

Add a Custom Provider

Edit the user config at ~/.reasonix/config.toml (Windows: %APPDATA%\reasonix\config.toml). Merge the [[providers]] table into an existing file; do not delete other providers.
Add or remove IDs in models as needed. Full catalog: Models & Pricing.Config resolution is flags → ./reasonix.toml → user config.toml. Keep personal API providers in the user file.
You do not need a separate Anthropic kind or base URL. Register anthropic/... and google/... IDs on the same Modellix kind = "openai" entry; traffic goes through OpenAI-compatible Chat Completions. Native Anthropic Messages is for the Anthropic SDK and Claude Code.
In Reasonix 1.24+, the desktop custom-provider form stores an exact API address as request_url (no path rewriting). If you use that form, enter https://llm.modellix.ai/v1/chat/completions. Manual base_url = "https://llm.modellix.ai/v1" remains valid for TOML edits.
4

Start a Session

From your project directory:
Switch models with /model. Prefer the explicit Reasonix ref modellix/openai/gpt-5.5 (provider name, then the Modellix ID). Headless:
reasonix setup can also add a custom OpenAI-compatible provider and write the key; afterwards, confirm base_url / request_url and models match the table above.

Troubleshooting