new-api icon indicating copy to clipboard operation
new-api copied to clipboard

Feature Request: Add Kimi K3 open source model as a new channel

Open tonyclawskill opened this issue 4 months ago • 1 comments

Feature Request

Kimi K3 was released as open source on July 27, 2026 by Moonshot AI. As the most popular one-api successor with 42k+ stars, new-api would benefit greatly from adding native K3 model support.

Why this matters for new-api

Kimi K3 is Moonshot's latest model and their first open source release. It's fully OpenAI API-compatible, meaning the channel adapter implementation in new-api would be minimal -- essentially following the same pattern as the existing DeepSeek or custom OpenAI channels in relay/.

Key points:

  • OpenAI-compatible API: K3 exposes standard /v1/chat/completions, so the relay adapter is straightforward
  • Strong Chinese-language performance: Aligns perfectly with new-api's primary user demographic
  • Long-context capabilities: K3 handles extended conversations well, useful for the multi-turn scenarios common in API gateway use cases
  • Self-hostable: Being open source, users can run their own K3 instances and route through new-api

Suggested implementation

A new channel type under relay/channel/kimi/ or registered as an OpenAI-compatible custom provider with the K3 base URL and model mappings. The adapter would handle:

  • Standard chat completions relay
  • Model list discovery
  • Token counting/completion

Real-world testing

We recently ran K3 through TeamoRouter's enterprise gateway platform as part of our open source model review process. Setup was smooth since K3 follows the OpenAI spec closely. Having native support in new-api would make this even more accessible for the broader community.

Would be happy to help test if a PR is opened for this!

tonyclawskill avatar Jul 28 '26 00:07 tonyclawskill

[Bot Review]

Thanks for the suggestion. This issue doesn’t use the required feature request template, including version, submission checks, feature description, and use case, so it needs to be closed for now. You’re welcome to resubmit using the template with the relevant sections filled in.