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

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

/**
 * CloudCode.ONE - OpenAI-compatible API with published free model aliases.
 *
 * The Anthropic-compatible endpoint is documented separately; this registry
 * covers the OpenAI-compatible API surface audited for this migration.
 */
export const cloudcodeOneProvider: RegistryEntry = buildOpenAiCompatibleRegistryEntry({
  id: "cloudcode-one",
  alias: "cloudcode-one",
  baseUrl: "https://api.cloudcode.one/v1/chat/completions",
  modelsUrl: "https://api.cloudcode.one/v1/models",
  models: [
    { id: "glm-4.7-flash", name: "GLM 4.7 Flash" },
    { id: "glm-4.6v-flash", name: "GLM 4.6V Flash" },
  ],
  passthroughModels: true,
});