Okapi Okapi

Moonshot AI kimi-k2 model retirement

Stopped workingSubscribe to Moonshot AIShare

Moonshot AI retired model kimi-k2 on May 25, 2026. Calls specifying model kimi-k2 fail since that date. Any request using this identifier no longer receives responses.


The error you get

What Moonshot AI answers a call to kimi-k2 once the model is gone, as recorded from real responses:

HTTP 404
{"error":{"message":"Not found the model kimi-k2 or Permission denied","type":"resource_not_found_error"}}

What to use instead of kimi-k2

Move to kimi-k3.1-pro, as recommended by Moonshot AI.


Facts

API
Moonshot AI api.moonshot.ai
Model
kimi-k2
Released
July 11, 2025 (models.dev)
Kind
Model retirement
Takes effect
May 25, 2026
Calls after that day
Fail
Source
Deprecations page
Last updated
Verified
, against Moonshot AI's own pages

Questions

When does kimi-k2 shut down?

Calls to the model kimi-k2 on Moonshot AI stopped working on May 25, 2026.

What happens to calls after May 25, 2026?

They have failed since May 25, 2026.

What error does kimi-k2 return once it is shut down?

Moonshot AI answers HTTP 404: "Not found the model kimi-k2 or Permission denied". Send another model to fix it.

When was kimi-k2 released?

kimi-k2 was released on July 11, 2025, according to models.dev.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


kimi-k2 on other APIs 3

  1. Together AI kimi-k2Model retirement Redirected
  2. No date OpenCode kimi-k2Model retirement Deprecated, no date
  3. No date iFlow kimi-k2Model retirement Deprecated, no date

More from Moonshot AI 10

  1. models kimi-k2-*Model retirement Stopped working
  2. moonshot-v1Model retirement Stopped working
  3. models moonshot-v1-*Model retirement Stopped working
  4. No date kimi-k2-0711-previewModel retirement Deprecated, no date
  5. No date kimi-k2-0905-previewModel retirement Deprecated, no date
  6. No date kimi-k2-thinkingModel retirement Deprecated, no date
  7. No date kimi-k2-thinking-turboModel retirement Deprecated, no date
  8. No date kimi-k2-turbo-previewModel retirement Deprecated, no date
  9. No date kimi-k2.5Model retirement Deprecated, no date
  10. No date kimi-k2.6Model retirement Deprecated, no date

You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

Add to GitHub

Get notifications

Subscribe to Moonshot AI

Hear about each breaking change Moonshot AI announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Moonshot AI

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.