AI Session Meter · User Guide

User guide · version 2.3

Know before you hit the limit.

Everything AI Session Meter does, in the order you'll meet it — from install to forecasts, Codex, Stats, iPhone, widgets, and Apple Watch.

macOS 13+ · iOS 16+ · Apple Watch · ~8 min read

Step 01 · Install

One download covers every device

Get AI Session Meter on the App Store. A single listing installs the Mac menu bar app, the iPhone/iPad app, and the Apple Watch app — one purchase later unlocks all of them.

  • Mac — macOS 13 (Ventura) or later
  • iPhone / iPad — iOS 16 or later
  • Claude Max or Pro subscription — required to read the usage endpoint; free or API-only Claude accounts can't be metered
AI Session Meter running on iPad, iPhone, and Apple Watch
One app across iPad, iPhone & Apple Watch, synced through your own iCloud.

Step 02 · Trial

Your 14-day trial starts by itself

On first launch every feature is unlocked for 14 days. There is nothing to activate — the welcome screen simply tells you the trial has begun. Use the whole app: forecasts, Stats, Codex, sync, widgets, Watch.

When the trial ends, the app keeps running and shows an unlock screen instead of the meters. A one-time $4.99 purchase brings everything back permanently — no subscription (see Step 10).

Bought the app before it went free? Your full access is restored automatically — no purchase needed.

Step 03 · Connect

Connect your Claude account on the Mac

The first time you launch AI Session Meter, a setup guide opens automatically and walks you through connecting your Claude account in a couple of clicks. Click Sign in, complete Claude's sign-in in your browser, and the guide shows Claude connected once your session is live. Reopen it anytime from Setup guide… in the popover.

Connection expired? The account switches to needs reconnect — click Sign in again to restore it in a couple of clicks.

Manual setup from the Terminal

  1. Run claude once in Terminal so a fresh session token exists.
  2. Copy the token to your clipboard:
security find-generic-password -s "Claude Code-credentials" -w | pbcopy
  1. Click the AI Session Meter icon in the menu bar, paste into the token field, and press Save.
  2. The popover shows “Authenticated (auto-refresh)” — from now on the app refreshes the token for you. You normally never paste it again.

security is Apple's signed, built-in tool. If a Keychain prompt appears, click Allow — AI Session Meter itself never touches the Keychain.

More than one account

Use Add account in the popover to track several subscriptions side by side. Each account can be renamed to a friendly alias, hidden, re-ordered, or removed — removing an account deletes its stored token from your Mac.

Optional: API spend

Paste a Claude Admin key (sk-ant-admin…) instead of a session token to track this month's API spend alongside your subscriptions.

AI Session Meter Mac menu bar popover with session and weekly meters, next to the Terminal token setup
The menu bar popover — meters for every account, auto-refreshing.

Step 05 · Forecasts

What the forecast badges mean

AI Session Meter measures your real recent pace instead of assuming every session behaves the same. Flat usage stays at the current percentage; increasing usage shows where you may land by reset — and a projection never drops below what you have already used.

On the Daily and Weekly charts, that forecast now extends onto the graph itself: an amber band marks the range you're likely to land in by the next reset, bounded by dashed upper and lower lines. The chart's timeline stretches out to the next reset, marked with its own dashed line and clock time.

Safe

At the current pace you'll stay under the limit through the reset.

Tight

You may land near the limit — worth keeping an eye on.

Likely to hit

On pace to reach the limit before the window resets, with the estimated time.

Learning

Not enough evidence yet — the app says so instead of claiming false precision.

Hover a reset marker on any Daily or Weekly chart — or touch it on iPhone / iPad — to see which account resets there, and whether it's the 5-hour session reset or the weekly reset.

Mac Stats Daily chart with an amber projected-range band leading up to the next reset and a likely-to-hit warning
Daily forecast on the Mac — the amber band shows where your pace may land by the next reset.
Daily tab on iPhone showing a session meter with a measured burn-rate forecast
Daily view — the same forecast language on every device.

Step 06 · Codex

Track Codex too (Mac)

If you use the OpenAI Codex CLI, the Mac app can read its local session logs and add Codex to your meters and Stats. Nothing is sent anywhere — OpenAI provides no public usage API, so everything is computed on your Mac from files you allow.

  • Default location: ~/.codex/sessions. If your logs live elsewhere, pick the folder in Settings (the app also honors the CODEX_HOME environment variable).
  • The popover gains Codex weekly-limit rows; Stats gains a per-model Codex token view.
  • Codex token counts exclude cached input, so the scale stays meaningful.
  • Each reading is labeled with its source — “Live · Codex” when the Codex app server is running, “Local activity” from your CLI logs, or “Last known” for the most recent reading — so you always know how fresh the number is.
