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

Claude三级模型智能路由,省90%成本

Smart Model Switching · v1.0.0
专业技能 安全 S+ 级 作者 millibus 来源 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-optimizationmodel-selectionclaudeapi-managementroutingdocumentationbest-practices

同类 Skill