Create or edit ~/.config/kilo/config.json:
The Base URL must end with /v1; otherwise, an error will occur.
Replace the following baseURL, apiKey, and models with the actual API Key information applied for in the NL system.
{
"$schema": "https://kilo.ai/config.json",
"provider": {
"ailink": {
"npm": "@ai-sdk/anthropic",
"name": "ailink",
"options": {
"baseURL": "https://ailink.nativex.com/v1",
"apiKey": "sk-xxx"
},
"models": {
"claude-opus-4.5": {
"name": "Claude Opus 4.5",
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 1024
}
}
},
"gemini-2.5-pro": {
"name": "Gemini 2.5 Pro",
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 1024
}
}
},
"gpt-5.3-chat": {
"name": "gpt-5.3-chat",
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 1024
}
}
}
}
}
},
"permission": {
"bash": "allow"
}
}
After restarting, enter /models, search for ailink, and select the model.
