Codestral vs Kimi API
A side-by-side look at pricing plans, free tiers, features, pros and cons, updated for 2026. Codestral starts at See pricing page and Kimi API starts at See pricing page. Check both pricing pages for current plans.
At a glance
Best for
Category
Pricing model
Starting price
Free plan
Made by
Based in
Rating
Key features
- 80+ programming languages
- Fill-in-the-middle completion
- Instruction endpoint
- Open weights
- IDE plugin support
- Long-context models
- Coding-tuned models
- OpenAI and Anthropic formats
- Cache-hit discounts
- Tool calling
| Feature | Codestral | Kimi API |
|---|---|---|
| Best for | Mistral AI's code model for completion and fill-in-the-middle | Moonshot AI's developer API for Kimi long-context and coding models |
| Category | Models & APIs | Models & APIs |
| Pricing model | Freemium | Paid |
| Starting price | See pricing page | See pricing page |
| Free plan | Yes | No |
| Made by | Mistral AI | Moonshot AI |
| Based in | France | China |
| Rating | No ratings yet | No ratings yet |
| Key features |
|
|
Pricing compared
Codestral starts at See pricing page and Kimi API starts at See pricing page. Check both pricing pages for current plans.
Free plan
Cheapest paid plan
Top plan
Free trial
Prices in USD, checked Oct 28, 2026 or later. Plans change often, so confirm on each tool's site before you buy.
Pros and cons
Codestral
- Strong at code completion
- Weights available for local testing
- Broad language coverage
- Open weights not licensed for production
- Usage-based API costs
- Narrower than general chat models
Kimi API
- Strong agentic coding models
- Works with popular coding tools
- Open weights available
- Flagship pricing rose in 2026
- Data processed in China
- Model lineup changes quickly
Which one should you choose?
Choose Codestral if you want:
- Strong at code completion
- Weights available for local testing
- Broad language coverage
Watch out: open weights not licensed for production.
Choose Kimi API if you want:
- Strong agentic coding models
- Works with popular coding tools
- Open weights available
Watch out: flagship pricing rose in 2026.
Codestral vs Kimi API FAQ
What is the difference between Codestral and Kimi API?
Codestral: Mistral AI's code model for completion and fill-in-the-middle. Kimi API: Moonshot AI's developer API for Kimi long-context and coding models. Both are models & apis tools.
Is Codestral or Kimi API cheaper?
Codestral starts at See pricing page and Kimi API starts at See pricing page. Check both pricing pages for current plans.
Do Codestral and Kimi API have free plans?
Codestral: Yes. Kimi API: No.
Who makes Codestral?
Codestral is made by Mistral AI, based in France.
Who makes Kimi API?
Kimi API is made by Moonshot AI, based in China.
Which should I choose, Codestral or Kimi API?
Choose Codestral if you value strong at code completion and weights available for local testing. Choose Kimi API if you value strong agentic coding models and works with popular coding tools.