METHODOLOGY
Cost data should show what is known — and what is not.
CostNerve is built around a simple rule: financial precision must not be invented. Provider billing evidence, reconstructed estimates and attribution confidence remain distinct so engineering teams can act on trustworthy information.
Exact provider cost
A provider-reported monetary amount is preserved with its source and currency. It is not silently replaced by a modelled estimate.
Estimated cost
When only usage is available, a cost may be reconstructed from documented pricing and usage evidence. The result remains explicitly estimated and should retain its calculation inputs.
Unallocated spend
If there is not enough evidence to associate cost with a project, customer or workload, the cost stays Unallocated. Visible uncertainty is preferred to false attribution.
Correlation is not causation
Deployments, commits, traffic, token volume and resource changes can be useful evidence around a cost movement. They help narrow an investigation, but correlation alone is not presented as proof of causation.
Read-only first
Provider connections start from a read-only posture. Any cost-control write action is a separate capability and should be explicit, scoped, reversible and audit logged.
Content review
Cost troubleshooting guides are reviewed against current first-party provider documentation when a provider-specific billing primitive is discussed. Provider pricing and product behavior can change, so the provider remains the source of truth.
Five-source reconciliation: an honest worked example
A single dashboard can contain monetary provider rows, usage-only evidence, credits and outages. A partial source is not a zero-cost source. The coverage label must travel with every total.
Vercel
Normalized monetary cost-fact path; not invoice settlement
Reconcile the project and billing period. Compare functions, compute and data transfer with the provider statement; distinguish billed amounts from estimates.
OpenAI
Normalized monetary cost-fact path; not invoice settlement
Check organization, project, model, token category and reporting window. Preserve adjustments and distinguish provider cost from usage multiplied by a public price.
GitHub
Normalized monetary cost-fact path; not invoice settlement
Match organization, billing period and Actions or storage line items. Re-runs and retained artifacts may affect the charge; do not attribute them to a repository without evidence.
Supabase
Limited: discovery and owner-provided statements; no verified automated billed-spend path
Treat project inventory and usage as diagnostic, not a paid invoice. Owner-imported statements need explicit account, period, currency, credits and duplicate controls. If the read-only database query returns fewer rows than its reported row count, withhold the review instead of displaying an apparently complete zero-spend period.
Anthropic
Not yet verified for Phase-1 customer monetary onboarding
Do not mark the period complete while cost-report pagination, replay or late corrections remain unverified. Missing rows and zero spend are different claims.
Illustration, not actual customer data: Vercel USD 12.00 + OpenAI USD 8.00 + GitHub USD 4.00 = USD 24.00 across three known rows. Supabase is partial and Anthropic unavailable, so USD 24.00 is NOT the total cost of the five-provider stack. A EUR line cannot be added to USD without a documented FX rate and timestamp.
A submitted document is not confirmed merely by HTTP 201. Match the returned tenant, connection, statement identity and line count; read back the canonical fingerprint from the same workspace. An oversized or stale response is unavailable evidence, not a zero-cost month.
Before trusting a budget alert
- Compare like-for-like billing periods and currencies. Record the provider timezone or UTC boundary before aggregating.
- Apply credits, refunds and adjustments exactly once. Preserve original line identifiers so replay does not double count.
- Show partial coverage, late arrivals and provider outages next to today and month-to-date totals. Never promote an estimate or owner-transcribed amount to a settled invoice.
- An in-app alert can reflect available evidence; it must not claim that an unobserved provider has no spend or that a cost brake stopped the provider itself.
- Integrity audit: if an API returns two rows with the same provider, connection and source fact ID, quarantine the response instead of adding both. A charge dated outside the requested UTC period must not enter the period total, even if a database adapter misbehaves. A signed refund is not a duplicate by itself. Worked audit: a workspace reports USD 30 in verified Vercel/OpenAI facts and a USD 40 owner-provided Supabase statement. The dashboard and budget trigger may use USD 30 of normalized facts, but USD 70 is NOT a verified stack total. A missing Anthropic report also cannot be treated as USD 0; reconcile each provider separately before claiming coverage. A workspace with forty Supabase connections may contain several links to the same billing account. Count connections separately from billing accounts, detect duplicated document fingerprints and overlapping account periods across connections, and withhold additive totals until those conflicts are resolved. An empty document list is missing evidence, not proof of a zero invoice.