OpenAI (Compatible): Model dropdown greyed out when using Moonshot/Kimi API Category: DEVONthink > Artificial Intelligence

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:

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:

  1. Is there a way to manually enter a model name (e.g. kimi-k2.5) when the dropdown cannot be populated?

  2. What exact format does DEVONthink expect from the /v1/models response 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.

  • Is there a way to manually enter a model name (e.g. kimi-k2.5) when the dropdown cannot be populated?

No.

  • What exact format does DEVONthink expect from the /v1/models response to populate the dropdown? This would help determine whether it’s a Moonshot-side compatibility issue.

It doesn’t respond to the v1/models endpoint.

As noted on the thread you linked (and others), we aren’t adding specific support for other AI platforms. Supporting additional specific services requires development and support time but also typically incurs costs as API keys usually require billing. Having an OpenAI-compatible endpoint is what we offer to expand the possibilities. Also, Kimi models may be available via OpenRouter (currently Kimi 2.5 is).

You could check the ~/Library/Application Support/DEVONthink/Chat.log file to see what messages are logged.

In the settings the expected URL is the one of the completions endpoint (in this case most likely https://api.moonshot.cn/v1/chat/completions) but internally DEVONthink loads the models using /v1/models endpoint and then tries to automatically detect the available capabilities. Depending on the server and the number of models this might require some time.

1 Like

"I have successfully enabled the model selection, but encountering an issue where it returns ‘invalid temperature: only 1 is allowed for this model’ during execution."

The server doesn’t seem to be fully OpenAI compatible, it should IMHO just ignore the temperature if it’s not fully supported.