Before you start
- Create a key on the API Keys page and add funds to your API balance.
- Choose a text model with Function calling and streaming on the Models page. Copy its exact model ID.
- Use the connection values below. Replace key placeholders locally; keep secrets out of project files and source control.
Replace
your-model-id throughout the examples with the exact ID of a text model that supports function calling and streaming. Check the Models page for current availability and limits.Configure Kilo Code
In VS Code’s Extensions view, find Kilo Code. Its current installation guide uses Install Pre-Release Version from the Install dropdown. Open Kilo’s panel and a workspace folder.Settings UI
- Open the gear icon, select the Providers tab, and choose Custom provider.
- Use a unique local ID such as
nomaskand display name NoMask. - Set Provider API to OpenAI Compatible, Base URL to
https://nomask.ai/api/v1, and API key to your NoMask key. - Use Fetch models, or add
your-model-idmanually. Submit the connection and choose the model in Kilo’s model picker.
/chat/completions. NoMask does not expose /responses or /messages.
Global config alternative
Instead of the UI setup, open Global Config in Kilo’s Settings header and merge this supportedkilo.jsonc configuration with your existing file. The standard location is ~/.config/kilo/kilo.jsonc; on Windows, use your user folder’s .config/kilo/kilo.jsonc.
nomask-model sends your-model-id through its id field. This preserves the API model ID even when it contains a slash. The provider key is Kilo’s documented compatibility configuration schema.
Before using this file, add the selected model’s actual
limit.context and limit.output from Models. No token limits are guessed when the catalog is unavailable.NOMASK_API_KEY in the environment inherited by the editor, then restart the editor. Kilo resolves {env:...} credentials in trusted global config, not an ordinary repository config. Keep the actual key out of project files.
The snippet is a configuration file to merge, not a complete exported settings backup. Save the config, select openai-compatible/nomask-model, and confirm the active model before testing.
Test chat and tools
Open a small test folder in the editor and add a file namedhello.txt containing Hello. Start a new task with the NoMask connection selected.
- Ask for a short text reply first:
Reply with the word ready. - Ask
Read hello.txt and tell me what it contains.Approve the file-read action if prompted. - Choose Code mode, then ask
Change hello.txt to say Hello from NoMask. Do not change any other file. - Review the proposed diff, approve it, and check the saved file. A reply alone does not verify that file editing works.
tool_call: true for a model that already supports function calling; it cannot add tool support to a model.
Troubleshooting
- 401: check that your key is active and available to the process running the tool. Restart the tool after changing environment variables.
- 402: add funds to your API balance or reduce the requested output.
- 404: check the exact model ID and base URL. Direct connections use Chat Completions, not Responses or Anthropic Messages.
- 429: wait for
Retry-After. API keys share account limits; creating another key does not reset usage. Check the key’s monthly spending cap too. - Context or tool errors: start a shorter task, lower the output limit and confirm the model supports function calling. A plain text reply alone does not confirm file-editing tools work.