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

1.7 KB
Raw Blame
import type { RegistryEntry } from "../../shared.ts";

/**
 * ZenMux Free — session-cookie free-tier gateway.
 *
 * Users log into zenmux.ai, export all cookies via a browser extension
 * (EditThisCookie / Cookie-Editor), and paste the full Cookie header string
 * as the credential. The ctoken extracted from the cookie string is required
 * for all API requests as a query parameter.
 *
 * Models available on the free tier (5 Flows/5h, 38.64 Flows/week):
 * DeepSeek V3.2, GLM 4.7 Flash Free, and others.
 *
 * Short alias "zmf" is distinct from the paid "zenmux" (alias "zm") which
 * uses API-key auth against the OpenAI-compatible endpoint.
 */
export const zenmux_freeProvider: RegistryEntry = {
  id: "zenmux-free",
  alias: "zmf",
  format: "openai",
  executor: "zenmux-free",
  baseUrl: "https://zenmux.ai/api/anthropic/v1/messages",
  authType: "apikey",
  authHeader: "cookie",
  models: [
    { id: "deepseek/deepseek-chat", name: "DeepSeek V3.2 (Non-thinking)" },
    { id: "deepseek/deepseek-reasoner", name: "DeepSeek V3.2 (Thinking)", supportsReasoning: true },
    { id: "deepseek/deepseek-v4-pro", name: "DeepSeek V4 Pro", supportsReasoning: true },
    { id: "kuaishou/kat-coder-pro-v1-free", name: "KAT Coder Pro V1 Free" },
    { id: "z-ai/glm-4.7-flash-free", name: "GLM 4.7 Flash Free" },
    { id: "stepfun/step-3.5-flash-free", name: "Step 3.5 Flash Free" },
    { id: "inclusionai/ling-1t", name: "Ling 1T" },
    { id: "inclusionai/ling-mini-2.0", name: "Ling Mini 2.0" },
    { id: "inclusionai/ring-1t", name: "Ring 1T" },
    { id: "sapiens-ai/agnes-1.5-lite", name: "Agnes 1.5 Lite" },
    { id: "sapiens-ai/agnes-1.5-pro", name: "Agnes 1.5 Pro" },
  ],
};

export default zenmux_freeProvider;