Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>DevValueNew to Visual Studio Code? Get it now.
DevValue

DevValue

Chris Zhang

|
4 installs
| (0) | Free
Measure the true cost of AI-era software engineering — human focus time × hourly rate + AI token cost, tracked per git branch.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DevValue — True Cost of AI-Era Software Engineering

What did this feature really cost? Human focus time × your hourly rate + AI compute cost, tracked per git branch.

Most developers have no idea what a feature actually costs when you factor in both their time and Claude Code API spend. DevValue answers that question automatically.


How It Works

Total Cost = (Focus Time × Hourly Rate) + AI Token Cost
  • Focus Time is measured intelligently — reading code, reviewing AI output, and debugging all count. Idle gaps are detected and excluded.
  • AI Token Cost is parsed directly from Claude Code's local session logs (~/.claude/projects/), using published pricing per model.
  • Everything is scoped to your current git branch — so each feature, fix, or PR has its own cost record.

Features

  • PTA Flow Detection — dynamically extends the idle timeout (5→20 min) when you're actively reading/debugging, so flow state isn't broken mid-review
  • Claude Code Token Sniffing — stream-parses local JSONL logs, deduplicates by message ID, and maps tokens to exact model pricing (Sonnet, Haiku, Opus)
  • Branch Binding — switch branches, cost tracking switches with you; all history preserved per branch
  • Status Bar — live $(clock) 2h 15m | $(git-branch) main | $12.40 display; click to open dashboard
  • Dashboard — per-branch cost breakdown showing focus time, token counts (input/output/cache), and total spend

Requirements

  • VS Code 1.74.0 or later
  • Claude Code installed and used in the same workspace

Settings

Setting Default Description
devvalue.hourlyRate 75 Your hourly rate in USD
devvalue.maxIdleTimeout 300 Seconds before marking you as idle
devvalue.flowThreshold 3 Activity events/min to trigger flow mode
devvalue.claudeLogGlob ~/.claude/projects/*/*.jsonl Optional override for Claude log path glob (uses workspace auto-detection by default)
devvalue.enableStatusBar true Show/hide the status bar item

Commands

  • DevValue: Open Dashboard — view per-branch cost breakdown
  • DevValue: Start Tracking — manually start tracking
  • DevValue: Stop Tracking — manually stop tracking
  • DevValue: Reset Branch Data — clear current branch's records
  • DevValue: Export Data — export all session data as JSON

Accuracy Note

DevValue uses Claude's published list prices. If you're on an Education or Enterprise plan with negotiated discounts, your actual bill will be lower than what DevValue reports. Token costs are scoped to the current workspace only.


Roadmap

  • v0.0.8 ✅ — Marketplace polish, error handling, release hardening
  • v0.1.0 — Multi-AI sniffer (Cursor, Copilot, Codex)
  • v0.2.0 — Markup & quoting engine ("this feature cost $45 → quote client $112")
  • v0.3.0 — MCP Server: AI agents query remaining budget in real-time

Built in public: github.com/ChrisZhang/devvalue

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft