# kimi-k2

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

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 Moonshot AI returns once kimi-k2 is gone

HTTP 404

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

## What to use instead

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

- 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
- Calls it hits: `model kimi-k2`
- Source: [Deprecations page](https://platform.kimi.ai/docs/models.md)
- Verified: November 6, 2026, against Moonshot AI's own pages
- Page: https://www.okapi.bot/models/moonshot-ai/kimi-k2/

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
