Take a look at https://docs.openhands.dev/openhands/usage/llms/moonshot and notice the model recommendation for the moonshot provider is "moonshot/kimi-k2-0711-preview". If you pass this in to "Custom Model" on boot or on settings, liteLLM proxy throws "Not found the model kimi-k2-0711-preview or Permission denied".
Moonshot docs + curling https://api.moonshot.ai/v1/models gives
{"object":"list","data":[{"created":1784267407,"id":"kimi-k2.7-code-highspeed","object":"model","owned_by":"moonshot","permission":[{"created":0,"id":"","object":"","organization":"moonshot","group":"moonshot","is_blocking":false}],"root":"","parent":"","supports_image_in":true,"supports_video_in":true,"supports_reasoning":true,"context_length":262144},{"created":1784267407,"id":"kimi-k3","object":"model","owned_by":"moonshot","permission":[{"created":0,"id":"","object":"","organization":"staff","group":"staff","is_blocking":false}],"root":"","parent":"","supports_image_in":true,"supports_video_in":true,"supports_reasoning":true,"supports_dynamic_tools":true,"think_efforts":{"support":true,"valid_efforts":["max"],"default_effort":"max"},"reasoning_efforts":{"support":true,"valid_efforts":["max"],"default_effort":"max"},"supports_thinking_type":"only","context_length":1048576},{"created":1784267407,"id":"kimi-k2.6","object":"model","owned_by":"moonshot","permission":[{"created":0,"id":"","object":"","organization":"moonshot","group":"moonshot","is_blocking":false}],"root":"","parent":"","supports_image_in":true,"supports_video_in":true,"supports_reasoning":true,"context_length":262144},{"created":1784267407,"id":"kimi-k2.7-code","object":"model","owned_by":"moonshot","permission":[{"created":0,"id":"","object":"","organization":"moonshot","group":"moonshot","is_blocking":false}],"root":"","parent":"","supports_image_in":true,"supports_video_in":true,"supports_reasoning":true,"context_length":262144}]}
Need to modify docs to only include these models.
Proposed Solution
Update docs at https://docs.openhands.dev/openhands/usage/llms/moonshot to reflect actual set of models exposed by moonshot. Update recommended model to "kimi-k3" because best on benchmarks and then add a list of exposed models:
- kimi-k3
- kimi-k2.7-code
- kimi-k2.7-code-highspeed
- kimi-k2.6
Take a look at https://docs.openhands.dev/openhands/usage/llms/moonshot and notice the model recommendation for the moonshot provider is "moonshot/kimi-k2-0711-preview". If you pass this in to "Custom Model" on boot or on settings, liteLLM proxy throws "Not found the model kimi-k2-0711-preview or Permission denied".
Moonshot docs + curling https://api.moonshot.ai/v1/models gives
{"object":"list","data":[{"created":1784267407,"id":"kimi-k2.7-code-highspeed","object":"model","owned_by":"moonshot","permission":[{"created":0,"id":"","object":"","organization":"moonshot","group":"moonshot","is_blocking":false}],"root":"","parent":"","supports_image_in":true,"supports_video_in":true,"supports_reasoning":true,"context_length":262144},{"created":1784267407,"id":"kimi-k3","object":"model","owned_by":"moonshot","permission":[{"created":0,"id":"","object":"","organization":"staff","group":"staff","is_blocking":false}],"root":"","parent":"","supports_image_in":true,"supports_video_in":true,"supports_reasoning":true,"supports_dynamic_tools":true,"think_efforts":{"support":true,"valid_efforts":["max"],"default_effort":"max"},"reasoning_efforts":{"support":true,"valid_efforts":["max"],"default_effort":"max"},"supports_thinking_type":"only","context_length":1048576},{"created":1784267407,"id":"kimi-k2.6","object":"model","owned_by":"moonshot","permission":[{"created":0,"id":"","object":"","organization":"moonshot","group":"moonshot","is_blocking":false}],"root":"","parent":"","supports_image_in":true,"supports_video_in":true,"supports_reasoning":true,"context_length":262144},{"created":1784267407,"id":"kimi-k2.7-code","object":"model","owned_by":"moonshot","permission":[{"created":0,"id":"","object":"","organization":"moonshot","group":"moonshot","is_blocking":false}],"root":"","parent":"","supports_image_in":true,"supports_video_in":true,"supports_reasoning":true,"context_length":262144}]}
Need to modify docs to only include these models.
Proposed Solution
Update docs at https://docs.openhands.dev/openhands/usage/llms/moonshot to reflect actual set of models exposed by moonshot. Update recommended model to "kimi-k3" because best on benchmarks and then add a list of exposed models: