models.json file. Nusabase Chat Completions can be used as an OpenAI-compatible model endpoint.
When To Use This
- You want a desktop or editor-based agent coding assistant.
- You need
models.jsonto pin team model choices. - You want to configure lite or reasoning model relationships for CodeBuddy.
Prerequisites
- WorkBuddy/CodeBuddy is installed and signed in.
- You have a Nusabase API key:
sk-.... - Your machine can reach
https://api.nusabase.io. - The example model
qwen3.5-flashappears in the current pricing docs. Use/v1/modelsas the source of truth.
Config File Location
User-level config:availableModels overrides the user-level list instead of merging with it. Do not commit project configs that contain a real API key.
Write models.json
The CodeBuddy official example expectsapiKey to contain the actual key value, not an environment variable name.
Restart And Select Model
- Quit WorkBuddy/CodeBuddy completely.
- Reopen the app so it reads the new
models.json. - Select
Nusabase qwen3.5-flashin the model picker.
Verify API
Troubleshooting
Use Models and Pricing as the source of truth for model names, context length, and price.