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

智能路由降本,三层模型精准匹配

opus · v1.0.0
效率 安全 A 级 作者 victorking2005 来源 Cocoloop

简介

三层级Claude模型自动路由策略,从Haiku开始按需升级至Sonnet/Opus,可节省50-90% API成本。

原始描述

Auto-route tasks to the cheapest Claude model that works correctly. Three-tier progression: Haiku → Sonnet → Opus. Classify before responding. HAIKU (default): factual Q&A, greetings, reminders, status checks, lookups, simple file ops, heartbeats, casual chat, 1-2 sentence tasks. ESCALATE TO SONNET: code >10 lines, analysis, comparisons, planning, reports, multi-step reasoning, tables, long writing >3 paragraphs, summarization, research synthesis, most user conversations. ESCALATE TO OPUS: 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 Sonnet struggles with complexity, go to Opus. Save 50-90% on API costs by starting cheap and escalating only when needed.

标签

cost-optimizationclaudemodel-routingapi-managementllm-ops

同类 Skill