Stats Models view with the Codex provider selected, showing tokens per 10 minutes by model
Stats · Codex — model-by-model tokens, cached input excluded.

Step 07 · Stats

Explore the Stats window

Open Stats from the popover. A provider switch at the top toggles between Claude Code and Codex; Stats remembers your last view and range.

  • Daily — recent sessions with history at up to 10-minute detail.
  • Weekly — the week per account and per model, with reset markers, plus a new 14-day range that adds day-level history before the recent week. Hovering the chart now includes the date too, for example “Wed Jul 22 15:00”.
  • Overview — an activity heatmap plus totals: tokens, sessions, streaks.
  • Models — token usage broken down by model over 12-hour, 24-hour, 3-day, and 7-day ranges — on the Mac, all the way to all time. Hover a reset marker on this chart to see its kind and time (session or weekly) — account names aren't shown here, to keep your synced history compact.
Mac Stats window showing the Daily and Weekly tabs with history charts
Daily & Weekly — recent history at up to 10-minute detail.
Mac Stats window showing the Overview heatmap and per-model token totals
Overview heatmap & per-model tokens.

Merging an account's history

If the same account shows up under an old name (for example after deleting and re-adding it), use the link button in the Stats toolbar to merge the historical identity into the current one. Merging never rewrites history — it only groups it — and can be undone with Separate.

Step 08 · iPhone & iPad

Take it with you

There are two independent ways to get data on iPhone or iPad — use either, or both:

  1. Sign in on the device. In the app's Settings, connect your Claude account to fetch live session and weekly usage right on the phone — no Mac required.
  2. Sync from your Mac. Sign in to the same iCloud account on both devices and keep the Mac app running. Your recorded history, forecasts, and Codex stats appear automatically.

Codex stats and long history always come from the Mac via iCloud sync — the phone can't read CLI logs. Until real data arrives, the app shows a clearly-labeled sample data banner so you can explore the screens; it disappears on its own (or tap Hide).

Weekly tab on iPhone with per-account and per-model bars and forecast badges
Weekly — accounts & models
Stats Models view on iPhone showing tokens per 10 minutes by Claude model
Stats · Models
Stats Overview on iPhone with an activity heatmap and totals
Stats · Overview

Step 09 · Widgets & Watch

Widgets and Apple Watch

Home Screen widgets

  1. Touch and hold the Home Screen, then tap the Edit / button.
  2. Search for AI Session Meter.
  3. Choose a Daily or Weekly widget in the size you like.

The app's Widgets tab previews every layout before you commit.

Apple Watch

The Watch app shows your current session and weekly limits at a glance, and a watch-face complication keeps the number one raise-of-the-wrist away. The Watch displays history recorded by your iPhone and Mac — it never connects to an AI service itself.

Widget gallery previews for Daily and Weekly widgets on iPhone
Widget previews in the app
Apple Watch showing the current Claude session percentage and weekly summary
At a glance on Apple Watch

Step 10 · Unlock

Unlock everything, once

After the 14-day trial, a single $4.99 purchase — Unlock Everything — restores every feature permanently on all your devices. It's a one-time purchase, not a subscription.

  • Where: the unlock screen that appears after the trial, or Settings on Mac and iPhone at any time.
  • Restore Purchases — reinstalling, or setting up a new device? Tap Restore and your purchase comes back through your Apple account.
  • Previous paid-era customers — if you bought the app before it went free, full access is restored automatically.
Unlock screen after the trial: one-time purchase button and Restore Purchases link
After the trial — one purchase, every device.

Reference · Troubleshooting

When something looks wrong

“Token expired” or an auth error

Run claude once to mint a fresh session, copy the token again with the command in Step 03, and paste it via Update token in the popover.

It says I need a Claude Max / Pro subscription

The usage endpoint only exists for Max and Pro subscriptions. Free or API-only accounts can't be metered.

HTTP 429 errors

The usage endpoint throttles aggressive polling. The app waits out the server's Retry-After (plus a safety margin) and recovers on its own.

The iPhone app shows no data

Either sign in on the device (Settings → connect your Claude account), or check the sync path: same iCloud account on both devices and the Mac app running. Codex stats and long history only arrive via the Mac.

I still use an old DMG install

Public DMG distribution has been discontinued. Existing installs keep working but no longer receive updates — install from the Mac App Store to stay current.

