How to configure kimi-k2.5 in zed editor

Hello can you help me? I like kimi and i need to configure this in Zed Editor, actually i use Kimi-k2-thinking but if is possible i like to change to kimi-k2.5.

Can you connect kimi-k2.5 in Zed editor? Can you help me?

thanks a lot.

To use kimi-k2.5 in Zed, you need to set the default model in your Kimi CLI config, then configure Zed to connect via ACP:

1. Set default model in ~/.kimi/config.toml:
(See Config Files)

default_model = "kimi-k2-5"
default_thinking = true

2. Configure Zed in ~/.config/zed/settings.json:
(See Using in Zed)

{
  "agent_servers": {
    "Kimi Code CLI": {
      "type": "custom",
      "command": "kimi",
      "args": ["acp"],
      "env": {}
    }
  }
}

Zed will use whatever model is set as default_model in your TOML config.

I change this but i can change to 2.5 i don’t know how i can activate this. Now i’m using k2-thinking but i like to use k2.5 i use IA for do this and know any other option but i always have the same message: error sending request for url (https://api.moonshot.api/chat/completions): client error (Connect): dns error: failed to lookup address information: nodename nor servname provided, or not known

And when i configure this i puts this data
I create some one with different data, for example model kimi-k2.5 or kimi-k2-5…. but always i have same answer ERROR….

Hello, first of all, the domain name is api.moonshot.ai instead of api.moonshot.api.

And the full chat completion request url could be https://api.moonshot.ai/v1/chat/completions. If you are using OpenAI compatible SDKs, the BASE_URL may consider to be https://api.moonshot.ai/v1.

Secondly, you may use list models to check the models avaiable.

Please visit this document for more information: https://platform.moonshot.ai/docs/api/chat#list-models

Also, I’d like you to know this. If you’re mainly using stuff like zed editor, you might be interested in our Kimi Code Membership.

It offers a monthly plan that includes a bunch of tokens and the model we’re currently recommending for these kinds of scenarios (kimi-for-coding). Also, keep in mind that you’ll need a special key and endpoint.

Check out Kimi Code - Next-Gen AI Code Agent | Automated Programming & CLI for more details.

thanks a lot!!! Now it’s working!!! thanks!!!

1 Like