# PromptConduit > 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. PromptConduit captures every hook event from your AI coding assistant into a local JSONL file (~/.promptconduit/events.jsonl), enriched with git context, timing, tool outcomes, token counts, and exact cost — computed locally. No account is required for any local functionality. Teams can optionally sync telemetry to see AI spend across every member and tool. ## What it does - **Local capture (free, no account)**: hooks for Claude Code and Cursor write structured events to a local file. Session cost and cache reporting via `promptconduit cost`. Live cost and The Loop in the editor extension, and a Session Graph in the browser via `promptconduit graph`. Local skill generation from transcripts. Secret-looking values are masked at capture time. - **Team accounts (free up to 3 members, flat monthly plans above)**: synced telemetry rolls up into a team cost dashboard by member, model, repository, branch, pull request, and day across every tool. For agencies, the repository view is per-client spend. GitHub PR comments show the AI spend behind each pull request. - **Agent-native (MCP)**: `promptconduit install` registers a built-in MCP server (`promptconduit mcp`, stdio) with Claude Code and Cursor (and Gemini CLI when its experimental hooks are installed). Agents can answer cost questions directly: session cost, daily cost, and recent sessions with no account, plus team spend, CI cost (team_ci), savings, budgets, CSV export, client tags, invites, billing, members and Slack alerts, your own synced spend and trends, and skills (list with health, patterns with evidence, impact, generate, approve, reject, retire, keep, install including the team bundle, delete). Write tools are annotated so agents confirm first. The same team data is available as `promptconduit team ... --json`. Docs: https://promptconduit.dev/docs/agents. ## Privacy model Enrichment metadata is names and numbers only — branch names, token counts, dollar costs, tool durations — never prompt text or code; the assistant's own event JSON is kept alongside and can contain prompt text. Events are written locally, with secret-looking values masked, before any network call. Events and transcripts are uploaded only with an API key, and `local_only` mode stops that. An anonymous daily usage ping is separate (opt out with --disable-telemetry, DO_NOT_TRACK or PROMPTCONDUIT_TELEMETRY=0). Every network call the CLI makes: https://promptconduit.dev/docs/how-it-works. Details and known gaps: https://promptconduit.dev/security. ## Install ```bash curl -fsSL https://promptconduit.dev/install | bash promptconduit init ``` ## Pricing - **Free** (free): The full CLI on your machine, and a team of up to 3. - **Team** ($99/month): Up to 15 members. One flat price, no seat math. - **Growth** ($249/month): Up to 50 members, for teams and agencies running AI across many repos. - **Enterprise** (custom pricing): More than 50 members, or procurement in the loop. PromptConduit plan prices are separate from model API rates. Grok 4.7 costs $2 per million input tokens, $6 per million output tokens, and $0.50 per million cache-read tokens at Cursor's published short-context rate (snapshot November 5, 2026). Grok 4.7 Fast costs $4, $12, and $1. Grok 4.7 500k costs $4, $12, and $1. Grok 4.7 500k Fast costs $6, $18, and $1.50. Full card: https://promptconduit.dev/model-rates. Machine-readable per-token snapshot: https://promptconduit.dev/model-rates.json. ## For agents - Every page is available as Markdown: send `Accept: text/markdown`, or append `.md` to its path (`/` is `/index.md`). - **Local cost data (no account)**: install the CLI (`curl -fsSL https://promptconduit.dev/install | bash`, then `promptconduit mcp install`). This adds a local stdio MCP server with session_cost, cost_history, recent_sessions and setup_status. - **Team data (remote MCP)**: `https://api.promptconduit.dev/mcp` (Streamable HTTP). Read-only tools: team_billing, team_budgets, team_ci, team_list, team_members, team_savings, team_skills_impact, team_skills_patterns, team_spend. Write tools: team_billing_checkout (needs the team:billing scope, which consent asks for by name). Full table: https://promptconduit.dev/docs/agents.md. Auth is OAuth per the MCP authorization spec: an unauthenticated call gets 401 with a WWW-Authenticate resource_metadata link; discovery at https://api.promptconduit.dev/.well-known/oauth-protected-resource/mcp, PKCE required, Client ID Metadata Documents and dynamic registration accepted. The person approves in their browser by signing in with Google or GitHub; a first sign-in creates their free account. The agent never creates an account on its own. - **Buy the Team plan**: call team_billing_checkout (tier "team" or "growth"; owners and admins only). It returns a Stripe Checkout URL. Give it to the person: they review the price and pay on Stripe's page. Nothing is charged by the call, and no card details pass through the agent. The plan activates when Stripe confirms payment; check it with the team dashboard or the billing API. - **REST API**: OpenAPI 3.1 at https://api.promptconduit.dev/openapi.json (Bearer API key from `promptconduit login` or the app). - Docs for agents: https://promptconduit.dev/docs/agents ## Links - Homepage: https://promptconduit.dev - Docs: https://promptconduit.dev/docs - Model rates (Grok 4.7 and the public API card): https://promptconduit.dev/model-rates - Model rates JSON (per-token snapshot): https://promptconduit.dev/model-rates.json - Free GitHub Actions (CI) cost audit, `promptconduit ci audit`: https://promptconduit.dev/ci-audit - Pricing: https://promptconduit.dev/pricing - Security & privacy: https://promptconduit.dev/security - Guides: https://promptconduit.dev/coaching - CLI (open source, MIT): https://github.com/promptconduit/cli - AI agents (MCP server and team commands): https://promptconduit.dev/docs/agents - Editor extension docs: https://promptconduit.dev/docs/editor-extension - Editor extension (open source, MIT): https://github.com/promptconduit/editor-extension - Changelog: https://promptconduit.dev/changelog - Blog: https://promptconduit.dev/blog (RSS: https://promptconduit.dev/blog/rss.xml) ## Docs Every docs page has a Markdown copy at the same URL plus `.md`. ### Get started - [Overview](https://promptconduit.dev/docs.md): What PromptConduit does, how capture, local cost and optional team sync fit together, and where to start as a solo developer, a team lead or an AI agent. - [Quickstart](https://promptconduit.dev/docs/quick-start.md): Install the PromptConduit CLI, run promptconduit init, and see your first captured Claude Code or Cursor event and its cost in about two minutes. - [Install, upgrade and uninstall](https://promptconduit.dev/docs/installation.md): Install the PromptConduit CLI on macOS, Linux or Windows, pin a version or install directory, keep it updated, and remove it cleanly. ### Track cost - [See what your sessions cost](https://promptconduit.dev/docs/cost.md): Price Claude Code and Cursor sessions on your machine with promptconduit cost, by session and by day, find and resume sessions, and see what CI runs cost. - [Editor extension](https://promptconduit.dev/docs/editor-extension.md): Live cost in the Cursor or VS Code status bar, and The Loop: what each prompt cost, round-trip by round-trip, and what would have made it cheaper. - [Troubleshooting](https://promptconduit.dev/docs/troubleshooting.md): Fix missing events, missing or unpriced cost, Claude Code sessions with transcript saving off, headless sign-in, an out-of-date CLI, and MCP registration. ### Teams - [Set up a team](https://promptconduit.dev/docs/teams.md): Create a team, invite people, and see AI coding cost by member, repo, client and pull request, with monthly budgets, email and Slack alerts, CSV export, roles and plans. - [Claude Code telemetry](https://promptconduit.dev/docs/claude-code-telemetry.md): Send Claude Code’s built-in OpenTelemetry to PromptConduit for team cost by member, model and repo, with nothing to install. ### Skills - [Skills](https://promptconduit.dev/docs/skills.md): Generate Claude Code skills from your own transcripts with no account. Or build them from synced and team sessions, with evidence, a daily health check and an impact report. ### Agents - [AI agents (MCP)](https://promptconduit.dev/docs/agents.md): Ask Claude Code or Cursor what a session or your team cost. The CLI’s built-in MCP server answers with live cost, budgets and savings. ### Reference - [CLI reference](https://promptconduit.dev/docs/cli-reference.md): Every promptconduit command and flag, generated from the CLI release: setup, install, cost, CI, team, MCP, sessions, sync, skills, config and diagnostics. - [Configuration](https://promptconduit.dev/docs/configuration.md): Every PromptConduit CLI setting, environment variable and file: API keys, environments, local-only mode, retention, batch upload, auto-update, the usage ping and debug mode. - [Supported tools](https://promptconduit.dev/docs/tools.md): PromptConduit captures Claude Code and Cursor in real time (Gemini CLI, Codex, Copilot, and Grok Build are experimental), and generates skills from Claude Code, Codex, and Copilot transcripts. - [API reference](https://promptconduit.dev/docs/api-reference.md): The PromptConduit REST API for sending events: the envelope, /v1/events/raw and its batch endpoint, OpenTelemetry, errors, retries, and the other public endpoints. ### Concepts - [How PromptConduit works](https://promptconduit.dev/docs/how-it-works.md): One event from hook to dashboard: the envelope, the local event log and masking, batched upload, what the platform keeps, and every network call the CLI makes. - [Security and privacy](https://promptconduit.dev/security.md): What PromptConduit captures, what it masks, what leaves your machine and when, what the platform stores, the known gaps, and how to report a problem. ## Blog posts - [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. - [What a Month of Claude Code Actually Costs: $3,435 in 30 Days](https://promptconduit.dev/blog/what-a-month-of-claude-code-costs): A real 30-day breakdown of one developer's Claude Code usage at API list prices: $3,435 across 42,861 requests, with half of it spent by subagents, and where the rest went. - [How to Attribute Claude Code and Cursor Spend to Teams and Repos](https://promptconduit.dev/blog/attribute-ai-coding-spend-to-teams-and-repos): Attribute AI coding spend from Claude Code and Cursor to each developer, repository, pull request, and client. The options per tool, what each one misses, and a setup that covers all of them. - [Claude Code OpenTelemetry: Track Cost per Developer and Repo](https://promptconduit.dev/blog/claude-code-opentelemetry-cost): Use Claude Code's built-in OpenTelemetry export to track cost per developer and repository. The settings, the api_request event fields, the gotchas (no default protocol, repo attributes off by default), and where to send it. - [Cursor Expense Tracker for Teams: Spend per Developer, Repo, and Client](https://promptconduit.dev/blog/cursor-expense-tracker): Track what your team spends on Cursor per developer, repository, pull request, and client. What Cursor's team dashboard covers, what it leaves out, and how to fill the gap with budgets and alerts. - [Cursor AI Spend by Repo and Model](https://promptconduit.dev/blog/cursor-ai-spend-by-repo-and-model): See which repositories and models drive your Cursor bill: Cursor's usage dashboard and APIs compared with local, per-request tracking tagged by git repo. - [How to Check Claude Code Token Usage and Cost](https://promptconduit.dev/blog/track-claude-code-token-usage-and-cost): How to see and check Claude Code token usage, plan limits, and session cost with /usage (/cost, /stats), a status line, /context, ccusage, the Console, and PromptConduit. - [How to Write a Claude Code Skill](https://promptconduit.dev/blog/how-to-write-claude-code-skill): Step-by-step guide to writing your first Claude Code skill: the SKILL.md format, frontmatter fields, when to use project vs user scope, and a complete /review skill you can copy. - [Claude Code Customization: 5 Ways Compared](https://promptconduit.dev/blog/claude-code-customization): A complete guide to Claude Code customization: CLAUDE.md, Skills, slash commands, hooks, and memory. Where each one lives, when to use it, and how they overlap. - [Claude Code Transcripts: Location and Format](https://promptconduit.dev/blog/claude-code-transcripts-location): Claude Code saves each session as JSONL in ~/.claude/projects (%USERPROFILE%\.claude\projects on Windows) and deletes them after 30 days by default. ## Coaching guides - [Batch your tool calls](https://promptconduit.dev/coaching/batch-tool-calls): Grouping independent reads and edits cuts round-trips and output tokens. - [Improve your cache hit rate](https://promptconduit.dev/coaching/improve-cache-hit-rate): Reuse context across turns instead of re-pasting it. Cached reads cost a tenth of normal input or less, depending on the model. - [Reduce interruptions](https://promptconduit.dev/coaching/reduce-interruptions): Stopping the agent mid-task burns tokens and breaks its plan. Front-load context instead. - [Adopt skills and slash-commands](https://promptconduit.dev/coaching/adopt-skills-and-slash-commands): Capture repeatable work as skills instead of retyping long prompts. - [Raise your tool success rate](https://promptconduit.dev/coaching/raise-tool-success-rate): Failed tool calls waste a full round-trip each. Give the agent what it needs to get them right first time. - [Delegate with subagents](https://promptconduit.dev/coaching/delegate-with-subagents): Parallel agents cover more ground and keep your main context clean. - [Isolate risky work in a worktree](https://promptconduit.dev/coaching/isolate-with-worktrees): Experiment freely on a branch without touching your main checkout. - [Right-size your MCP servers](https://promptconduit.dev/coaching/right-size-mcp-servers): Connect the MCP servers you actually use and prune the rest. - [Use plan mode for non-trivial work](https://promptconduit.dev/coaching/use-plan-mode): Planning before editing catches wrong approaches before they cost tokens.