Repository navigation
fix: Add Kimi K3 (moonshotai.kimi-k3) to amazon-bedrock provider - #7715
Closed
github-actions[bot] wants to merge 1 commit into
Closed
github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
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 Kimi K3 (
moonshotai.kimi-k3) to theamazon-bedrockprovider, which was missing it while already carrying K2.5 and K2 Thinking. Three override-only entries inherit frommodels/moonshotai/kimi-k3.tomlviabase_modeland add only Bedrock-specific pricing, reasoning controls, and the video-input deviation.Changes
providers/amazon-bedrock/models/moonshotai.kimi-k3.toml(new, in-Region ID):base_model = "moonshotai/kimi-k3", nonameoverride (inheritsKimi K3)[cost]input = 3.00,output = 15.00,cache_read = 0.30,cache_write = 3.75(Global-equivalent, matchinganthropic.claude-opus-5.tomlprecedent)reasoning_options = [{ type = "effort", values = ["low", "high", "max"] }](no toggle — always-on)[modalities] input = ["text", "image"](drops inheritedvideo)providers/amazon-bedrock/models/global.moonshotai.kimi-k3.toml(new):name = "Kimi K3 (Global)"cost/reasoning_options/[modalities]as in-Region entryproviders/amazon-bedrock/models/us.moonshotai.kimi-k3.toml(new):name = "Kimi K3 (US)"[cost]input = 3.30,output = 16.50,cache_read = 0.33,cache_write = 4.125reasoning_options/[modalities]models/—models/moonshotai/kimi-k3.tomlalready exists with correct lab facts (1,048,576 context, 131,072 output, open weights, tool_call, structured_output).Evidence
18th Sept 2026, context window1M tokens.moonshotai.kimi-k3,us.moonshotai.kimi-k3,global.moonshotai.kimi-k3.$3.00 / $15.00 / $0.30 / $3.75; US$3.30 / $16.50 / $0.33 / $4.125; cache_write is the 30-min rate.kimi-k3: reasoning and Preserved Thinking are always on … Configure its reasoning effort withreasoning_effort"low" / "high" / "max"(default"max")", nothinkingparameter."low","high", and"max", with"max"as default"; "remove the K2.xthinkingconfiguration".providers/alibaba/models/kimi-k3.tomlalready encodes this as effort-only with comment "Thinking is always on".models/moonshotai/kimi-k3.toml(1,048,576 context, open_weights/tool_call/structured_output true) consistent with card; no[limit]override needed.Validation
anthropic.claude-opus-5.toml,moonshotai.kimi-k2.5.toml,deepseek.r1-v1:0.toml) and K3 relays (alibaba,openrouter,moonshotai).bun validate(no shell in this environment) and did not perform live Bedrock API tests.Review notes
reasoning_options: used effort-only["low", "high", "max"]per current lab docs + Alibaba peer, not thetoggle+ effort in the olderproviders/moonshotai/models/kimi-k3.toml/ OpenRouter peer. Bedrock card confirms reasoning content but does not documentadditionalModelRequestFieldsshape for K3; effort wire (reasoning_effort) is inferred from lab Chat Completions API which Bedrock recommends for K3. Needs live Converse/Chat Completions verification. Existing lab provider file toggle discrepancy left out of scope.deepseek.r1-v1:0.tomlprecedent (also ✗ in-region yet has both base +us.files, and sample code invokes the base ID) and the card Programmatic Access listingmoonshotai.kimi-k3as Model ID. If maintainers consider base ID non-invocable, dropmoonshotai.kimi-k3.tomland keep onlyus./global..[limit]output (Bedrock card states no max output; base says 131,072 — needs live check),temperature = false(K2.5 Bedrock was live-verifiedtrue— needs re-check for K3), nointerleaved(K2.5 Bedrock hastrue; omitted as unverified for K3).Closes #7714
Automated by the issue fixer: https://github.com/anomalyco/models.dev/actions/runs/35693356240