Kilo Code loads the model list from
/v1/models. The list includes image, audio and embedding models, so search for the chat model you want, such as claude-sonnet-5.
Set the context limit of each model you use. Without it Kilo Code assumes 0 and cannot manage the context. Take the value from context_window in /v1/models.
The same provider in a config file, ~/.config/kilo/kilo.json: