微算力 · API 导航与自营网关
API 接入 EN
未登录登录
💰

智能路由,成本直降 90%

Smart Model Routing for Z.AI · v1.0.0
效率 安全 A 级 作者 princnl 来源 Cocoloop

简介

z.ai (GLM) 智能模型路由,按任务复杂度自动选择最经济的 Flash/Standard/Plus 模型,30 秒判断法则节省 API 成本。

原始描述

Auto-route tasks to the cheapest z.ai (GLM) model that works correctly. Three-tier progression: Flash → Standard → Plus/32B. Classify before responding. FLASH (default): factual Q&A, greetings, reminders, status checks, lookups, simple file ops, heartbeats, casual chat, 1–2 sentence tasks, cron jobs. ESCALATE TO STANDARD: code >10 lines, analysis, comparisons, planning, reports, multi-step reasoning, tables, long writing >3 paragraphs, summarization, research synthesis, most user conversations. ESCALATE TO PLUS/32B: architecture decisions, complex debugging, multi-file refactoring, strategic planning, nuanced judgment, deep research, critical production decisions. Rule: If a human needs >30 seconds of focused thinking, escalate. If Standard struggles with complexity, go to Plus/32B. Save major API costs by starting cheap and escalating only when needed.

标签

cost-optimizationmodel-routingglmz.aiapi-managementmulti-agentautomation

同类 Skill