Usage
Open Usage in the signed-in GM dashboard to inspect account activity and spend.
Make usage attributable
Section titled “Make usage attributable”Create a separate API key for each application and environment. Give every key
a descriptive name such as production-api, staging-worker, or local-dev.
This makes unexpected activity easier to isolate and lets you revoke one
workload without interrupting the others.
Investigate unexpected spend
Section titled “Investigate unexpected spend”- Identify the affected key and time window in the dashboard.
- Check recent deployments, background jobs, retries, and streaming reconnects.
- Revoke the key immediately if compromise is possible.
- Replace it only in the intended workload.
- Contact hi@saygm.com with timestamps and request IDs, but never include the API key or prompt content.
Application-side telemetry
Section titled “Application-side telemetry”Record model ID, status, latency, and your own correlation ID. Avoid logging GM keys, authorization headers, or sensitive request content. When retrying, record the attempt number so duplicated work can be distinguished from separate user requests.