Summary
Add support for Kimi.com (https://www.kimi.com/) as an AI provider in addition to the current providers (OpenAI, Spark, ZAI, Builtin).
Context
Kimi is a Chinese AI assistant developed by Moonshot AI (月之暗面). It offers a subscription model and provides API access via https://api.moonshot.cn/v1
Requirements
- Add Kimi as a new provider in the provider configuration
- Support the subscription model (API key based authentication)
- Include at least one model (e.g., Kimi K2)
- Ensure custom routing works properly with the new provider
- Test on dev deployment
Implementation Notes
- API Base URL: https://api.moonshot.cn/v1
- SDK: @ai-sdk/openai-compatible (same as other providers)
- Environment variable for API key: KIMI_API_KEY
Testing
Please verify:
- Provider is recognized in opencode
- Custom routing works with the new provider
- Test on dev deployment before production release
This issue is for tracking the implementation of Kimi.com support.
Summary
Add support for Kimi.com (https://www.kimi.com/) as an AI provider in addition to the current providers (OpenAI, Spark, ZAI, Builtin).
Context
Kimi is a Chinese AI assistant developed by Moonshot AI (月之暗面). It offers a subscription model and provides API access via https://api.moonshot.cn/v1
Requirements
Implementation Notes
Testing
Please verify:
This issue is for tracking the implementation of Kimi.com support.