Repository navigation
Add Kimi K3.1 Pro on Tinfoil - #1472
Merged
Merged
Conversation
List kimi-k3-1-pro as a Pro chat model with vision and tools. K3 stays available. It follows Moonshot's guidance rather than K3's settings. Reasoning is mandatory with low, high and max, defaulting to max, and sampling stays at temperature 1.0 and top_p 0.95 with tools. Tinfoil's build also accepts none and medium, but Moonshot does not support them, so they are rejected. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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
Lists
kimi-k3-1-proas a Pro chat model with vision and tools, routed to Tinfoil. Kimi K3 stays available.K3.1 Pro follows Moonshot's guidance rather than K3's settings:
noneallowedmax)none,low,high,maxlow,high,maxtop_pTinfoil's deployment also accepts
noneandmedium. Moonshot does not support them, so OpenSecret returns a 400 that lists the valid levels. Maple Agent needs no change, because it hides thinking-off from the catalog'smandatoryfield.The context window is 262,144, which is what Tinfoil serves; Moonshot's own API offers 1M.
Not in this PR
kimi-k3, which Tinfoil lists as deprecated from November 12. Moving them is a separate follow-up.Validation
cargo fmt, strict Clippy and the unit suite passed.low,highandmax, streaming on Chat Completions and Responses, plus non-streaming on Chat Completions.none,medium,minimalandxhighreturn 400 on both APIs.developerrole, vision, tool loops, multi-turn reasoning replay, prompt caching and K3 regression all work.The Maple Chat and Agent apps were not tested by hand. That temporary SDK test is not committed.
Existing issue, unchanged here: Responses usage shows clients
0for cached and reasoning tokens on both Kimi models, while backend logs record real cached counts.🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.