{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "nickelsec-bough--compare-costs-across-claude-code-and-codex",
 "repo": "nickelsec/bough",
 "repo_url": "https://github.com/nickelsec/bough",
 "repo_slug": "nickelsec-bough",
 "title": "Compare agent costs between Claude Code and Codex",
 "page_title": "How to compare agent costs between Claude Code and Codex with Bough",
 "summary": "Filter a project's history to one agent at a time to compare what each cost.",
 "who": "A developer who uses both Claude Code and Codex CLI and wants to see where each one's work went and what it cost.",
 "problem": "Mixed history from two agents in one project list makes it hard to judge which agent handled which work.",
 "outcome": "Separate views of the same projects for Claude Code and for Codex, each with its own cost totals.",
 "steps": [
  "Install Bough as described in the README.",
  "Run `bough --agent=claude` to show only Claude Code work.",
  "Run `bough --agent=codex` to show only Codex CLI work.",
  "Compare the totals for the same project in each view and note any figures that look wrong, as the README asks."
 ],
 "agent_prompt": "In the bough repo at github.com/nickelsec/bough, run `bough --agent=claude --text` and `bough --agent=codex --text`. Report the total API-rate cost from each output and state which agent's figures the README says deserve more suspicion.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Beginner",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "The README says Codex and Pi support is newer and has had less exposure than Claude Code, so Codex figures deserve more checking.",
 "category": "Money",
 "tags": [
  "Money"
 ],
 "lang": "go",
 "requirements": [
  "A Claude Code, OpenAI Codex CLI or Pi installation with existing session history on this machine",
  "Homebrew on macOS, or the install script on Linux or Windows, or Go installed",
  "A terminal to run bough in"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/nickelsec-bough/compare-costs-across-claude-code-and-codex/",
 "md": "https://dedupedai.com/use-cases/nickelsec-bough/compare-costs-across-claude-code-and-codex/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/nickelsec-bough--compare-costs-across-claude-code-and-codex.json",
 "api_version": "v1"
}