A note on reliability: the app reads a private usage API and local CLI files. A provider-side change at Anthropic or OpenAI can break metering until an app update ships.

Still stuck? Email [email protected] — or see the Support page.

Reference · Privacy

Private by design

  • The app never calls an AI model and never consumes your usage quota.
  • Your credential stays on your devices and is sent only to Anthropic's official servers.
  • No analytics, no tracking, no ads. Sync uses only your own iCloud account.

Full policy: Privacy Policy.

使い方ガイド · バージョン 2.3

上限に達する前に、分かる。

インストールから予測の読み方、Codex、Stats、iPhone、ウィジェット、Apple Watch まで — AI Session Meter の全機能を、実際に使う順番で説明します。

macOS 13+ · iOS 16+ · Apple Watch · 約8分で読めます

Step 01 · インストール

1つのダウンロードで全デバイス

App Store で AI Session Meter を入手してください。1つのリストで Mac のメニューバーアプリ・iPhone/iPad アプリ・Apple Watch アプリがインストールでき、購入も1回で全デバイスに適用されます。

  • Mac — macOS 13 (Ventura) 以降
  • iPhone / iPad — iOS 16 以降
  • Claude Max または Pro のサブスクリプション — 使用量エンドポイントの読み取りに必要です。無料アカウント・APIのみのアカウントは計測できません
iPad・iPhone・Apple Watch で動作する AI Session Meter
iPad・iPhone・Apple Watch — ご自身の iCloud で同期。アプリの表示は日本語にも対応しています。

Step 02 · トライアル

14日間トライアルは自動で始まる

初回起動時から14日間、すべての機能が使えます。操作は不要 — ウェルカム画面でトライアル開始が案内されるだけです。予測・Stats・Codex・同期・ウィジェット・Watch まで、全部そのまま試してください。

トライアル終了後もアプリは動き続け、メーターの代わりにアンロック画面が表示されます。買い切り $4.99 の購入で全機能が永続的に戻ります。サブスクリプションではありません(Step 10)。

無料化前の有料アプリ時代にご購入済みの方: 追加購入は不要です。フルアクセスが自動的に復元されます。

Step 03 · 接続

Mac で Claude アカウントを接続する

初回起動時には、セットアップガイドが自動的に開き、数クリックで Claude アカウントの接続を案内します。サインインをクリックしてブラウザで Claude のサインインを完了すると、セッションが有効になった時点でガイドに「接続済み」と表示されます。ポップオーバーの「セットアップガイド…」からいつでも再度開けます。

接続の期限が切れたら? アカウントの表示が「要再接続」に変わります — 「再度サインイン」をクリックすれば数クリックで復旧します。

ターミナルからの手動セットアップ

  1. ターミナルで claude を一度実行し、新しいセッショントークンを作ります。
  2. トークンをクリップボードへコピー:
security find-generic-password -s "Claude Code-credentials" -w | pbcopy
  1. メニューバーの AI Session Meter アイコンをクリックし、入力欄に貼り付けて保存
  2. 認証済み(自動更新)」と表示されれば完了。以降はアプリがトークンを自動更新するため、通常は貼り直し不要です。

security は Apple 署名済みの標準ツールです。Keychain の許可ダイアログが出たら許可を選んでください — AI Session Meter 本体が Keychain に触れることはありません。

複数アカウント

ポップオーバーのアカウント追加で、複数のサブスクリプションを並べて計測できます。各アカウントは分かりやすい表示名に変更でき、非表示・並び替え・削除も可能です。削除すると保存されていたトークンは Mac から消去されます。

任意: API 支出の計測

セッショントークンの代わりに Claude の Admin キーsk-ant-admin…)を貼ると、今月の API 支出をサブスクリプションと並べて表示できます。

セッション/週間メーターを表示する Mac のメニューバーポップオーバーと、ターミナルでのトークン設定
メニューバーのポップオーバー — 全アカウントのメーターを自動更新で表示。

Step 04 · メニューバー

メニューバーをひと目で読む

メニューバーのアイコンには、各アカウントの現在セッションの使用率が表示されます(例: 5% · 59%)。色は予測に連動し、リセット前に上限へ達しそうなアカウントがあると警告アイコンに切り替わります。

アイコンをクリックするとポップオーバーが開きます:

  • セッション行 — 現在の5時間枠の使用率、リセットまでの残り時間(今は時刻も併記されます。例: リセットまで 3時間12分(14:54))、そして「16:40 に上限到達ペース」「安全 · リセット時 約42%」のような予測キャプション。
  • 週間行 — 週間リミット(全モデル+モデル別)。リセットは曜日つきで明示されます: リセットまで 5日22時間(水 14:00)
  • Codex 行 — Codex 計測を有効にしている場合のレート制限(Step 06)。
  • Stats・設定 — Stats ウィンドウと設定へのボタン。

