models.json, pointed 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). Enter that full string as the Model Name / id. In the UI, set Endpoint to https://llm.modellix.ai/v1. When editing models.json by hand, set url to the full Chat Completions path (.../v1/chat/completions). See Models & Pricing.Set Up CodeBuddy
1
Get a Modellix API Key
Create a Modellix API key in the console and export it for You can also paste the key directly into the CodeBuddy UI or config files.
models.json env substitution:2
Add a Custom Model in the UI
In CodeBuddy, open the model picker (for example Default under the input box), scroll to the bottom, and choose Configure custom models → Add Model.Set Provider to Custom, then fill in:
Save the model. Include
/v1 in the Endpoint so paths resolve to /v1/chat/completions.3
Persist with models.json
CodeBuddy also stores custom models in a local file. Edit this when the UI is inconvenient, or to share a project-level config.
- User scope (macOS / Linux):
~/.codebuddy/models.json - User scope (Windows):
%USERPROFILE%\.codebuddy\models.json - Project scope (higher priority):
<project>/.codebuddy/models.json
After saving, restart CodeBuddy or reopen the model picker so the list refreshes.
4
Select and Start
Open the model picker, choose your model under Custom Models, and send a short test message.CodeBuddy may display custom models as
name:name. That is normal if the selected model responds correctly.5
Optional: CodeBuddy CLI
The CLI package is CodeBuddy Code (Or persist in
codebuddy). It uses a separate Anthropic-compatible entry point from the desktop custom-model OpenAI path.~/.codebuddy/settings.json:Troubleshooting
Related
- CodeBuddy models.json — custom model schema
- Models & Pricing — Model IDs and rates
- LLM API guide — protocols and curl examples
- Junie — another client that uses a full Chat Completions URL
- Claude Code — Anthropic-style base URL without
/v1(similar to CodeBuddy CLI)