Skip to content

Add moonshot/kimi-k3 pricing - #35592

Closed
sacloudy wants to merge 1 commit into
BerriAI:litellm_internal_stagingfrom
sacloudy:add-kimi-k3-pricing
Closed

sacloudy wants to merge 1 commit into
BerriAI:litellm_internal_stagingfrom
sacloudy:add-kimi-k3-pricing

Conversation

@sacloudy

@sacloudy sacloudy commented Aug 2, 2026

Copy link
Copy Markdown

Summary

Adds the missing moonshot/kimi-k3 entry to model_prices_and_context_window.json. Kimi K3 is Moonshot AI's current flagship model (1M-token context window) and is not yet in the pricing table.

Pricing (per 1M tokens, from the official pricing page)

Input (cache miss) $3.00
Input (cache hit) $0.30
Output $15.00
Context window 1,048,576

Sources

Notes

  • No explicit cache-write price is published, so cache_creation_input_token_cost is omitted (consistent with the existing moonshot/kimi-k2.6 entry).
  • max_output_tokens is omitted because Moonshot's docs don't publish an output cap for K3.

Source: https://platform.kimi.ai/docs/pricing/chat-k3
- Input (cache miss): $3.00/1M tokens
- Input (cache hit): $0.30/1M tokens
- Output: $15.00/1M tokens
- Context window: 1M (1,048,576) tokens
- Capabilities per https://platform.kimi.ai/docs/api/models-overview:
  tool_choice, reasoning_effort, image/video input
@greptile-apps

greptile-apps Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Adds the missing Moonshot Kimi K3 model metadata so LiteLLM can resolve its pricing, context window, and supported capabilities.

  • Registers cache-hit, input, and output token prices.
  • Defines the 1,048,576-token context window.
  • Advertises reasoning, structured-response, tool-calling, image, and video capabilities.

Confidence Score: 5/5

The PR appears safe to merge because the new metadata is internally consistent and no actionable failure was identified.

The model key resolves through the existing Moonshot lookup path, the pricing fields use established per-token units, and the context and capability metadata align with the stated provider documentation and neighboring Kimi entries.

Important Files Changed

Filename Overview
model_prices_and_context_window.json Adds a well-formed Kimi K3 pricing and capability entry consistent with the documented values and neighboring Moonshot models.

Reviews (1): Last reviewed commit: "Add moonshot/kimi-k3 pricing" | Re-trigger Greptile

@codecov

codecov Bot commented Aug 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@devin-ai-integration

Copy link
Copy Markdown
Contributor

The base branch already contains this change (verified against the official provider docs); registry consolidation is tracked in the rolling PR #38990. Closing as superseded.

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.

1 participant