[Phase 6.5] Cost & Token Tracking #74
Labels
No labels
blocked:children
blocked:commit-ready-failed
blocked:depends-231
blocked:depends-236
blocked:depends-237
blocked:depends-238
blocked:depends-239
blocked:gate-fetch
blocked:gate-fetch
blocked:gate-lint
blocked:gate-research
blocked:needs-attention
blocked:needs-decision
blocked:no-changes
blocked:no-procedure
blocked:preflight
blocked:verify-failed
bug
enhancement
feature-request
high-priority
in-progress
lint-cleanup
needs-decompose
needs-triage
ops-retry
ops-task
phase-5
quickfix
security/medium
self-building
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/mesh-seed#74
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Overview
Track LLM token usage and costs per intent for economic sustainability.
Problem Statement
Current mesh has no cost tracking:
Running mesh blind to costs is unsustainable.
Proposed Solution
6.5.1: Token Tracking in Results
6.5.2: Cost Model Registry
6.5.3: Budget Limits
6.5.4: Cost Aggregation
6.5.5: API Endpoints
Deliverables
intent_coststable in ledgerproject_budgetstable in ledgerconfig/cost_models.yaml- Model pricingsubstrate/budget_manager.py- Budget enforcement/v1/costs/*,/v1/budgets/*Dependencies
Estimated Duration
1 week
Success Criteria
Related