DEDUPED Hot AI repos, turned into use cases Get the Monday 5

How to compare Claude Code and Codex usage and cost with Muxin

See tokens, requests and API-equivalent cost for both agents across all your machines.

Short answer: Make sure Claude Code and Codex have run on the machines you added to Muxin, so their logs exist there; then open the Usage page with ⌃5; choose the range: today, the last 7, 30 or 90 days. All steps.

Authorization notice. Muxin is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.

Who it is forA developer or team lead who uses Claude Code and Codex on several machines and wants to know where the usage goes.

The problemUsage is spread across machines and logs, so it is hard to see which models, folders or machines drive the most work and what it would cost via the API.

The outcomeYou see tokens and requests by day, model, machine and folder, plus what the same use would cost at Anthropic's and OpenAI's API list prices.

What you need first

  • A Mac, Linux or Windows 11 machine to run Muxin on, with the app installed from the latest release or built from source
  • SSH access to each target machine using your system ssh, keys or ~/.ssh/config aliases
  • A GitHub login through the gh tool if you want GitHub inbox, issue and runner features
  • For self-hosted runners, a GitHub organization you can register runners with

Steps

  1. Make sure Claude Code and Codex have run on the machines you added to Muxin, so their logs exist there.
  2. Open the Usage page with ⌃5.
  3. Choose the range: today, the last 7, 30 or 90 days.
  4. Read tokens and requests by model, machine and folder.
  5. Compare the API list price figure with your plan, remembering that with a Claude or ChatGPT plan you do not pay per token.

Prompt for your agent

Using the Muxin repo at LumaryLabsLLC/muxin, open the Usage page for the last 30 days and report total tokens, requests and API-equivalent cost for Claude Code and Codex by machine. Verify the totals against one machine's logs before you give the final numbers.

Caveat. Usage is read from the logs Claude Code and Codex keep on each machine, so machines not added to Muxin or with no logs will not appear in the totals.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for LumaryLabsLLC/muxin and "Compare Claude Code and Codex usage and cost"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer