roy-tong
roy-tong
A follow-up to #1445 (Anthropic cache tokens), from the same 30-project conformance audit. **The observation** AgentOps uses the older GenAI semconv attribute names in `agentops/semconv/span_attributes.py` (~L61-63): ```python LLM_USAGE_PROMPT_TOKENS = "gen_ai.usage.prompt_tokens"...
A semantics question found while auditing token accounting across agent-telemetry SDKs. **The observation** On the Anthropic paths, usage extraction reads only `usage.input_tokens` / `usage.output_tokens` and computes `total = input +...
A cost-calculation question found while auditing observability platforms for a 30-project conformance check. **The observation** In `packages/cost/usage/openAIUsageProcessor.ts` (~L236-239): ```ts const rejectedTokens = completionDetails.rejected_prediction_tokens ?? 0; const acceptedTokens = completionDetails.accepted_prediction_tokens ??...
Pricing-table verification request from an external metering audit (we maintain an open audit of ~110 usage-accounting tools, 20 merged fixes; [report](https://github.com/roy-tong/AgentMeasure/blob/main/campaigns/audit-report-2026-09.md)). Three rows in `DEFAULT_MODEL_PRICING` (server.js): **1. `claude-opus-4-6` / `4-5`...
One semantics finding from an external metering audit (we maintain an open audit of ~110 usage-accounting tools, 20 merged fixes; [report](https://github.com/roy-tong/AgentMeasure/blob/main/campaigns/audit-report-2026-09.md)). Sourcing from litellm's map (with bundled fallback + 24h...
**Version / commit:** master @ 7939341 (also visible on current HEAD) **What happened** The same tracking database produces contradictory "$ saved" numbers from the two reporting subcommands, because two hardcoded...
A comment/code mismatch I'd like to check while auditing token aggregation semantics. **The mismatch** `src/phoenix/server/api/dataloaders/token_counts.py` (~L114-118) carries this comment (quoting from the source): > Aggregate only leaf LLM spans. Frameworks...
Two streaming-usage semantics questions from an external metering audit (we maintain an open audit of ~110 usage-accounting tools with 20 merged fixes; [report](https://github.com/roy-tong/AgentMeasure/blob/main/campaigns/audit-report-2026-09.md)). Both are in `service/process.go`, both are the...
### Display Name AgentMeasure ### Category Observability & Monitoring > Usage & Cost ### Link https://github.com/roy-tong/AgentMeasure ### Author Name Roy Tong ### Author Link https://github.com/roy-tong ### Description Open measurement infrastructure...
### Display Name AgentMeasure ### Category Observability & Monitoring > Usage & Cost ### Link https://github.com/roy-tong/AgentMeasure ### Author Name Roy Tong ### Author Link https://github.com/roy-tong ### Description Open-source conformance and...