---
title: "optimAIzr：內嵌 Claude Code 的成本最佳化 HUD 外掛"
url: "https://claudemods.dev/zh-tw/builds/claude-code-mods-dropped-yesterday-so-i-made-optimaizr-live--41de40"
source: "https://www.reddit.com/r/ClaudeCode/comments/1ww7w0x/claude_code_mods_dropped_yesterday_so_i_made"
source_type: "reddit"
author: "stichstichstich"
author_handle: "stichstichstich"
stars: 0
category: "用量與成本"
categories: ["cost", "hud", "tools", "workflow"]
tags: ["HUD", "cache", "cost-tracking", "model-switching", "open-source", "optimAIzr", "plugin"]
permission_level: null
scan_complete: false
install: "/plugin marketplace add blendbunjaku/optimaizr\n/plugin install optimaizr@optimaizr"
added: "2026-10-03T20:11:07.976Z"
updated: "2026-10-02T23:04:25.000Z"
locale: "zh-tw"
content_locale: "zh-tw"
---

# optimAIzr：內嵌 Claude Code 的成本最佳化 HUD 外掛

作者用 Claude Code 打造 optimAIzr，藉由新的 mod 支援嵌入工作流程，可顯示每輪成本與 5 小時預算、依省費情況切換 Opus→Sonnet，並即時展示燃燒率、節省額與快取命中。

## Description

作者用 Claude Code 開發了 optimAIzr，用來找出浪費的 Claude 使用開銷，並已在自有工作階段中試用。隨著 Claude Code 新增 mod 支援，作者將其直接整合進工作流程：可顯示每一輪對話的成本與 5 小時可用額度（runway），在節省額度足夠時自動從 Opus 切換到 Sonnet，並透過即時 HUD 顯示 token 燃燒率、節省情況和快取命中率。特別之處在於它不會盲目切換模型——對於長對話，切換前會先計算重新載入上下文的成本再決定是否值得。專案免費且開源，可透過外掛市集直接安裝。

## Install

```
/plugin marketplace add blendbunjaku/optimaizr
/plugin install optimaizr@optimaizr
```

## Original README

Claude Code mods dropped yesterday, so I made optimAIzr live inside Claude Code. I built optimAIzr with Claude Code to find wasted Claude usage, and I’ve been using it on my own sessions. With the new mod support, I wanted to bring it directly into the workflow. Now it can show the cost of each turn and your 5h runway, switch Opus → Sonnet when the savings justify it, and show burn rate, savings and cache hits in a live HUD. The interesting part is that it doesn’t blindly switch. For long conversations, it considers the cost of reloading the context before switching. It’s free and open source. You can install it directly in Claude Code: /plugin marketplace add blendbunjaku/optimaizr /plugin install optimaizr@optimaizr Source: github.com/blendbunjaku/optimaizr Built with Claude Code, now running inside Claude Code. submitted by /u/stichstichstich [link] [comments]
