> For the complete documentation index, see [llms.txt](https://doc.thordata.com/doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.thordata.com/doc/zh/chang-jian-wen-ti/chan-pin-wen-ti/qi-ta/agent-jie-ru-hou-zen-me-fang-cheng-ben-shi-kong.md).

# Agent 接入后怎么防成本失控？

把"交互"与"批量"分开走。[MCP](https://www.thordata.com/products/serp-api/mcp-server?op=cianna\&from=mcp) 留给对话式 Agent 按需检索，后台批量任务走 REST 并自控并发；再加三层护栏——同查询短期缓存、多关键词合并为一次请求、配额见底即降级不重试。适合上线后的生产环境，不适合把它当高并发管道，那会撞限流且成本不可预测。
