Részletezhető költségkimutatások
Érthető költségriportot készít, amelyből elérhetők az összeget okozó feladatok és eredeti használati tételek.
cost-reporting-drill-down
Nézd meg, miben segítMikor hasznos?
Akkor használd, ha meg kell magyaráznod egy költési összeget vagy munkánkénti költséget.
Miben segít neked?
- Egyezően tartja a szervezeti, szolgáltatási, projekt- és futásösszegeket.
- Összesített adatokból szolgálja ki a nézetet, részletesekből a vizsgálatot.
- Jelzi a frissességet, mértékegységet és még becsült részt.
Például ezt kérheted
Tervezz költségnézetet, amely ügyfélösszegből modellekre, futásokra és eredeti naplótételekre nyitható. A havi összegből nyiss meg egy drága futást. A nyers események, árváltozat és korrekciók magyarázzák az összeget más szervezet adatainak felfedése nélkül.
Részletes dokumentáció
Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.
Összecsukás
Cost Reporting & Drill-Down
A cost number that cannot be drilled down to the exact tasks, agent turns, or storage buckets that produced it will not be trusted by users, operators, or finance teams.
Workflow
- Hierarchical drill-down without loss of consistency:
- Support seamless drill-down paths where every level sums to the exact parent total:
- Organization / Tenant Summary: Total direct cost, allocated cost, budget utilization %, and period-over-period delta.
- Service / Resource Breakdown: LLM inference vs. storage vs. bandwidth vs. background compute.
- Workflow / Project / Agent Breakdown: Which project, workflow, or agent role (
agentRole,model) consumed the budget. - Task & Run Trace: Individual
taskId/runIdwith turn-by-turn token progression, cache hit rate, retries, and duration. - Raw Ledger Entries: The underlying immutable events with
occurredAt,rateVersionId,certainty, andproviderRequestId.
- Support seamless drill-down paths where every level sums to the exact parent total:
- Query pre-aggregated rollups for dashboards; raw ledgers for trace inspection:
- Serve time-series charts (
hourly,daily,monthly) and top-N leaderboards from pre-aggregated rollup tables indexed by(tenant_id, bucket_start, service, model, agent_role)so dashboard queries return in milliseconds regardless of raw event volume. - Coordinate with the database specialist on composite indexes and partitioning, and with the data visualization specialist so time-bucket boundaries, currency formatting, and unit labels (
tokens,GB-month,USD) are unambiguous.
- Serve time-series charts (
- Surface data freshness, certainty, and unit economics:
- Include metadata on every report response:
asOfTimestamp/watermarkTimestamp: How fresh the rollup data is.estimatedShareMicrosvs.providerReportedMicrosvs.reconciledMicros: Clearly badge any portion of recent spend that still relies on local estimates.
- Compute actionable unit-economics metrics:
- Average and P95 cost per task / per run / per active workspace.
- Cache savings (
listCostWithoutCacheMicros - actualCostMicros) so teams can see the concrete dollar return of prompt caching and model routing optimizations.
- Include metadata on every report response:
Anti-Patterns to Avoid
- Running
SUM()over tens of millions of raw events on every dashboard page load: Always use incremental rollups for overview ranges and reserve raw event queries for single-run drill-downs or export jobs. - Many-to-many join fan-out in reporting SQL: Joining usage events directly to multi-row tag or membership tables without pre-aggregating inflates reported spend by the number of joined rows.
Csomagban lévő fájlok 1
SKILL.md
A skillcsomag bemutatása
cost-reporting-drill-down
cost-reporting-drill-down: Következetes mérési eseményekkel, árazással, kvótákkal, egyeztetéssel és részletes riportokkal teszi érthetővé a használatot és AI-költségeket.
Összecsukás
cost-reporting-drill-down
cost-reporting-drill-down: Következetes mérési eseményekkel, árazással, kvótákkal, egyeztetéssel és részletes riportokkal teszi érthetővé a használatot és AI-költségeket.
A teljes skillt és a hozzá tartozó fájlokat tartalmazza (1 fájl). Az alábbi eredeti leírás rögzíti a pontos alkalmazási területét.
A skill eredeti leírása (a forrás nyelvén)
Use when building fast, accurate cost and usage reporting APIs, rollups, unit-economics views, and drill-down queries from tenant totals down to individual tasks, agent runs, and raw events.
Telepítsd a skillt, nézd át a forrását és a megbízhatósági beállításait, majd engedélyezd a megfelelő projektben vagy ügynöknél.
Előfeltételek
- A számítógépedre telepített Orqestria.
