HMarzban

Nextcost — Development skill for Claude Code

Development community

See what your next Claude Code message costs: a live band above the prompt with the prompt-cache countdown, the re-warm price, session cost, context and 5h/weekly usage limits.

How to install Nextcost

This entry records only its repository, not the path inside it, so there is no exact command to give. Open HMarzban/nextcost and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Nextcost does

See what your next Claude Code message costs: a live band above the prompt with the prompt-cache countdown, the re-warm price, session cost, context and 5h/weekly usage limits.

Alternatives in Development

  • Dao Code — Open-source TypeScript terminal coding agent for DeepSeek-V4 — builds on DeepSeek's strong price-performance a 1.3k ★
  • Cost Xray — See what Claude Code and Codex actually send to the API — and what each part costs 586 ★
  • Brow — Claude Code usage and rate limits in the MacBook notch 50 ★

README

nextcost

**The price of your next Claude Code message, before you send it.**

**nextcost** is a free Claude Code plugin that draws a live band above the prompt: the prompt-cache countdown, what a re-warm will cost, the session's spend, context fill, and your 5-hour and weekly limits. In the terminal and the desktop app; no tokens, no network calls.

[![CI](https://github.com/HMarzban/nextcost/actions/workflows/ci.yml/badge.svg)](https://github.com/HMarzban/nextcost/actions/workflows/ci.yml) [![Release](https://img.shields.io/github/v/release/HMarzban/nextcost?display_name=release&label=release)](https://github.com/HMarzban/nextcost/releases/latest) [![License: MIT](https://img.shields.io/github/license/HMarzban/nextcost)](LICENSE)

[Website](https://hmarzban.github.io/nextcost/) · [Install](#install) · [What it shows](#what-it-shows) · [How it works](#how-it-works) · [FAQ](#faq) · [Contributing](#contributing)

The band in the Claude desktop app: after the last reply the cache counts down from an hour, turns amber in its last minute with the re-warm price, goes cold showing what the next message will cost, then opens its cards. Every frame is drawn from the band's own output, with the clock moved forward

Why

While Claude Code's prompt cache is warm, each message re-reads the conversation on Anthropic's side at a fraction of the input price: 0.05× on Opus 5.5 and Sonnet 5.5. Step away longer than the cache lasts (5 minutes or an hour after the last request) and your next message writes the whole conversation to the cache again, at 2× base input on the hour's cache and 1.25× on five minutes. On the hour, that makes the context part ~40× the warm read on Opus 5.5 and Sonnet 5.5 (~80× on Fable 5.1, ~20× on Haiku 5.5); on five minutes, ~25× (~50× on Fable 5.1, ~12.5× on Haiku 5.5). Output