explaingit

wangnov/codex-meter

Analysis updated 2026-07-05 · repo last pushed 2026-06-13

1JavaScriptAudience · developerComplexity · 2/5ActiveSetup · easy

TLDR

A Chrome extension that adds a spending dashboard inside ChatGPT's Codex analytics page, showing credit usage, token breakdowns, and estimated costs with local data export.

Mindmap

mindmap
  root((repo))
    What it does
      In-page usage dashboard
      Credit and cost tracking
      Token breakdown charts
      Export to JSON or CSV
    Tech stack
      Chrome extension
      JavaScript
      Buildless no compile step
    Use cases
      Track weekly credit limits
      Measure session costs
      Export usage reports
    Privacy
      No login token stored
      Data saved locally only
    Audience
      Developers
      Product managers
      Founders
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Track your team's weekly Codex credit usage to stay under a budget limit.

USE CASE 2

Check the estimated dollar cost of a specific coding session in real time.

USE CASE 3

Export your Codex usage history as JSON or CSV for accounting and reports.

What is it built with?

JavaScriptChrome Extension

How does it compare?

wangnov/codex-meteracip/slack-claude-agentalexanderdaly/neurofhe-relay
Stars111
LanguageJavaScriptJavaScriptJavaScript
Last pushed2026-06-13
MaintenanceActive
Setup difficultyeasymoderateeasy
Complexity2/53/52/5
Audiencedeveloperdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Install as an unpacked Chrome extension in developer mode, no external dependencies or compilation required.

In plain English

Codex Meter is a Chrome extension that makes it easier to see how much you are actually spending when using ChatGPT's Codex feature. If you use Codex regularly and want a clearer picture of your Credits, token consumption, cache hit rates, and estimated costs, this tool adds a convenient dashboard right inside the analytics page you already use. Instead of sending you to a separate website or dashboard, the extension injects a button and a chart directly into the Codex analytics page on ChatGPT. When you click it, a popup appears showing your current cycle totals, daily usage breakdowns, projected weekly credits, and the estimated dollar value of your usage. You can view charts broken down by credits, total tokens, or turns, and the token charts even separate uncached input, cached input, and output tokens. You can also export your usage history as JSON or CSV files for your own records. This tool is built for developers, product managers, or founders who rely on Codex heavily and need to track resource consumption without leaving their workflow. For example, if you are trying to keep your team under a certain weekly credit limit, or you want to see how much money a specific coding session cost, you can quickly pull up the in-page modal and check the numbers or export the data for a report. A notable thing about how this works is its privacy approach and its dependency on ChatGPT's internal structure. It does not store your login token or require you to log in again, it simply uses the authentication already active on your browser tab. Usage snapshots are saved locally on your machine, not on a remote server. However, because it relies on ChatGPT's private internal analytics endpoints, if OpenAI changes how their page or data is structured, the extension would need an update to keep working. It is also a "buildless" project, meaning it runs directly without a complex compilation step, and it automatically matches your language and light or dark theme settings.

Copy-paste prompts

Prompt 1
Write a Chrome extension manifest and content script that injects a dashboard button into a specific web page and shows a popup with usage charts when clicked.
Prompt 2
Create a JavaScript function that takes an array of daily usage objects with tokens and credits, calculates projected weekly totals, and renders a bar chart in a popup.
Prompt 3
Build a Chrome extension feature that exports locally stored usage snapshots to both JSON and CSV file downloads using only vanilla JavaScript.
Prompt 4
Write a content script that detects the browser's light or dark theme preference and language settings, then applies matching styles to an injected popup UI.

Frequently asked questions

What is codex-meter?

A Chrome extension that adds a spending dashboard inside ChatGPT's Codex analytics page, showing credit usage, token breakdowns, and estimated costs with local data export.

What language is codex-meter written in?

Mainly JavaScript. The stack also includes JavaScript, Chrome Extension.

Is codex-meter actively maintained?

Active — commit in last 30 days (last push 2026-06-13).

How hard is codex-meter to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is codex-meter for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.