POST /v1/chat/completions.
This page covers LLM text only (
https://llm.modellix.ai). For OpenClaw media skills and plugins (image, video, speech), see Plugin and Skill.Modellix model IDs are provider/name (for example openai/gpt-5.5). In OpenClaw, register that full string under your custom provider, then select modellix/<model-id> (for example modellix/openai/gpt-5.5). See Models & Pricing.Set Up OpenClaw
1
Get a Modellix API Key
Create a Modellix API key in the console and store it securely. You will set it as
MODELLIX_API_KEY in the OpenClaw config below.2
Add a Custom Provider
Create or update Replace
~/.openclaw/openclaw.json with a full config that defines the Modellix provider, models, and a primary agent model:mdlx-xxxxxxxx with your Modellix API key. Merge these fields into an existing config if you already use OpenClaw.Add or remove entries under
models.providers.modellix.models as needed. Full catalog: Models & Pricing.3
Set the Primary Model
The example above sets the primary model to
modellix/openai/gpt-5.5. To switch models, update both fields:agents.defaults.model.primaryβ OpenClaw ref:modellix/+ Modellix Model IDagents.defaults.modelsβ include the same ref so the agent can use it
You do not need a separate Anthropic base URL for OpenClaw. Register
anthropic/... and google/... IDs on the same Modellix custom provider; traffic goes through OpenAI-compatible Chat Completions on https://llm.modellix.ai/v1.4
Start OpenClaw
Start or restart the OpenClaw gateway so it loads the updated config:Optionally list models to confirm Modellix entries appear:
Troubleshooting
Related
- OpenClaw model providers β custom provider reference
- Models & Pricing β Model IDs and rates
- LLM API guide β protocols and curl examples
- OpenCode β another OpenAI-compatible custom provider setup
- Plugin Β· Skill β OpenClaw media capabilities