Skip to content

Migration · Intermediate

Kimi K2.5 is discontinued. What should you use instead?

Moonshot AI discontinued Kimi K2.5 on 31 August 2026 and no longer maintains or supports it. For most workloads the replacement is Kimi K2.6, with the same 262,144-token context window and the same request format apart from the model name. Moonshot itself recommends Kimi K3, which costs considerably more.

By

Last updated

Published

The short version, in 5 steps

  1. Find every call site. Search your codebase for the string kimi-k2.5 and for any configuration or environment variable holding the model name.
  2. Pick the replacement. Choose Kimi K2.6 for general-purpose work, Kimi K2.7 Code for coding tasks, or Kimi K3 if you need more than a 262,144-token context window.
  3. Change the model identifier. Replace the model string. The endpoint and request schema stay the same between K2.5 and K2.6.
  4. Re-check your cost model. K2.6 costs more per token than K2.5 did on every tier. Recalculate your monthly spend before the switch rather than after the invoice.
  5. Test long-context and vision paths. Run your longest realistic prompt and any image or video input through the new model before shipping, since behaviour differs even where the API does not.

Why was Kimi K2.5 retired?

Moonshot AI discontinued its Kimi K2.5 model on 31 August 2026 without public comment on why. On the same day Moonshot discontinued the moonshot-v1 models and most likely retired Kimi K2.5 to focus on Kimi K3, which it launched on 16 July 2026.

Which model should replace Kimi K2.5?

For most use cases use Kimi K2.6. It's the closest drop-in replacement for Kimi K2.5 with the same context window (262,144 tokens), supports text, image and video input and Moonshot hasn't changed the format of requests you send it.

You might want to use another model if:

  • Your use case would benefit from Kimi K3's increased capabilities and you're happy to pay for them. Output tokens for Kimi K3 cost 3.75× those for Kimi K2.6.

Kimi K2.6 always uses a temperature of 1.0 (0.6 when thinking mode is off) and top_p of 0.95. Sending requests with different settings result in errors.

If you rely on Move to Why
General-purpose chat and agents Kimi K2.6 Same 262,144-token window, same multimodal inputs, no request-format change
Short mechanical tasks Kimi K2.6 The only current model that can switch thinking off
Coding workloads Kimi K2.7 Code Coding-specialised, priced identically to K2.6 on cache-miss input and output. Always thinks
Context beyond 262,144 tokens, or structured output Kimi K3 The only Kimi model with a 1,048,576-token window
Lowest possible latency Kimi K2.7 Code HighSpeed About 180 tokens per second, at exactly double the price

Which Kimi models has Moonshot AI retired?

Moonshot AI regularly retires Kimi models, typically within months not years of release. So far it's kept to its deprecation schedule. Kimi K2.5 was released in January 2026 and superseded by Kimi K2.6 in April and Kimi K2.7 Code shortly after. Its discontinuation was the second retirement in around three months.

What does the switch involve in code?

In most cases you can migrate to Kimi K2.6 by changing the name of the model you send requests to. Both Kimi K2.5 and K2.6 are accessed using Moonshot AI's Chat Completions API and take the same request parameters.

  response = client.chat.completions.create(
-     model="kimi-k2.5",
+     model="kimi-k2.6",
      messages=messages,
  )

What should you test before you switch?

Test thoroughly before relying on responses from Kimi K2.6. Prompts you've already written should still work but, because it's a different model to Kimi K2.5, its responses might surprise you. Pay particular attention to prompts you wrote to account for particular formatting, reasoning styles, levels of detail or refusals from Kimi K2.5.

Unless you set max_tokens in requests to Kimi K2.6 the maximum length of its responses will be 32,768 tokens.

If you used the tool_choice parameter to force tool use with Kimi K2.5 you'll either need to remove this or disable thinking mode for these requests. Otherwise your requests will result in errors.

We recommend using real examples of prompts you've sent Kimi K2.5 (ideally using the same settings you use in production) to test your integration with Kimi K2.6. If you have an eval suite it's a good idea to rerun it too, and if not this is a good forcing function to create at least a basic one!

Check Why it can change How to run it
Your longest real prompt K2.6 stops at 32,768 output tokens unless you raise max_tokens Send it and confirm the whole answer arrives inside the 262,144-token window
Formatted or JSON output A different model follows format instructions differently Validate a sample of responses with the parser you use in production
Image and video input Multimodal behaviour changes between model generations Re-run every input type you accept
Tool calls With thinking on, K2.6 accepts only auto or none for tool_choice Replay a multi-step tool session and keep reasoning_content in the history
Cost per request Prices rose on every tier Read usage on real requests and compare with your old bills

Is Kimi K2.7 Code the better landing place for coding work?

For coding use cases we typically recommend Kimi K2.7 Code instead of Kimi K2.6. It's optimised for coding tasks and following instructions in long agentic contexts. Pricing is the same as Kimi K2.6 except that cached input tokens cost marginally more, $0.19 per million rather than $0.16.

Unlike Kimi K2.6 you can't disable Kimi K2.7 Code's thinking mode, trying results in an error.

Also unlike Kimi K2.6 Moonshot AI doesn't document built-in web search for Kimi K2.7 Code so if you used this you'll need to provide your own tool.

How much more will the replacement cost?

Responses from Kimi K2.6 cost 33% more than those from Kimi K2.5 and how much more you'll pay overall depends on your cache hit rate.

Kimi K2.5 (last price) Kimi K2.6 Change
Input, cache hit $0.10 $0.16 +60%
Input, cache miss $0.60 $0.95 +58%
Output $3.00 $4.00 +33%

All figures are USD per million tokens, excluding tax. K2.6 prices verified 22 October 2026.