ポップオーバーの全リセット行がこの形式に統一され、リセットが過ぎると「リセット済み」と表示されます。

すべて自動で適切な間隔で更新されます。更新ボタンを連打する必要はありません。

Step 05 · 予測

予測バッジの意味

AI Session Meter は、どのセッションも同じ速さと仮定せず、直近の実際のペースを計測して予測します。横ばいなら現在の%のまま、増加中ならリセット時の着地見込みを表示します — 予測がすでに使った分を下回ることはありません。

Daily / Weekly グラフでは、この予測がグラフ上にも表示されるようになりました。次のリセットまでに着地しそうな範囲を黄色の帯で示し、上下は破線で区切られます。グラフの時間軸も次のリセットまで延び、そこには専用の破線と時刻が表示されます。

安全

今のペースならリセットまで上限に達しません。

余裕少

上限近くに着地する可能性があります。注意しておきましょう。

到達見込み

リセット前に上限へ達するペースです。推定到達時刻も表示されます。

学習中

まだ判断材料が不足しています。不確かなときは、断定せずそう表示します。

グラフのリセットマーカーにホバー(iPhone / iPad ではタップ)すると、どのアカウントがそこでリセットされるか、5時間セッションのリセットか週間リセットかが分かります。

次のリセットまでの黄色い予測帯と到達見込みの警告を表示する Mac の Stats Daily チャート
Mac の Daily 予測 — 黄色の帯が、このペースでの着地見込みレンジを示します。
実測バーンレート予測つきのセッションメーターを表示する iPhone の Daily タブ
Daily 画面 — どのデバイスでも同じ予測の言葉で表示。

Step 06 · Codex

Codex も計測する(Mac)

OpenAI の Codex CLI を使っている場合、Mac アプリがローカルのセッションログを読み取り、メーターと Stats に Codex を追加できます。どこにも送信されません — OpenAI は公開の使用状況 API を提供していないため、すべて許可したファイルから Mac 上で計算されます。

  • 既定の場所は ~/.codex/sessions。別の場所にある場合は設定でフォルダを選択します(CODEX_HOME 環境変数も参照されます)。
  • ポップオーバーに Codex の週間リミット行が、Stats にモデル別の Codex トークン表示が追加されます。
  • Codex のトークン数はキャッシュ入力を除外して集計されるため、スケールが実感に合います。
  • 各Codexの数値には出所ラベルが付きます — アプリサーバーが起動していればライブ値、CLIログからのローカル活動、直近の最終確認値のいずれかで、データの鮮度がひと目で分かります。
Codex を選択した Stats の Models 画面。モデル別に10分刻みのトークンを表示
Stats · Codex — モデル別トークン、キャッシュ入力は除外。

Step 07 · Stats

Stats ウィンドウを使いこなす

ポップオーバーから Stats を開きます。上部のスイッチで Claude CodeCodex を切り替えられ、最後に見ていた画面と期間は記憶されます。

  • Daily — 直近のセッションを最大10分刻みの履歴で表示。
  • Weekly — 週の使用量をアカウント別・モデル別に、リセットマーカーつきで表示。新しい14日レンジでは、直近1週間に加えてそれ以前の日単位の履歴も表示されます。グラフをホバーすると日付も表示されるようになりました(例:「Wed Jul 22 15:00」)。
  • Overview — アクティビティのヒートマップと合計(トークン・セッション数・連続記録)。
  • Models — モデル別のトークン使用量。期間は12時間・24時間・3日・7日 — Mac では全期間まで。このグラフのリセットマーカーにホバーすると種類(セッション/週間)と時刻が分かります(同期データを軽く保つため、アカウント名はここには表示されません)。
Daily と Weekly タブの履歴グラフを表示する Mac の Stats ウィンドウ
Daily & Weekly — 最大10分刻みの履歴。
Overview のヒートマップとモデル別トークン合計を表示する Mac の Stats ウィンドウ
Overview ヒートマップとモデル別トークン。

アカウント履歴の統合

同じアカウントが以前の名前で別々に表示される場合(削除して再ログインした後など)、Stats ツールバーのリンクボタンから過去の履歴を現在のアカウントに統合できます。統合は履歴を書き換えず、グループ化するだけ — 分離でいつでも元に戻せます。

Step 08 · iPhone & iPad

