Add Kimi for Code provider support#480
Open
skeltavik wants to merge 2 commits intoRightNow-AI:mainfrom
Open
Conversation
Adds support for the Kimi for Code API endpoint (https://api.kimi.com/coding/v1), an Anthropic-compatible coding agent API with 262K context window. Changes: - Add KIMI_CODING_BASE_URL constant in openfang-types - Add kimi_coding provider with Anthropic driver compatibility - Add kimi-for-coding model entry (262K context, 32K output) - Update tests and provider counts API Key: KIMI_API_KEY Usage: provider = "kimi_coding", model = "kimi-for-coding"
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.
Summary
Adds support for the Kimi for Code API endpoint (https://api.kimi.com/coding/v1), an Anthropic-compatible coding agent API with 262K context window.
Changes
Testing
Security
API Key
Environment variable: KIMI_API_KEY
Usage
Note
Kimi for Code uses a subscription-based "Coding Plan" (not per-token pricing) and is only available for authorized coding agents like Claude Code, Roo Code, etc.