Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

948 B
Raw Blame
import type { RegistryEntry } from "../../../shared.ts";

export const KIMI_WEB_STATIC_MODELS = [
  { id: "k3", name: "K3", supportsReasoning: true, toolCalling: false },
  { id: "k2d6", name: "K2.6", supportsReasoning: true, toolCalling: false },
];

export const kimi_webProvider: RegistryEntry = {
  id: "kimi-web",
  // Distinct alias: the primary "kimi" provider (dedicated KimiExecutor) keeps
  // the short "kimi" alias; this web/cookie variant is addressed by its own id.
  alias: "kimi-web",
  format: "openai",
  executor: "kimi-web",
  // International consumer chat — Connect-RPC API at www.kimi.ai.
  // See `open-sse/executors/kimi-web.ts` for the wire format.
  baseUrl: "https://www.kimi.ai",
  authType: "apikey",
  authHeader: "Authorization",
  // Curated-only catalog. Agent Swarm is excluded because it requires Kimi's
  // parallel-agent tool protocol rather than ordinary chat routing.
  models: KIMI_WEB_STATIC_MODELS,
};