---
title: "Claude Code & Cursor Cost Tracker for Teams — PromptConduit"
description: "See what AI coding costs per developer, repo, and pull request across Claude Code and Cursor. Open-source CLI, local first; free for teams of up to 3."
image: "https://promptconduit.dev/og-image.png"
---

<!-- Markdown copy of https://promptconduit.dev. Index of every page: https://promptconduit.dev/llms.txt -->

![](/pulse-poster.png)

# What AI coding actually costs — per developer, repo, and PR.

PromptConduit shows what AI coding costs per developer, repo, and pull request across Claude Code and Cursor. An open-source CLI records every session to a local JSONL file first, with git context and exact cost computed on your machine. Teams sync to see spend across members, models, repos, and clients, with budgets and alerts.

`curl -fsSL https://promptconduit.dev/install | bash`

[Read the quick start](https://promptconduit.dev/docs/quick-start) [Source on GitHub](https://github.com/promptconduit/cli)

~/.promptconduit/events.jsonl — one Stop event, whitespace added

{
  "schema": 2,                                      ①
  "tool": "claude-code",
  "hook\_event": "Stop",
  "captured\_at": "2026-07-03T21:16:54Z",
  "enrichments": {
    "vcs":  { "repo": "acme/platform", "branch": "feat/billing",
             "dirty": true },                     ②
    "turn": { "duration\_ms": 187954 },
    "diff": { "files\_changed": 3, "insertions": 148,
             "deletions": 27 },                  ③
    "cost": { "totals": { "usd": 1.0716,
               "tokens": { "output": 11628,
                          "cache\_read": 777374 } },
             "signals": { "cache\_hit\_rate": 0.91 } }  ④
  }
}

1.  ① One JSON line per hook event, written to disk before any network call. No account required for any of it.
2.  ② Branch and repo names — never your diff contents.
3.  ③ What the turn changed, as counts.
4.  ④ What the turn cost, priced locally from your own transcript.

## What one captured event looks like

## Three commands, then forget it's there.

### 1\. Install hooks

`promptconduit init` signs you in (or stays local-only), detects Claude Code and Cursor, and wires the CLI into each assistant's hook system. Nothing about how the tool behaves changes.

### 2\. Work as usual

Every session appends structured events to `~/.promptconduit/events.jsonl` — enriched with git context, timing, tool outcomes, and exact cost. Secrets are scrubbed on the way in.

### 3\. Ask it questions

Ask your agent “what has this session cost?” and the [MCP server](https://promptconduit.dev/docs/agents) that install registers answers it. Or run `promptconduit cost`, or open the [editor extension](https://promptconduit.dev/docs/editor-extension) for live cost and coaching, fully offline.

* * *

## Don't open a dashboard. Ask your agent.

`promptconduit install` registers an MCP server with Claude Code, Cursor, and Gemini CLI. Your agent then answers cost questions with live numbers: what this session cost, what the team spent, which budget is about to run over. It can also set a budget or tag a repo with its client, and it asks you first. The local tools need no account. Team tools use your sign-in.

Claude Code, demo team, sample data

\> How is the team tracking against its AI budgets,
  and which repo costs the most?

⏺ promptconduit · team\_budgets
⏺ promptconduit · team\_spend (period: 30d)

  Whole team     $754 of $1,200   63%  on track
  acme/api       $230 of $250     92%  projected $255, will go over
  globex/mobile  $188 of $150    125%  already over

  Costliest repo: acme/api, $230 across 26 sessions.

-   **Free, on your machine.** `session_cost`, `cost_history`, and `recent_sessions` read only local files. Nothing is sent.
-   **Your team's numbers.** Spend by member, repo, client, model, and PR, the savings report, budgets, and CSV export.
-   **Writes ask first.** Setting a budget, tagging a client, or inviting someone is marked as a change, so the agent confirms before it acts.
-   **Slash commands too.** `spend_review` and `budget_check` turn into one-line prompts.
-   **Or from any terminal.** `promptconduit team spend --json` does the same for scripts and CI.

[How the MCP server works](https://promptconduit.dev/docs/agents)

* * *

## Or watch it live, in your editor.

The free [editor extension](https://promptconduit.dev/docs/editor-extension) renders the same local events in the editor — a per-prompt cost ledger, a live Session Graph of your agents, a raw event stream, and an offline coaching report. Fully offline, for Claude Code and Cursor. `promptconduit graph` is the same Session Graph in any browser.

AI Cost Breakdown — per-prompt ledger, one coaching tip, branch and PR scopes

![The AI Cost Breakdown panel in Cursor: per-prompt cost, a Do better coaching tip, and Session / PR scope chips.](/screenshots/cost-breakdown-window.png)

Session Graph — a live tree of prompts, tools, and subagents

![The Session Graph panel: a live tree of turns, tool chips, subagents, and per-prompt cost.](/screenshots/graph-window.png)

Stream — a live feed of the active session

![The Stream panel in Cursor: a live event feed following the session you have selected.](/screenshots/stream-window.png)

Agent Coaching — how you drove the agent, offline

![The Agent Coaching panel in Cursor: interruptions, plan-mode use, tool success, and subagents.](/screenshots/agent-coaching-window.png)

* * *

## Names and numbers, on the record.

Each event carries enrichment slugs computed locally at capture time. They record *that* things happened and what they cost — not what you or the model said.

`env`

host, OS, architecture, working directory

`trace`

W3C trace and span IDs linking every event in a session

`vcs`

repo, branch, commit, dirty counts, linked pull request

`prompt`

length, word count, interrupt detection — counts, not contents

`cost`

per-request tokens and USD, cache-hit rate, model tier

`tools`

tool call names, durations, failures, MCP server, skill

`diff`

files changed, insertions, deletions per turn

`subagent`

agent type, parallelism, duration, spend

`turn`

wall clock from prompt submit to Stop

`permission`

what was requested, what was denied

* * *

## Local first is not a mode. It's the default.

The CLI works with no account and no API key — that's the whole free tier, forever, MIT licensed. Sending anything anywhere requires you to opt in, and `local_only: true` makes opting in impossible. When you do connect a team, you can diff exactly what leaves the machine, because it's the same file you've been reading all along.

[How data handling works, precisely →](https://promptconduit.dev/security)

* * *

## The bill comes per tool. The questions come per repo.

Your team runs Claude Code, Cursor, and whatever shipped last month, each billed on its own. Vendor dashboards stop at their own tool, and their telemetry exports are usually an enterprise-plan feature. Connect a team and every member's sessions roll up into one view of what AI coding costs and where it goes.

Team cost — demo team, sample data

![The team cost page: 30-day spend, sessions, and members, prompt-cache savings, and a savings report estimating what lighter models would save against the Team plan price.](/screenshots/team-cost-window.png)

-   **Spend by member, model, repo, branch, and PR.** The breakdown whoever pays for the tokens keeps asking for.
-   **Claude Code with nothing to install.** Point Claude Code's built-in telemetry at PromptConduit. [Six settings](https://promptconduit.dev/docs/claude-code-telemetry)
-   **Claude Code and Cursor in one view.** Both captured by the same CLI, priced from public API rates. Gemini CLI, Codex, Copilot, and Grok Build are [experimental](https://promptconduit.dev/docs/tools#experimental).
-   **Per client, for agencies.** The repo view is spend per client: re-bill it or price the next fixed bid. [How agencies use it](https://promptconduit.dev/for/agencies)
-   **Budgets with alerts.** A monthly budget for the team, a repo, or a member, with an alert at 80% and 100% by email and in Slack.
-   **On the pull request.** GitHub PR comments show the AI spend behind each change.
-   **In your agent, not just a browser.** Every number here is one question away in Claude Code, Cursor, or Gemini CLI. [MCP server](https://promptconduit.dev/docs/agents)

Budgets — month to date, on pace for

![Four monthly budgets with progress bars: the whole team at 63%, one repo at 92%, one member at 68%, and one repo over budget at 125%.](/screenshots/team-budgets-window.png)

Spend by branch and pull request

![Two tables: AI spend per branch and per pull request, each labeled with its repository.](/screenshots/team-by-pr-window.png)

[Free up to 3 — Team from $99/month](https://promptconduit.dev/pricing)

* * *

## Guides to what the numbers mean.

### [From the blog](https://promptconduit.dev/blog)

-   [What 4,206 Failed Claude Code Tool Calls Taught Us](https://promptconduit.dev/blog/claude-code-failed-tool-calls)
    
    Claude Code's PostToolUseFailure hook has no tool\_response, only an error field. Our ingest missed that and logged 4,206 failed tool calls as successes. What the real failure rate turned out to be, and what failure mining found.
    
-   [AI Agents Tripled Your GitHub Actions Bill](https://promptconduit.dev/blog/github-actions-bill-tripled-with-agents)
    
    Our GitHub Actions bill went from $5.76 to about $24 in a month of agent PRs. What drove it, the five CI waste patterns agents cause, and the fix for each.
    
-   [What's new in PromptConduit 2026-11](https://promptconduit.dev/blog/whats-new-2026-11)
    
    November 2026 in PromptConduit: a remote MCP server, an OpenAPI 3.1 spec, subagent cost now counted, batched uploads and corrected model rates.
    

### [Coaching guides](https://promptconduit.dev/coaching)

-   [Adopt skills and slash-commands](https://promptconduit.dev/coaching/adopt-skills-and-slash-commands)
    
    Capture repeatable work as skills instead of retyping long prompts.
    
-   [Batch your tool calls](https://promptconduit.dev/coaching/batch-tool-calls)
    
    Grouping independent reads and edits cuts round-trips and output tokens.
    
-   [Delegate with subagents](https://promptconduit.dev/coaching/delegate-with-subagents)
    
    Parallel agents cover more ground and keep your main context clean.
    

get started

$ curl -fsSL https://promptconduit.dev/install | bash
$ promptconduit init
✓ hooks installed — capturing to ~/.promptconduit/events.jsonl

```json
{
  "@context": "https://schema.org",
  "@type": "SoftwareApplication",
  "@id": "https://promptconduit.dev/#software",
  "name": "PromptConduit",
  "applicationCategory": "DeveloperApplication",
  "operatingSystem": "macOS, Linux, Windows",
  "description": "PromptConduit shows what AI coding costs per developer, repo, and pull request across Claude Code and Cursor. An open-source CLI records every session to a local JSONL file first, with git context and exact cost computed on your machine. Teams sync to see spend across members, models, repos, and clients, with budgets and alerts.",
  "url": "https://promptconduit.dev",
  "installUrl": "https://promptconduit.dev/docs/installation",
  "softwareHelp": {
    "@type": "CreativeWork",
    "url": "https://promptconduit.dev/docs"
  },
  "releaseNotes": "https://promptconduit.dev/changelog",
  "license": "https://opensource.org/licenses/MIT",
  "isAccessibleForFree": true,
  "publisher": {
    "@id": "https://promptconduit.dev/#organization"
  },
  "offers": [
    {
      "@type": "Offer",
      "name": "Free",
      "description": "The full CLI on your machine, and a team of up to 3.",
      "price": "0",
      "priceCurrency": "USD",
      "url": "https://promptconduit.dev/pricing",
      "availability": "https://schema.org/InStock",
      "eligibleQuantity": {
        "@type": "QuantitativeValue",
        "maxValue": 3,
        "unitText": "members"
      }
    },
    {
      "@type": "Offer",
      "name": "Team",
      "description": "Up to 15 members. One flat price, no seat math.",
      "price": "99",
      "priceCurrency": "USD",
      "url": "https://promptconduit.dev/pricing",
      "availability": "https://schema.org/InStock",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "99",
        "priceCurrency": "USD",
        "unitCode": "MON",
        "referenceQuantity": {
          "@type": "QuantitativeValue",
          "value": 1,
          "unitCode": "MON"
        }
      },
      "eligibleQuantity": {
        "@type": "QuantitativeValue",
        "maxValue": 15,
        "unitText": "members"
      }
    },
    {
      "@type": "Offer",
      "name": "Growth",
      "description": "Up to 50 members, for teams and agencies running AI across many repos.",
      "price": "249",
      "priceCurrency": "USD",
      "url": "https://promptconduit.dev/pricing",
      "availability": "https://schema.org/InStock",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "249",
        "priceCurrency": "USD",
        "unitCode": "MON",
        "referenceQuantity": {
          "@type": "QuantitativeValue",
          "value": 1,
          "unitCode": "MON"
        }
      },
      "eligibleQuantity": {
        "@type": "QuantitativeValue",
        "maxValue": 50,
        "unitText": "members"
      }
    }
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "@id": "https://promptconduit.dev/#organization",
  "name": "PromptConduit",
  "url": "https://promptconduit.dev",
  "logo": "https://promptconduit.dev/favicon.svg",
  "email": "hello@promptconduit.dev",
  "contactPoint": {
    "@type": "ContactPoint",
    "contactType": "customer support",
    "email": "hello@promptconduit.dev",
    "url": "https://promptconduit.dev/about"
  },
  "sameAs": [
    "https://github.com/promptconduit/cli",
    "https://github.com/promptconduit/editor-extension",
    "https://twitter.com/promptconduit"
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "PromptConduit",
  "url": "https://promptconduit.dev",
  "description": "See what AI coding costs per developer, repo, and pull request across Claude Code and Cursor. Open-source CLI, local first; free for teams of up to 3.",
  "publisher": {
    "@id": "https://promptconduit.dev/#organization"
  }
}
```
