도구 설정

Claude Code에서 Kimi K3와 Kimi for Coding 실행

Claude Code는 이미 Anthropic Messages를 사용하므로 Kimi를 직접 실행할 수 있습니다. 안정적인 설정은 모든 내부 model tier를 하나의 Kimi alias로 pin합니다. 그렇지 않으면 main session은 동작해도 subagent가 상속한 Claude model에서 실패할 수 있습니다.

·

연결과 모든 model tier pin

Claude Code sends Anthropic Messages requests to whatever ANTHROPIC_BASE_URL says, and the router at https://router.apitoken.sale answers that protocol for Kimi subscription aliases. No plugin, proxy or fork is involved: you change environment variables, and every session, tier decision and subagent call goes to Kimi instead of Anthropic. Billing moves to your prepaid apiToken.sale balance at a flat 50% below the official Kimi token rates.

Anthropic route에서는 bare subscription alias를 사용합니다. k3-256k 또는 kimi-for-coding 같은 256K 모델에는 tier pin을 유지하되 두 개의 1M context 변수는 생략합니다.

함께 보기: Kimi Code에서 Kimi, Claude, GPT, Gemini 실행

모델 소개가 아니라 route 검증

  • /status를 열어 Anthropic base URL이 apiToken.sale인지 확인합니다.
  • 모델에게 정체를 묻지 마세요. Claude Code system prompt 때문에 어떤 backend도 Claude라고 답할 수 있습니다.
  • none/off는 다른 model 선택이 아니라 K3 reasoning 비활성화로 취급하세요. live coverage에서도 K3 tariff가 유지됐고 kimi-k2.6은 public addressable model이 아닙니다.
  • alias를 장기 pin하기 전에 GET /v1/models를 확인합니다.

자주 묻는 질문

Claude Code가 Kimi K3를 지원하나요?

네. Claude Code를 https://router.apitoken.sale로 연결하고 모든 model tier를 허용된 Kimi subscription alias에 pin하세요.

왜 모든 Claude Code model variable을 pin해야 하나요?

Claude Code는 main session, tier, subagent 모델을 따로 선택합니다. pin되지 않은 tier는 Claude ID를 상속해 해당 background path가 실행될 때만 실패할 수 있습니다.

Claude Code에서 K3 full 1M context를 유지하려면?

k3 또는 k3[1m]을 사용하고 CLAUDE_CODE_MAX_CONTEXT_TOKENS와 CLAUDE_CODE_AUTO_COMPACT_WINDOW를 모두 1048576으로 설정하세요.

Google 또는 GitHub로 키를 만들고 $5 플랫폼 웰컴 보너스 크레딧으로 게이트웨이를 테스트하세요.