外でも確認する

iPhone / iPad でデータを表示する方法は2つあり、どちらか一方でも併用でも使えます:

  1. 端末上でサインイン。 アプリの設定から Claude アカウントを接続すると、Mac なしでライブのセッション/週間使用量を端末上で取得できます。
  2. Mac から同期。 両方のデバイスを同じ iCloud アカウントにサインインし、Mac アプリを起動しておくと、記録済みの履歴・予測・Codex 統計が自動的に表示されます。

Codex 統計と長期履歴は常に Mac から iCloud 同期で届きます(iPhone は CLI ログを読めません)。実データが届くまでは「サンプルデータ」と明示されたバナーつきで画面を試せます。実データが届くと自動的に消えます(非表示で手動でも消せます)。

アカウント別・モデル別のバーと予測バッジを表示する iPhone の Weekly タブ
Weekly — アカウントとモデル
Claude のモデル別に10分刻みのトークンを表示する iPhone の Stats Models 画面
Stats · Models
アクティビティヒートマップと合計を表示する iPhone の Stats Overview 画面
Stats · Overview

Step 09 · ウィジェットと Watch

ウィジェットと Apple Watch

ホーム画面ウィジェット

  1. ホーム画面を長押しして、編集 / をタップ。
  2. AI Session Meter を検索。
  3. Daily または Weekly のウィジェットを好きなサイズで追加。

アプリ内のウィジェットタブで、追加前に全レイアウトをプレビューできます。

Apple Watch

Watch アプリでは現在のセッション/週間リミットをひと目で確認でき、ウォッチフェイスのコンプリケーションにも対応。手首を上げるだけで数字が見えます。表示されるのは iPhone や Mac が記録した履歴で、Watch 自体が AI サービスへ接続することはありません。

iPhone の Daily / Weekly ウィジェットのプレビューギャラリー
アプリ内のウィジェットプレビュー
現在の Claude セッション使用率と週間サマリーを表示する Apple Watch
Apple Watch でひと目に

Step 10 · アンロック

1回の購入で、全機能を永続アンロック

14日間のトライアル終了後は、買い切り $4.99 の「全機能アンロック」を1回購入するだけで、すべてのデバイスで全機能が永続的に使えます。サブスクリプションではありません。

  • 購入場所: トライアル終了後に表示されるアンロック画面、または Mac / iPhone の設定からいつでも。
  • 購入を復元 — 再インストールや新しいデバイスでは「購入を復元」をタップすると、Apple アカウント経由で購入が戻ります。
  • 有料アプリ時代にご購入済みの方 — 無料化前に購入されていた場合、フルアクセスは自動的に復元されます。
トライアル終了後のアンロック画面。買い切り購入ボタンと「購入を復元」リンク
トライアル終了後 — 1回の購入で全デバイス。

Reference · トラブルシューティング

おかしいと思ったら

トークン失効・認証エラーが出る

claude を一度実行して新しいセッションを作り、Step 03 のコマンドでトークンを再コピーして、ポップオーバーのトークン更新から貼り直してください。

Claude Max / Pro サブスクリプションが必要と表示される

使用量エンドポイントは Max / Pro サブスクリプション専用です。無料アカウント・API のみのアカウントは計測できません。

HTTP 429 エラーが出る

使用量エンドポイントは過度なポーリングを制限します。アプリはサーバーの Retry-After(+安全マージン)だけ待って自動的に回復します。

iPhone アプリにデータが表示されない

端末上でサインインする(設定 → Claude アカウントを接続)か、同期経路を確認してください: 両デバイスが同じ iCloud アカウントで、Mac アプリが起動していること。Codex 統計と長期履歴は Mac 経由でのみ届きます。

古い DMG 版を使っている

公開 DMG 配布は終了しました。既存のインストールは動き続けますが、アップデートは届きません。最新版を使うには Mac App Store 版をインストールしてください。

信頼性について: 本アプリは非公開の使用量 API とローカルの CLI ファイルを読み取ります。Anthropic / OpenAI 側の変更があると、アプリの更新が出るまで計測が止まることがあります。

解決しない場合は [email protected] までメールでご連絡ください(日本語可)。サポートページもどうぞ。

Reference · プライバシー

プライバシー重視の設計

  • AI モデルを呼び出さないため、お客様の使用枠を消費しません。
  • 認証情報はお使いのデバイス内に保存され、送信先は Anthropic の公式サーバーのみです。
  • アナリティクス・トラッキング・広告なし。同期にはご自身の iCloud アカウントのみを使用します。

全文: プライバシーポリシー