Költségek hozzárendelése és egyeztetése
Tulajdonosokhoz és futásokhoz kapcsolja a költségeket, majd összeveti a belső összegeket a szolgáltatói adatokkal.
cost-attribution-reconciliation
Nézd meg, miben segítMikor hasznos?
Akkor használd, ha meg kell magyaráznod, ki okozta a költséget és miért tér el a számla.
Miben segít neked?
- Megőrzi a kezdeményezőt és végrehajtót projekt- és futásszinten.
- Láthatóan tartja a belső és még besorolatlan költségeket.
- Elkülöníti a hiányzó eseményt, időablakeltérést és becslési különbséget.
Például ezt kérheted
Egyeztesd a napi szolgáltatói díjakat a feladatköltségekkel, külön csoportban tartva a hiányzó ügyfél-hozzárendelést. Külön mutasd a hozzárendelt, közös és tisztázatlan díjakat. Összegük legyen egyeztethető a szolgáltatói exporttal, dokumentált időablak-eltérésekkel.
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 Attribution & Reconciliation
Every unit of resource consumption must be traceable both bottom-up (from an individual task, agent step, or API request to a tenant) and top-down (from the monthly cloud/AI provider invoice back to internal usage buckets).
Workflow
- Multi-level attribution hierarchy:
- Design attribution dimensions so every cost entry can be sliced along:
- Organizational axis:
tenantId->workspaceId->projectId->userId/apiKeyId. - Execution axis:
feature/workflowId->taskId->runId->agentRole->phase->toolCallId. - Infrastructure axis:
provider->service->modelOrSku->environment(prod,staging,ci).
- Organizational axis:
- Preserve both the initiating actor (user who triggered the work) and the executing actor (subagent or worker that incurred the cost).
- Design attribution dimensions so every cost entry can be sliced along:
- Explicitly classify unattributed and platform-internal usage:
- Never drop events without a customer
tenantId. Route them to explicit internal cost centers (system:healthcheck,system:eval_suite,system:embeddings_backfill,system:unattributed_quarantine). - Track the attribution coverage ratio: $\text{Attributed Cost} / \text{Total Internal Ledger Cost}$ (target $\ge 99%$).
- Never drop events without a customer
- Reconcile internal ledger against provider billing APIs / exports:
- Ingest external usage/cost reports (OpenAI/Anthropic usage & cost APIs, cloud billing / FOCUS exports, storage metrics) segmented by provider key, workspace, project, or billing tag.
- Compare for each
(date, provider, modelOrSku)bucket: $$\Delta_{\text{units}} = \text{ProviderUnits} - \text{InternalUnits}, \quad \Delta_{\text{cost}} = \text{ProviderCost} - \text{InternalCost}$$ - Classify discrepancies systematically:
- Missing instrumentation: Endpoints, retries, or subagent calls bypassing the metering hook.
- Clock / timezone skew: Events near UTC midnight bucketed into adjacent days.
- Estimated vs. actual gap: Aborted streams or tokenizer estimates diverging from provider counts.
- Rate card mismatch: Discount tiers, cache multipliers, or minimum fees missing from the catalog.
Anti-Patterns to Avoid
- Lumping all API calls under one shared key with no metadata: Prevents verifying which environment or tenant caused an invoice spike.
- Silently smearing reconciliation errors across customers: Keep invoice variance in a dedicated
reconciliation_variancebucket until root-caused. - Confusing internal cost attribution with customer invoicing: Keep internal COGS tracking and external customer plan billing cleanly separated.
Csomagban lévő fájlok 1
SKILL.md
A skillcsomag bemutatása
cost-attribution-reconciliation
cost-attribution-reconciliation: 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-attribution-reconciliation
cost-attribution-reconciliation: 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 attributing usage and internal costs across tenants, workspaces, projects, tasks, agents, and features, and reconciling internal ledgers against external provider billing exports.
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.