To give you an idea of the size of the change let's assume you send Moonshot 10,000 requests a month, each with 20,000 input tokens and your prompts achieve a 50% cache hit rate. Responses average 2,000 tokens.

Model Per request Per month
Kimi K2.5 (last price) $0.0130 $130
Kimi K2.6 $0.0191 $191
Kimi K2.7 Code $0.0194 $194
Kimi K3 $0.0630 $630

Compared to Kimi K2.5 this usage costs 47% more with Kimi K2.6.

Moonshot's recommended replacement for Kimi K2.5, Kimi K3, would cost 4.8 times as much for this usage.

Estimate your own costs using our API cost calculator, enter your expected usage and cache hit rate and it'll show costs side-by-side for all of Moonshot AI's current models.

How do you find every place that still calls Kimi K2.5?

To start, do a search of your codebase for K2.5, but don't stop there!

You're likely to find additional places where you use K2.5 that a codebase search won't turn up:

  • Any evaluation suites or scripts, Jupyter notebooks etc
  • Cron jobs, fallback behaviour - any code that you don't run very often is easy to forget
  • Environment variables set in your hosting provider's dashboard, a secrets manager or feature flagging service
  • If you access Moonshot AI via an LLM gateway/proxy, check its configuration

Model names specified in each of these places won't be visible if you only search your codebase.

grep -rnE "kimi-k2\.5|moonshot-v1" \
  --include="*.py" --include="*.ts" --include="*.js" --include="*.json" \
  --include="*.yaml" --include="*.yml" .

What happens to calls still sent to kimi-k2.5?

As mentioned above, Kimi K2.5 requests sent via Moonshot's API will no longer behave as you expect, we'd treat them as errors. Moonshot AI haven't specified exactly what responses you'll get if you ask for the discontinued kimi-k2.5 model. Don't count on any specific behaviour, treat requests for kimi-k2.5 as failures!

How do you make future model deprecations easier?

Moonshot AI are likely to deprecate more models in the future and if you want to make life easier for your future selves:

  • Don't hardcode model names in your code. Load them from an environment variable or other config so that you can swap models without deploying new code.
  • Monitor Moonshot AI's deprecations page and take action when models you use are deprecated.

Is self-hosting K2.5 a real option?

Moonshot AI published open weights for K2.5 and these still haven't been withdrawn. However, you should understand that self-hosting LLMs is a significant commitment. K2.5 is a 1-trillion-parameter model and to get reasonable performance you'll need access to a lot of GPUs, and take on the commitment of operating this infrastructure yourself.

We only recommend self-hosting in special circumstances, for example if you:

  • Need to host data/compute in a particular location
  • Need to operate in an air-gapped environment
  • Have very high, predictable volumes

It's almost never cost-effective to self-host in response to a model deprecation!

Frequently asked questions

When was Kimi K2.5 discontinued?

Kimi K2.5 was officially discontinued by Moonshot AI on 31 August 2026, along with the moonshot-v1 series of models. The model has since Kimi K3's launch in July 2026 not been available to new Kimi accounts, and is no longer supported or maintained by Moonshot AI.

What should I replace Kimi K2.5 with?

The closest equivalent to Kimi K2.5 is Kimi K2.6. Both models support multimodal input and a context window of 262,144 tokens. Kimi K2.6 is charged by Moonshot AI at $4.00 per million output tokens. However, if you're using Moonshot AI primarily for coding tasks, consider using Kimi K2.7 Code. For a very large context window (>262,144 tokens), consider using Kimi K3 (recommended by Moonshot AI).

Will moving from Kimi K2.5 to K2.6 break my code?

Usually not, both models support the same Moonshot API requests so for many users switching to Kimi K2.6 will only require changing the model name requested in code/config. However, be aware that Kimi K2.6's temperature and top_p parameters are fixed, API requests specifying different values will be rejected. LLMs behave differently even when accessed via the same API, we recommend testing thoroughly before using Kimi K2.6 in production!

How much more does Kimi K2.6 cost than K2.5 did?

When compared to Kimi K2.5, Kimi K2.6's prices have changed as follows. Cache-miss input tokens +58% ($0.60 to $0.95 per million tokens). Output tokens +33% ($3.00 to $4.00 per million tokens). Cache-hit input tokens +$0.06 per million tokens ($0.10 to $0.16). This is the highest relative price increase of any token type, but is still only $0.06 per million tokens in absolute terms.

What happens if I keep calling kimi-k2.5?

If you ask Moonshot AI's API for the now-deprecated 'kimi-k2.5' model don't expect it to work as it did before! Moonshot AI haven't specified how these requests will be handled, we'd recommend assuming that they'll error. If you're still using Kimi K2.5, we recommend upgrading your integration to request a different model.

Can I keep using Kimi K2.5 by self-hosting it?

Yes, Moonshot AI published K2.5's weights and haven't since delisted them. That said, K2.5 is a 1T-parameter model, self-hosting it will be a substantial technical undertaking and likely not be cheaper than switching to an alternative hosted model.

Models mentioned

  • Kimi K2.5

    Discontinued

    Kimi K2.5 was a multimodal model with a 262,144-token context window. Moonshot AI discontinued it on August 31, 2026.

  • Kimi K2.6 is a general-purpose model with a 262,144-token context window, supporting text, image and video input across thinking and non-thinking modes.

  • Kimi K3 is Moonshot AI’s flagship model, with 2.8 trillion parameters, native visual understanding and a 1,048,576-token context window.

  • Kimi K2.7 Code is Moonshot AI’s coding-focused model, with a 262,144-token context window and higher instruction-following reliability in long contexts.

Read next