Skip to main content
kRouter
All providers

Free tier (unlimited)

cbcn/

CodeBuddy CN

CodeBuddy CN — connect via free tier.

copilot.tencent.com

Quick setup

  1. Open the kRouter dashboard at http://localhost:20128

  2. Go to Providers → click the CodeBuddy CN tile

  3. Sign in with the provider's free flow (AWS Builder ID / Google / GitHub)

  4. Pick the model you want to expose to your IDE

Use in your IDE

Point any OpenAI-compatible client at kRouter using your local API key.

ide configbash
# Endpoint
http://localhost:20128/v1

# API key (from Dashboard → API Keys)
sk-krouter-XXXX

# Model
cbcn/<model-id>

How CodeBuddy CN billing works with kRouter

CodeBuddy CN has a genuinely free tier — no card, no per-token cost. Rate limits apply, and kRouter rotates across accounts when you add more than one. kRouter authenticates it via oauth. 15 models are routable as cbcn/<model>.

Through kRouter, CodeBuddy CN serves chat and code completion. Requests reach it through the same local OpenAI-compatible endpoint as every other provider, so switching to or from CodeBuddy CN is a one-line model change in your client rather than a rewrite.

CodeBuddy CN models & pricing

Prices are USD per 1M tokens, cheapest first. You are not billed per token on this provider — the figures show what the same model costs elsewhere, which is what routing here saves you.

ModelRoute asInput /1MOutput /1M
DeepSeek-V4-Flashcbcn/deepseek-v4-flash$0.14$0.28
DeepSeek-V3.2cbcn/deepseek-v3-2-volc$0.14$0.28
DeepSeek-V4-Procbcn/deepseek-v4-pro$0.43$0.87
MiniMax-M3cbcn/minimax-m3$0.50$2.00
MiniMax-M2.7cbcn/minimax-m2.7$0.50$2.00
GLM-4.7cbcn/glm-4.7$0.75$3.00
GLM-5.2cbcn/glm-5.2$1.00$4.00
GLM-5.1cbcn/glm-5.1$1.00$4.00
GLM-5.0cbcn/glm-5.0$1.00$4.00
GLM-5.0-Turbocbcn/glm-5.0-turbo$1.00$4.00
GLM-5v-Turbocbcn/glm-5v-turbo$1.00$4.00
Kimi-K2.7-Codecbcn/kimi-k2.7$1.20$4.80
Kimi-K2.6cbcn/kimi-k2.6$1.20$4.80
Kimi-K2.5cbcn/kimi-k2.5$1.20$4.80
Hy3 Previewcbcn/hy3-preview——

CodeBuddy CN links

CodeBuddy CN FAQ

Is CodeBuddy CN free through kRouter?

CodeBuddy CN does not bill per token here — kRouter uses your existing free tier, so the only cost is whatever you already pay CodeBuddy CN directly. kRouter itself is MIT-licensed and free.

How do I use CodeBuddy CN with Claude Code or Cursor?

Connect CodeBuddy CN in the kRouter dashboard, then point your tool at kRouter's local endpoint (http://localhost:20128/v1) with a kRouter API key. Any OpenAI-compatible client works, and models are addressed as cbcn/<model>.

Which CodeBuddy CN models can kRouter route to?

15 models, including GLM-5.2, GLM-5.1, GLM-5.0. Every one is addressed as cbcn/<model> from any client.

What happens when CodeBuddy CN is rate limited?

kRouter detects the limit, parks that account until its real reset time, and fails over to your next connected account or provider — so the request still completes instead of erroring.