feat: add Kimi K2.5 and K2 model support for Moonshot provider#223
Closed
fpolica91 wants to merge 4 commits intoRightNow-AI:mainfrom
Closed
feat: add Kimi K2.5 and K2 model support for Moonshot provider#223fpolica91 wants to merge 4 commits intoRightNow-AI:mainfrom
fpolica91 wants to merge 4 commits intoRightNow-AI:mainfrom
Conversation
fpolica91
commented
Mar 2, 2026
- Add kimi-k2.5 and kimi-k2 to model catalog with 256K context, vision support, and updated pricing ($0.60/$3.00 per M tokens)
- Update aliases: "kimi" now resolves to kimi-k2.5 (was moonshot-v1-128k)
- Add kimi-k2-thinking alias for kimi-k2
- Add Kimi K2 specific cost metering in metering engine
- Fix temperature for Kimi K2 models (API requires temperature=1.0) in both streaming and non-streaming code paths
support, and updated pricing (/bin/zsh.60/.00 per M tokens)
1dff8a4 to
0378da8
Compare
egargale
pushed a commit
to egargale/openfang
that referenced
this pull request
Mar 5, 2026
|
in model_catalog.rs we should replace : pub const MOONSHOT_BASE_URL: &str = "https://api.moonshot.cn/v1";by pub const MOONSHOT_BASE_URL: &str = "https://api.moonshot.ai/v1"; |
Member
|
Fixed in d237ecf. Added Kimi K2 and K2.5 model entries with aliases kimi, kimi-k2, kimi-k2.5. |
you should update the url like this #223 (comment) thx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.