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.2 KB
Raw Blame
import type { RegistryEntry, RegistryModel } from "../../shared.ts";

export const ALIBABA_MODEL_STUDIO_MODELS: RegistryModel[] = [
  { id: "qwen3.8-max", name: "Qwen3.8 Max" },
  { id: "qwen3.7-max", name: "Qwen3.7 Max" },
  { id: "qwen3.7-plus", name: "Qwen3.7 Plus" },
  { id: "qwen3.6-plus", name: "Qwen3.6 Plus" },
  { id: "qwen3.6-27b", name: "Qwen3.6 27B" },
  { id: "qwen3.6-35b-a3b", name: "Qwen3.6 35B A3B" },
  { id: "qwen3.5-plus", name: "Qwen3.5 Plus" },
  { id: "qwen3.5-122b-a10b", name: "Qwen3.5 122B A10B" },
  { id: "qwen3.5-397b-a17b", name: "Qwen3.5 397B A17B" },
  { id: "glm-5.2", name: "GLM 5.2" },
  { id: "glm-5.2-fast-preview", name: "GLM 5.2 Fast Preview" },
  { id: "deepseek-v4-pro", name: "DeepSeek V4 Pro" },
  { id: "deepseek-v4-flash", name: "DeepSeek V4 Flash" },
  { id: "kimi-k2.7-code", name: "Kimi K2.7 Code" },
];

export const alibabaProvider: RegistryEntry = {
  id: "alibaba",
  alias: "ali",
  format: "openai",
  executor: "default",
  baseUrl: "https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions",
  modelsUrl: "https://dashscope-intl.aliyuncs.com/compatible-mode/v1/models",
  authType: "apikey",
  authHeader: "bearer",
  models: ALIBABA_MODEL_STUDIO_MODELS,
  passthroughModels: true,
};