Some AI services don’t have their own CLI tools. For convenience, you can use a unified CLI terminal, such as opencode.
Configuration Sample
Configuration location: ~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"model": "Kimi-K2.5",
"provider": {
"haihub": {
"api": "openai",
"options": {
"baseURL": "https://xxxx.cccc/v1",
"apiKey": "sk-"
},
"models": {
"Kimi-K2.5": {
"id": "Kimi-K2.5"
},
"gemma-4-31B-it": {
"id": "gemma-4-31B-it"
}
}
}
}
}

