I’m trying to configure the Moonshot (Kimi) API as an OpenAI-compatible provider in DEVONthink 4. Moonshot’s API is fully OpenAI-compatible and works perfectly via curl:
curl -s https://api.moonshot.cn/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $API_KEY" \
-d '{"model":"kimi-k2.5","messages":[{"role":"user","content":"Hello"}]}'
In DEVONthink 4 Settings > AI > Chat, I have configured:
-
Provider: OpenAI (Compatible)
-
API Key: (valid Moonshot API key, confirmed working via curl)
-
API URL:
https://api.moonshot.cn/v1or https://api.moonshot.cn/v1/chat/completions
However, the Model dropdown is completely greyed out — I cannot select from a list or type a model name manually. Clicking the refresh button next to it does not populate the list either.
I suspect DEVONthink is querying the /v1/models endpoint to retrieve the model list, and either the response format from Moonshot differs slightly from what DEVONthink expects, or the request is failing silently (possibly a network/timeout issue since Moonshot’s servers are in China).
Based on a recent thread about Cerebras, I understand that DEVONthink may expect the full chat completions URL rather than the base URL. I have also tried https://api.moonshot.cn/v1/chat/completions and the international endpoint https://api.moonshot.ai/v1/chat/completions, but the Model field remains greyed out in all cases.
Could you advise:
-
Is there a way to manually enter a model name (e.g.
kimi-k2.5) when the dropdown cannot be populated? -
What exact format does DEVONthink expect from the
/v1/modelsresponse to populate the dropdown? This would help determine whether it’s a Moonshot-side compatibility issue.
Moonshot/Kimi is one of the most widely used AI services in the Chinese-speaking market and is fully OpenAI-API-compatible. Supporting it would benefit a significant number of DEVONthink users.
Thank you.
