Provider ID, Display name and Provider API in Kilo Code: what to fill in

Coding with AIKilo Code·· 34 views· 3 min read

The Custom provider window in the Kilo Code extension has few fields, but their names do not say much. Here is each one, with what to write for All in One AI.

Field by field

Field What to write Why
Provider ID api, or another short name It is the provider's identifier, and it must be unique. The models get names like api/moonshotai/kimi-k2.7-code.
Display name MozOut The name you see in the lists. It is only a label.
Provider API OpenAI Compatible Our API speaks the Chat Completions format at /v1.
Base URL https://api.mozout.com/v1 Kilo Code adds the rest. It also accepts the full address, ending in /v1/chat/completions.
API key Your sandbox_ or prod_ key Kilo Code says it is optional, for providers that authenticate with headers. With us it is required.
Models Choose from the list Kilo Code reads the list from our API. See Kilo Code reads our model list.
Headers Leave empty They are not needed.

At the end, click Submit.

Provider API: why OpenAI Compatible

Kilo Code has three formats. OpenAI Compatible is for Chat Completions addresses, and it is what our documentation gives for Kilo Code. The Kilo Code documentation presents OpenAI Responses for OpenAI and xAI models, and Anthropic Messages for Anthropic and MiniMax models. For All in One AI, keep OpenAI Compatible.

The most common mistakes

Mistake What happens
Base URL without /v1 The API answers 404 not_found.
Key copied with a space, or incomplete The API answers 401 and the model list does not load.
Key without ai:write The list shows, but the chat answers 403 insufficient_scope.
An image, video or voice model chosen The API answers 404 model_not_found.

Token limits and tools

The window has no fields for the context, the output or tools. According to the Kilo Code documentation, these are set in the kilo.jsonc file. See context and output limits in kilo.jsonc and models that accept tools.

Want the MozOut provider in Kilo Code? Visit the Coding with AI page.

See Coding with AI

SEE ALSO

Kilo Code with All in One AI: the custom provider in VS Code and kilo.jsonc in the CLI

Kilo Code reads our model list: choosing models without typing ids

Kilo Code errors: 401, model not found and the /v1 address

Context and output limits in kilo.jsonc

Coding with AI in All in One AI

RECOMMENDED PRODUCT

Web hosting with cPanel

Domain and SSL included, daily backups and the panel you already know. from $6.60/mo (3-year plan, with coupon)

See plans
Was this answer helpful? Your answer helps us improve this article.