Skip to content

fix: Add Kimi K3 (moonshotai.kimi-k3) to amazon-bedrock provider - #7715

Closed
github-actions[bot] wants to merge 1 commit into
devfrom
issue-7714
Closed

github-actions[bot] wants to merge 1 commit into
devfrom
issue-7714

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Summary

Adds Kimi K3 (moonshotai.kimi-k3) to the amazon-bedrock provider, which was missing it while already carrying K2.5 and K2 Thinking. Three override-only entries inherit from models/moonshotai/kimi-k3.toml via base_model and 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", no name override (inherits Kimi K3)
    • [cost] input = 3.00, output = 15.00, cache_read = 0.30, cache_write = 3.75 (Global-equivalent, matching anthropic.claude-opus-5.toml precedent)
    • reasoning_options = [{ type = "effort", values = ["low", "high", "max"] }] (no toggle — always-on)
    • [modalities] input = ["text", "image"] (drops inherited video)
  • providers/amazon-bedrock/models/global.moonshotai.kimi-k3.toml (new):
    • name = "Kimi K3 (Global)"
    • Same cost / reasoning_options / [modalities] as in-Region entry
  • providers/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.125
    • Same reasoning_options / [modalities]
  • No changes to models/ — models/moonshotai/kimi-k3.toml already exists with correct lab facts (1,048,576 context, 131,072 output, open weights, tool_call, structured_output).

Evidence

  • Model IDs, GA date, context, modalities, pricing — Bedrock K3 model card:
    • Launch date 18th Sept 2026, context window 1M tokens.
    • Programmatic Access table lists moonshotai.kimi-k3, us.moonshotai.kimi-k3, global.moonshotai.kimi-k3.
    • Input modalities table: Text/Image yes, Video/Audio no; Output Text yes.
    • Pricing table (Standard, per 1M): Global $3.00 / $15.00 / $0.30 / $3.75; US $3.30 / $16.50 / $0.33 / $4.125; cache_write is the 30-min rate.
    • Capabilities: client-side tool calling yes, structured outputs yes, streaming yes, implicit + explicit caching (1,024 min, ≥30 min TTL).
    • Usage Considerations: "Video inputs are not supported — Amazon Bedrock does not support attaching video inputs to Kimi K3 requests."
  • GA announcement — AWS What's New 2026-09-18: confirms K3 GA on Bedrock 18 Sept 2026, 1M context, 2.8T params.
  • Moonshot model list — Bedrock Moonshot AI page: now shows K3, K2.5, K2 Thinking.
  • Reasoning always-on + effort set — first-party lab docs:
    • Thinking Models: "kimi-k3: reasoning and Preserved Thinking are always on … Configure its reasoning effort with reasoning_effort "low" / "high" / "max" (default "max")", no thinking parameter.
    • Reasoning Effort: "Kimi K3 always reasons … supports "low", "high", and "max", with "max" as default"; "remove the K2.x thinking configuration".
    • Peer relay providers/alibaba/models/kimi-k3.toml already encodes this as effort-only with comment "Thinking is always on".
  • Lab base facts — models/moonshotai/kimi-k3.toml (1,048,576 context, open_weights/tool_call/structured_output true) consistent with card; no [limit] override needed.

Validation

  • Verified pricing, IDs, modalities, GA date, and reasoning behavior via webfetch of the Bedrock K3 model card, AWS announcement, Moonshot model list, and platform.kimi.ai thinking/reasoning-effort docs. Compared against sibling Bedrock entries (anthropic.claude-opus-5.toml, moonshotai.kimi-k2.5.toml, deepseek.r1-v1:0.toml) and K3 relays (alibaba, openrouter, moonshotai).
  • Did not run 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 the toggle + effort in the older providers/moonshotai/models/kimi-k3.toml / OpenRouter peer. Bedrock card confirms reasoning content but does not document additionalModelRequestFields shape 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.
  • In-Region file included despite the card Regional Availability table showing In-Region ✗ everywhere, following deepseek.r1-v1:0.toml precedent (also ✗ in-region yet has both base + us. files, and sample code invokes the base ID) and the card Programmatic Access listing moonshotai.kimi-k3 as Model ID. If maintainers consider base ID non-invocable, drop moonshotai.kimi-k3.toml and keep only us./global..
  • Intentionally inherited (not overridden): [limit] output (Bedrock card states no max output; base says 131,072 — needs live check), temperature = false (K2.5 Bedrock was live-verified true — needs re-check for K3), no interleaved (K2.5 Bedrock has true; omitted as unverified for K3).

Closes #7714

Automated by the issue fixer: https://github.com/anomalyco/models.dev/actions/runs/35693356240

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Kimi K3 (moonshotai.kimi-k3) to amazon-bedrock provider

1 participant