Skip to main content
Configure Junie CLI by JetBrains to call the Modellix LLM gateway. Junie does not ship a built-in Modellix BYOK provider, so add a custom LLM profile 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 the profile id field. Junie requires baseUrl to be the full Chat Completions URL (including /v1/chat/completions), not a host-only or /v1 base. See Models & Pricing.

Set Up Junie

1

Get a Modellix API Key

Create a Modellix API key in the console and export it so the profile can resolve ${MODELLIX_API_KEY}:
Add the same line to your shell profile (for example ~/.zshrc) for persistent use.
2

Add a Custom Model Profile

Create ~/.junie/models/modellix.json (or .junie/models/modellix.json in a project):
The filename without .json is the profile ID (modellix). Junie discovers profiles from $JUNIE_HOME/models/*.json (default ~/.junie/models/) and project-level .junie/models/*.json.
Use the full Chat Completions URL. A host-only value or https://llm.modellix.ai/v1 without /chat/completions will fail. Do not point baseUrl at the media API host (https://api.modellix.ai).
Optionally add a cheaper helper model for Junie’s internal tasks:
Change id (and fasterModel.id) to any Modellix catalog ID. Full list: Models & Pricing.
3

Select the Modellix Profile

Start Junie with the custom profile:
Custom models use the custom: prefix plus the profile filename (without .json). In the interactive TUI, pick the Modellix profile from the model list or use /model.
Do not use built-in BYOK flags such as --openrouter-api-key or JUNIE_OPENAI_API_KEY for Modellix. Those route to vendor providers, not your custom profile.
4

Start Junie

From your project directory:
For a one-shot (headless) task:

Troubleshooting