base_url of https://llm.modellix.ai/v1 to the built-in LLM class — you do not need a custom BaseLLM subclass for Modellix.
This page covers LLM text only (
https://llm.modellix.ai).Modellix model IDs are provider/name (for example openai/gpt-5.5). Set that full string as model. See Models & Pricing.Custom LLM (BaseLLM) is for non-OpenAI protocols or special auth. Prefer the LLM + base_url path below for Modellix.Set Up CrewAI
1
Install CrewAI
[openai] extra covers the native OpenAI-compatible client path used with custom_openai=True.2
Set Credentials
3
Create an LLM Pointed at Modellix
Recommended: construct Change
LLM with an explicit base_url and custom_openai=True so CrewAI uses the native OpenAI SDK against your gateway:model to any catalog ID (anthropic/claude-sonnet-5, google/gemini-3.6-flash, and so on). Traffic still uses Chat Completions on https://llm.modellix.ai/v1.4
Optional: Environment-Only Configuration
base_url, then api_base, then OPENAI_BASE_URL, then legacy OPENAI_API_BASE.5
Optional: Multi-Agent Crew
Share one Modellix
LLM across agents, or give each agent a different catalog ID on the same gateway:Troubleshooting
Related
- CrewAI — Connect to any LLM —
LLM,base_url, OpenAI-compatible setup - CrewAI — Custom LLM —
BaseLLMfor non-standard protocols - LiteLLM removal / custom_openai — native OpenAI-compatible routing
- OpenAI SDK — same
/v1gateway without CrewAI - Models & Pricing — Model IDs and rates
- LLM API guide — protocols and curl examples