OpenRouter measures token cost of MCP, CLI and skills
เนื้อหานี้ยังไม่มีในภาษาของคุณ จึงแสดงเป็นEnglish
เริ่มตรงนี้
OpenRouter measured the context token cost of three ways to give a model GitHub access — the GitHub MCP server, the gh CLI and a gh skill — on one GitHub task. On Claude Sonnet 5.5 all three answered correctly, but the CLI used 1,421 input tokens, the skill 3,315 and the MCP server 59,417 with its 46 default tools, whose definitions alone add 19,436 tokens per request. Scoping the server to two tools cut the task to 23,228 tokens, capping results at 4,000 characters brought it to 5,357, and Tool Search cut the up-front cost of 46 tools to under 600 tokens. Tool Search halved the whole-task cost on Sonnet 5.5 but raised it on Claude Haiku 5.5, OpenRouter says. Tool Search is in beta and works with any model and provider on the Responses and Messages APIs; Chat Completions rejects it with a 400 error. OpenRouter tested one server on one task and advises running its mcp_cost.py on your own setup before deciding.
สร้างจากรายงาน · อัปเดต 14 ชม. ที่แล้ว
ไทม์ไลน์รายงาน
ไล่ตามรายงานเพื่อดูเหตุการณ์นี้จากหลายด้าน
- OpenRouter AnnouncementsคัดสรรOpenRouter วัดต้นทุนบริบทของ MCP, CLI และ skills บนงาน GitHub งานเดียว
OpenRouter วัดงาน GitHub งานเดียวกันผ่าน GitHub MCP server, gh CLI และ gh skill บน Claude Sonnet 5.5, GPT-6 Luna และ Gemini 3.8 Flash บน Sonnet 5.5 ทั้งสามตอบถูก แต่ CLI ใช้ 1,421 input tokens, skill ใช้ 3,315 และ MCP server ใช้ 59,417 พร้อมเครื่องมือเริ่มต้น 46 ตัว ซึ่งคำนิยามเพียงอย่างเดียวเพิ่ม 19,436 tokens ต่อคำขอ การจำกัด server ให้เหลือสองเครื่องมือลดงานเหลือ 23,228 tokens การจำกัดผลลัพธ์ที่ 4,000 ตัวอักษรลดเหลือ 5,357 และ Tool Search ลดต้นทุนล่วงหน้าของ 46 เครื่องมือเหลือต่ำกว่า 600 tokens แม้จะลดต้นทุนทั้งงานบน Sonnet 5.5 ลงครึ่งหนึ่งแต่กลับเพิ่มขึ้นบน Claude Haiku 5.5
ความร้อนแรงของเหตุการณ์นี้
ยังมีการเฝ้าดูต่อเนื่องไม่พอจะวาดแนวโน้ม