---
name: forgehand-usage
description: Inspect Forgehand compute spending and LLM prepaid credits, credit grants, per-model token usage, and request charges.
---

# Forgehand usage

## Compute usage

Open the web **Usage** page and select the intended team when the user belongs to several. It shows spend this month, the team cap and whether it is hard, current GPU/CPU session counts against concurrency limits, and a table of this month's sessions plus anything live. The table includes workspace, owner, class, start time, duration, state or stop reason, and cost.

For a quick CLI check, `fh classes` shows class rates, `fh session ls --all` shows session states and costs, and `fh whoami` identifies the user's teams. `fh session ls` is a session listing, not the team's monthly spend report; use the web Usage page for that total and history.

When explaining a bill, distinguish the displayed hourly class rate from the accrued session cost. Cost accumulates from launch until termination, including startup time. Compare the selected team's budget and session limits with the current usage before suggesting another session.

## LLM usage

On **Usage**, select the intended team and read **LLM usage**, **Credit grants**, and **Recent LLM requests**. These are lifetime prepaid USD credits, separate from the compute cap and monthly spend. Grants never expire or reset each month. Both `gpt-6-sol` and `gpt-6-luna` draw from the same team balance at their own rates. Your credit history shows amounts, dates, and notes. Ask your organizer for more credits when needed.

Distinguish remaining balance (granted minus spent) from available balance (remaining minus holds). Before contacting Azure the proxy reserves a conservative maximum cost; final usage replaces that hold with the actual charge. Missing usage or ambiguous failures can leave a hold. Contact support with the request ID before retrying. A positive remaining balance can still have insufficient available credit for another request.

Per-model totals include input, cached input, cache-write, output, reasoning tokens, and cost. Cached reads/writes are part of input, and reasoning is part of output; do not double-count them. Each request keeps its original price schedule. The recent tables show at most 100 entries, while totals include the entire ledger. Never describe these LLM totals as monthly compute spend.

For machine-readable data, authenticate `GET /api/v1/teams/<TEAM_UUID>/llm/usage` with a Forgehand token. Monetary fields are micro-USD (divide by 1,000,000 for dollars). `fh whoami --json` gives team UUIDs; there is no `fh llm usage` command. See the bundled `forgehand-llm` skill for client setup, reservations, and failure handling.
