Home / Claude Code mods / Cost & usage / api-cost-compare

api-cost-compare

api-cost-compare is a Claude Code mod by shezis that live pane showing what this session would cost on the Claude, OpenAI, DeepSeek, GLM and Kimi APIs.

Updated 2026-10-11

What is api-cost-compare?

api-cost-compare is a Claude Code mod by shezis that live pane showing what this session would cost on the Claude, OpenAI, DeepSeek, GLM and Kimi APIs. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authorshezis
Repositoryshezis/claude-api-cost-compare
Popularityno public popularity data yet
CategoryCost & usage
SecurityReview before installing (76/100)
Rank#8,363 of 9,397 Claude Code mods; #1,658 in Cost & usage
LicenseMIT
Last commit2026-10-11
Hooks6 events
Seescompaction
Draws onPane

Is api-cost-compare safe to install?

api-cost-compare scores 76/100 on the MCPMods security check: Review before installing. Things to review: sends data over the network; reads environment variables. It passed 6 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
Sends data over the networkReview
Starts no processesPass
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.clock.every
$.clock.now
$.command.register
$.env.getreads env vars
$.fs.existsreads files
$.fs.listreads files
$.fs.readreads files
$.http.fetchnetwork requests
$.session.id
$.session.usage
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface

How do I install api-cost-compare?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/shezis/claude-api-cost-compare
    claude plugin validate ./claude-api-cost-compare/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add shezis/claude-api-cost-compare && claude plugin install api-cost-compare@claude-api-cost-compare

Or ask Claude to set it up

Paste this into Claude Code and it installs api-cost-compare for you:

Install the "api-cost-compare" Claude Code mod from https://github.com/shezis/claude-api-cost-compare. Run claude plugin validate on it first and show me what it can access before you enable it.