How-to

5 个专用小模型:最高 200 倍推理提速、467 倍成本降低

Why we picked it

做 LLM 应用的开发者可以看看这套思路:把分类、抽取、函数调用这类固定任务交给 5 个专用小模型,推理快 200 倍、成本降 467 倍,通用模型只留给你真正需要推理的部分。

这批专用小模型覆盖 5 个高频任务:Classify 负责给文本打标签,Extract 从文本抽取结构化字段,Summarize 把长文压成摘要,Compress 在调用 LLM 前裁剪上下文,Toolcall 负责挑选函数并填入参数。

Body

官方给出的对比数字是:相比把每个任务都丢给通用模型,这组小模型推理速度快 200 倍,成本低 467 倍。工作原理是把固定模式的高频任务(分类、抽取、摘要、函数调用)从大模型中剥离出来,用小模型在本地或低成本环境跑,只把真正需要推理能力的部分留给通用 LLM。

对开发者来说,这种分工思路值得借鉴:在管线里前置一层小模型做预处理(尤其是 Compress 裁剪上下文这一步),能直接降低 token 消耗和延迟,适合高吞吐、任务模式固定的生产场景。

Original · Ate-a-Pi

Small, specialized models are way cheaper and faster than using a general model for every task.

These guys have built 5 of these models:

1. Classify - Assign labels to text 2. Extract - Pull structured fields from text 3. Summarize - Turn long text into a short summary 4. Compress - Trim context before an LLM call 5. Toolcall - Pick a function and fill in its arguments

200x faster inference 467x lower cost

Industry Coordinates & Source Verification

This report is categorized under AITOP's "How-to" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include small language models, Toolcall, prompt engineering, cost optimization.

Source attribution: curated from Ate-a-Pi (@svpino).

Spotted an error in the summary or translation? Tell us