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

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

export const zenmuxProvider: RegistryEntry = {
  id: "zenmux",
  alias: "zm",
  format: "openai",
  executor: "default",
  baseUrl: "https://zenmux.ai/api/v1/chat/completions",
  modelsUrl: "https://zenmux.ai/api/v1/models",
  authType: "apikey",
  authHeader: "bearer",
  defaultContextLength: 128000,
  models: [
    {
      id: "google/gemini-3.1-pro-preview",
      name: "Gemini 3.1 Pro Preview (ZenMux)",
      contextLength: 1048576,
      supportsVision: true,
      toolCalling: true,
      supportsReasoning: true,
    },
    {
      id: "google/gemini-3-flash-preview",
      name: "Gemini 3 Flash Preview (ZenMux)",
      contextLength: 1048576,
      supportsVision: true,
      toolCalling: true,
      supportsReasoning: true,
    },
    {
      id: "openai/gpt-5",
      name: "GPT-5 (ZenMux)",
      contextLength: 400000,
      supportsVision: true,
      toolCalling: true,
      supportsReasoning: true,
    },
    {
      id: "anthropic/claude-sonnet-4.5",
      name: "Claude Sonnet 4.5 (ZenMux)",
      contextLength: 200000,
      supportsVision: true,
      toolCalling: true,
      supportsReasoning: true,
    },
    {
      id: "anthropic/claude-opus-4.5",
      name: "Claude Opus 4.5 (ZenMux)",
      contextLength: 200000,
      supportsVision: true,
      toolCalling: true,
      supportsReasoning: true,
    },
    {
      id: "deepseek/deepseek-chat",
      name: "DeepSeek V3.2 Chat (ZenMux)",
      contextLength: 128000,
      supportsVision: false,
      toolCalling: true,
      supportsReasoning: false,
    },
    {
      id: "x-ai/grok-4.1-fast",
      name: "Grok 4.1 Fast (ZenMux)",
      contextLength: 131072,
      supportsVision: false,
      toolCalling: true,
      supportsReasoning: true,
    },
    {
      id: "mistralai/mistral-large-2512",
      name: "Mistral Large 2512 (ZenMux)",
      contextLength: 128000,
      supportsVision: true,
      toolCalling: true,
      supportsReasoning: false,
    },
    {
      id: "z-ai/glm-4.6v-flash",
      name: "GLM 4.6V Flash (ZenMux)",
      contextLength: 128000,
      supportsVision: true,
      toolCalling: true,
      supportsReasoning: false,
    },
  ],
};