Dear Kimi Support Team,
I am experiencing a critical issue where the Kimi Code CLI client hangs indefinitely on the thinking state without ever dispatching the request to the API. I would appreciate your assistance in resolving this.
- Environment
OS: Linux Linux 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:53:05 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
Kimi Code CLI version: 0.31.1
Installation method: curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash
API Key origin: platform.kimi.ai (international version)
API Key prefix: sk-pBuZ…PhEMcd (full key available upon request)
Network: Residential IP from Russia (the same via VPN) - Problem Description
Originally, Kimi Code CLI worked correctly — I was able to log in via API key and execute requests. However, at some point during a request, the CLI froze completely and became unresponsive. Since that freeze, I have been completely unable to get the CLI to process any request.
Current behavior:
- login with “Kimi Platform (API key)” succeeds
- CLI launches and shows the interactive UI
- Upon entering any prompt (e.g. hello), the status bar shows kimi-k2.7-code thinking
- The interface remains “alive” (I can switch to /tasks), but no background tasks are running
- The request never completes — I have waited 10+ minutes with no response
The same via kimi web command.
$ curl -s https://api.moonshot.ai/v1/chat/completions -H “Authorization: Bearer sk-pB…PhEM” -H “Content-Type: application/json” -d ‘{
“model”: “kimi-k2.7-code”,
“messages”: [{“role”: “user”, “content”: “Hello”}],
“max_tokens”: 50
}’
{“id”:“chatcmpl-6a707ab6189dcb8149783321”,“object”:“chat.completion”,“created”:1785756342,“model”:“kimi-k2.7-code”,“choices”:[{“index”:0,“message”:{“role”:“assistant”,“content”:“Hello! How can I help you today?”,“reasoning_content”:“The user said “Hello”. I should greet them back and ask how I can help.”},“finish_reason”:“stop”}],“usage”:{“prompt_tokens”:8,“completion_tokens”:30,“total_tokens”:38,“completion_tokens_details”:{“reasoning_tokens”:19}}}
Please let me know if you need the full API key, additional system logs, or a screen recording of the behavior.
Thank you for your assistance.
Best regards,
Tull