feat(kimi): add Kimi K3 256K (kimi-k3-256k) to the model catalog - #30
Open
robertn702 wants to merge 1 commit into
Open
feat(kimi): add Kimi K3 256K (kimi-k3-256k) to the model catalog#30robertn702 wants to merge 1 commit into
robertn702 wants to merge 1 commit into
Conversation
Kimi announced `k3-256k`, the 256K-context variant of Kimi K3. It delivers the same results within 256K context at about half the quota consumption of `k3` (1M), and is the only K3 model available at the Moderato tier. The entry mirrors `kimi-k3` with context_length 262144 and notes that the variant accepts image input only (no video), per the upstream announcement. Refs router-for-me/CLIProxyAPI#4612
kimi-k3-256k) model entry to models.json
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
Kimi announced
k3-256k, the 256K-context variant of Kimi K3. Per the upstream announcement,k3(1M) consumes about twice as much quota ask3-256kwhile delivering the same results within 256K of context, andk3-256kis the only K3 model available at the Moderato tier.This adds the entry to the
kimisection ofmodels.json, mirroringkimi-k3:context_length: 262144(256K, per the upstream spec)max_completion_tokens: 65536low/high/maxwithzero_allowed: falseThe entry is identical to the one in router-for-me/CLIProxyAPI#4617.
Why this repo needs the change too
CLIProxyAPI#4617 adds
kimi-k3-256kto the embedded catalog (internal/registry/models/models.json). That alone does not reach running instances: unless started with--local-model, CLIProxyAPI fetches this repo'smodels.jsonat startup and every 3h, and the fetch replaces the per-provider list rather than merging into it.Verified locally against CLIProxyAPI
main(a80e808) — with the row added to the embedded catalog only, a normal start logs:and
kimi-k3-256kdisappears from/v1/models. With--local-modelit persists. So this repo is the path that actually reaches users.Verification
No executor change is required.
normalizeKimiUpstreamModelstrips thekimi-prefix, sokimi-k3-256k→k3-256kupstream. Confirmed end-to-end against a live Kimi subscription with the catalog row in place:The response echoes the upstream ID
k3-256k, confirming the request reached the 256K model and notk3.Refs router-for-me/CLIProxyAPI#4612, router-for-me/CLIProxyAPI#4617