Feature-level cloud cost attribution

holds a narrow lead over for tracking feature-level cloud costs and unit economics.

Updated Nov 22, 2026ChatGPT and Google AI Mode

Brands AI mentions

#BrandMention rate

mapping cloud spend directly to business metrics, features, and customers

#2Finout62%

virtual tagging and allocating shared multi-cloud costs to features

#3Vantage47%

tracking granular cloud expenses alongside alternative cost allocation platforms

granular cost analysis across Kubernetes containers, services, and clusters

allocating cloud expenses and tracking financial chargeback across teams

Mention rate, on ChatGPT and Google AI Mode
  • CloudZeroChatGPTGoogle AI Mode
  • FinoutChatGPTGoogle AI Mode
  • VantageChatGPTGoogle AI Mode
  • KubecostChatGPTGoogle AI Mode
  • Apptio CloudabilityChatGPTGoogle AI Mode

What decides this topic

Buying criteria from head-to-head AI comparisons

Questions and answers

  • ChatGPTSep 24, 2026

    1. 1AWS
    2. 2Elasticsearch
    3. 3AWS Cost and Usage Reports
    4. 4Amazon Elastic Container Service (Amazon ECS)
    5. 5Snowflake AI

    Yes. The key is to separate cloud billing from product usage, then join the two through a cost-allocation model.

    The FinOps Foundation explicitly recommends defining unit costs at levels such as customer, product, feature, transaction, request, workload, GB, or token, rather than treating total cloud spend as the unit metric.

    A practical architecture

    Think of the system as four layers:

    Cloud provider billing
            │
            ▼
    Resource/workload costs
            │
            │ allocation rules
            ▼
    Feature / service costs
            │
            │ usage attribution
            ▼
    Customer-level cost
            │
            ├── Revenue
            ├── Gross margin
            └── Feature profitability

    1. Capture the actual cloud cost

    Export detailed billing data rather than relying on the monthly invoice.

    For AWS, that means Cost & Usage Report (CUR/CUR 2.0) plus cost-allocation tags/categories. AWS describes CUR as the most comprehensive source of its cost and usage data.

    Tag infrastructure with dimensions such as:

    environment = prod
    service     = document-processing
    team        = platform
    product     = analytics
    feature     = pdf-export

    But don't expect tags alone to solve customer attribution. A shared Kubernetes cluster, database, cache, Kafka cluster, etc. may serve thousands of customers simultaneously.

    AWS's own FinOps guidance recognizes that allocation is a prerequisite for calculating unit costs.


    2. Establish a "cost object" hierarchy

    I'd use something like:

    Company
     └── Product
          └── Service
               └── Feature
                    └── Usage event
                         └── Customer

    For example:

    Product: Analytics
      Service: Query Engine
        Feature: Natural-language queries
          Usage event:
            customer_id = 123
            query_id = abc
            tokens = 8,421
            execution_ms = 1,230

    Now you have something you can connect to infrastructure consumption.


    3. Instrument product usage

    This is the part that many companies miss.

    For every economically meaningful operation, emit a usage record:

    timestamp
    customer_id
    product_id
    feature_id
    request_id
    service
    region
    usage_quantity

    Then add technical consumption where possible:

    cpu_ms
    memory_mb_seconds
    gb_stored
    gb_read
    gb_written
    requests
    tokens
    gpu_seconds
    database_io
    queue_messages

    For example:

    customer_42
    feature = "AI summarization"
    requests = 10,000
    input_tokens = 12.4M
    output_tokens = 2.1M
    CPU_seconds = 1,842
    storage_GB = 37

    This gives you a driver-based allocation model rather than simply dividing AWS's bill by the number of customers.

    That distinction matters: the FinOps Foundation specifically recommends usage-based unit metrics because a simple average can hide which customers are actually driving costs.


    4. Allocate shared infrastructure

    Suppose your monthly bill is:

    Kubernetes             $40,000
    Postgres                $20,000
    Redis                    $5,000
    S3                       $8,000
    Data transfer            $7,000
    ──────────────────────────────
    Total                   $80,000

    You can't necessarily say "this EC2 instance belongs to Feature X."

    Instead, define allocation drivers.

    For example:

    Kubernetes

    Allocate by actual CPU/memory consumption:

    customer_cost =
      cluster_cost
      × customer's CPU+memory consumption
      / total CPU+memory consumption

    AWS even provides split-cost-allocation data for ECS/Fargate/EKS that can expose actual vCPU/memory usage for allocation.

    Database

    Perhaps:

    customer_cost =
      database_cost
      × weighted_DB_operations
      / total_weighted_DB_operations

    Or, if storage dominates:

    customer_cost =
      database_cost
      × customer_GB_hours
      / total_GB_hours

    Object storage

    This one is relatively easy:

    customer_cost =
      storage_GB_hours × $/GB-hour
    + PUT requests × $/request
    + GET requests × $/request
    + data transfer × $/GB

    Shared fixed infrastructure

    Things like control planes, monitoring, security tooling, support plans, etc. may not have a meaningful usage driver.

    For those, explicitly classify them as:

    Direct
    Shared-variable
    Shared-fixed
    Unallocated

    Then choose a documented allocation method for the shared categories.

    Don't pretend an arbitrary allocation is an observed cost. Keep the allocation methodology visible.


    5. Create a cost-per-feature fact table

    This is where it starts becoming really powerful.

    You could maintain:

    feature_cost_daily
    
    date
    product_id
    feature_id
    service_id
    direct_cloud_cost
    allocated_cloud_cost
    total_cloud_cost
    usage_units
    cost_per_unit

    For example:

    FeatureUsageCloud costCost/unit
    PDF export2.0M exports$18,000$0.009
    AI summary400K summaries$32,000$0.080
    File storage900 TB-month$21,000$0.023/GB-month
    Search80M queries$12,000$0.00015

    Now product managers can ask:

    "What does another 100,000 customers using this feature cost us?" That's much more useful than:

    "Why did AWS increase $47K this month?"


    6. Then push the allocation down to customers

    You can calculate:

    customer_feature_cost =
        feature_cost
        × customer_feature_usage
        / total_feature_usage

    So:

    Customer 123
    
    AI summaries             $2,140
    PDF exports                 $83
    Search                      $21
    Storage                     $47
    ──────────────────────────────
    Cloud cost                $2,291

    Then combine that with revenue:

    Customer revenue          $4,000
    Cloud COGS                $2,291
    Other COGS                  $300
    ──────────────────────────────
    Contribution               $1,409
    Contribution margin        35.2%

    Now you have actual cost-to-serve rather than an average cloud cost per customer.

    This is exactly the type of customer-level cost analysis described in the FinOps Foundation's customer cloud-unit-economics material.


    7. Calculate feature profitability carefully

    There's an important distinction here.

    A feature can have:

    Revenue attributable to feature
    - Incremental cloud cost
    - Incremental third-party costs
    - Incremental support/operations
    = Feature contribution margin

    But don't automatically allocate the entire company's shared infrastructure to every feature.

    For example, imagine:

    Feature revenue                  $100K
    
    Incremental compute               $15K
    Incremental storage                $5K
    LLM/API costs                     $20K
    Incremental bandwidth              $3K
                                      ─────
    Direct/incremental cost           $43K
    
    Contribution margin               $57K

    Separately you might allocate shared platform costs for fully loaded profitability.

    I'd therefore maintain both:

    • Incremental feature margin — useful for product/pricing decisions.
    • Fully loaded feature margin — useful for financial planning/accounting.

    Those answer different questions.


    8. Build a cost-driver dictionary

    This is one of the highest-leverage things you can do.

    Create a table like:

    Cloud costPrimary driver
    ComputeCPU-seconds / memory-seconds
    GPUGPU-seconds
    DatabaseDB operations / CPU / storage
    S3GB-month + requests + transfer
    CDNGB transferred + requests
    Kafkamessages / bytes
    LLMinput/output tokens
    Elasticsearchquery volume + storage
    Redismemory GB-hours
    Data warehousecompute seconds / bytes scanned
    NetworkGB transferred
    Observabilitylogs/metrics/traces volume

    Then explicitly map:

    Feature → services → cost drivers

    For example:

    "AI summarization"
       ├── LLM API → input/output tokens
       ├── Kubernetes → CPU/memory seconds
       ├── Postgres → DB operations
       ├── S3 → GB-month
       └── CDN → GB transferred

    That mapping becomes your cost model.


    9. Keep the data model simple initially

    You don't need a massive FinOps platform on day one.

    A warehouse schema could be:

    cloud_cost
    -----------
    date
    provider
    account
    region
    service
    resource
    cost
    usage_quantity
    tags...
    
    usage_event
    -----------
    timestamp
    customer_id
    product_id
    feature_id
    service
    event_type
    usage_quantity
    cpu_seconds
    memory_seconds
    tokens
    storage_gb
    
    customer_revenue
    ----------------
    date
    customer_id
    product_id
    revenue
    
    cost_allocation
    ---------------
    date
    customer_id
    product_id
    feature_id
    cloud_cost
    allocation_method
    allocation_driver

    Then your key dashboard becomes:

                      MRR     Cloud COGS    Gross Margin
    Customer A      $20,000      $2,100        89.5%
    Customer B       $8,000      $5,700        28.8%
    Customer C       $3,000        $400        86.7%

    And:

    Feature             Revenue    Cost     Margin
    AI summaries        $400K      $210K     47.5%
    PDF export          $120K       $35K     70.8%
    Search              $300K       $42K     86.0%

    Those numbers are illustrative, but that's the shape of the system.

    The most important principle

    Don't start by trying to attribute every dollar to every customer. Start by finding the smallest set of usage metrics that explains most of your variable cloud cost.

    The FinOps Foundation explicitly recommends starting with a useful metric rather than waiting for perfect allocation.

    A good progression is:

    Phase 1
    Cloud cost / product
    
            ↓
    
    Phase 2
    Cloud cost / service / feature
    
            ↓
    
    Phase 3
    Cloud cost / usage unit
    
            ↓
    
    Phase 4
    Cloud cost / customer
    
            ↓
    
    Phase 5
    Customer × feature × cost
    
            ↓
    
    Phase 6
    Revenue × customer × feature × cost

    At the end, you can answer questions like "What does this feature actually cost us?", "Which customers are expensive to serve?", "What's the marginal cost of another 1,000 users?", and "At what usage level does this pricing tier become unprofitable?"

    If you're building this for a SaaS product, I can also lay out a concrete AWS/Kubernetes + Snowflake/BigQuery architecture and SQL schema for implementing customer × feature cloud-cost attribution.

    Google AI ModeSep 24, 2026

    1. 1Kubernetes
    2. 2Finout
    3. 3nOps
    4. 4Kubecost

    Tracking cloud costs down to the individual feature or customer level (often referred to as Cloud Unit Economics ) requires bridging the gap between raw infrastructure bills (A W S cap A cap W cap S𝐴𝑊𝑆, A z u r e cap A z u r e𝐴𝑧𝑢𝑟𝑒, G C P cap G cap C cap P𝐺𝐶𝑃) and business metrics (API calls, active tenants, specific feature usage).

    The FinOps Foundation outlines a practical framework to transition from a single monolithic cloud bill to granular, profitable unit metrics.

    • Step 1: Implement a Consistent Tagging and Labeling Strategy
      • Enforce strict resource tagging at creation (e.g., environment, product, feature, team ) using Infrastructure as Code (IaC) or CI/CD guardrails.
      • Tag core shared services, databases, and microservices so raw billing data already carries basic categorical identifiers.
    • Step 2: Attribute Shared and Multi-Tenant Infrastructure
      • Use Kubernetes namespace and pod labeling if you run containerized workloads to isolate workloads per feature or tenant.
      • Apply proportional allocation models (CPU/memory request percentages, active user ratios, or request volume weights) to divide shared infrastructure like load balancers, caching layers (R e d i s cap R e d i s𝑅𝑒𝑑𝑖𝑠), and general databases.
    • Step 3: Ingest Business and Usage Metrics
      • Instrument your application to log contextual data (e.g., matching a specific API request, log entry, or database transaction to a customer_id or feature_flag).
      • Pipe application logs, telemetry, or metrics into a data warehouse where you can join operational usage with cloud cost data.
    • Step 4: Leverage FinOps and Cost Allocation Tools
      • Utilize specialized platforms designed for allocation and unit economics (such as Finout, nOps , or Kubecost for Kubernetes-heavy environments) to automate the blending of cloud bills with business KPIs.
      • Build custom dashboards that divide total infrastructure cost by the number of units consumed (e.g., Total Feature Cost Total Feature API Calls the fraction with numerator Total Feature Cost and denominator Total Feature API Calls end-fraction T o t a l F e a t u r e C o s t T o t a l F e a t u r e A P I C a l l s or Customer Infrastructure Cost Customer ARR the fraction with numerator Customer Infrastructure Cost and denominator Customer ARR end-fraction C u s t o m e r I n f r a s t r u c t u r e C o s t C u s t o m e r A R R).

    If you'd like to dive deeper, let me know:

    • What is your primary cloud provider (A W S cap A cap W cap S𝐴𝑊𝑆, G C P cap G cap C cap P𝐺𝐶𝑃, A z u r e cap A z u r e𝐴𝑧𝑢𝑟𝑒)?
    • Are your applications running on Kubernetes, serverless, or traditional VMs?

    I can give you a more specific architectural approach or tool recommendation.

  • ChatGPTNov 9, 2026

    1. 1Finout
    2. 2Apptio Cloudability
    3. 3CloudZero
    4. 4Kubecost
    5. 5Flexera One
    6. 6Vantage
    7. 7Harness Cloud Cost Management

    Best cloud cost allocation and showback platforms (2026)

    For a finance department trying to map shared cloud infrastructure expenses to individual product lines, I would prioritize platforms that go beyond basic cloud billing reports.

    The most important capability is accurate allocation of shared costs—including Kubernetes clusters, networking, storage, databases, security services, idle capacity, and untagged resources—to the products and business units consuming them.

    There are several strong contenders, but they differ considerably in allocation granularity and finance capabilities.

    1. Leading platforms compared

    Assessment based on published vendor capabilities and 2026 market comparisons.

    PlatformAllocation granularityBest application
    FinoutCloud, Kubernetes, SaaS, AI, shared resourcesComplex shared-cost allocation
    IBM Apptio CloudabilityResource, container, namespace, business unitEnterprise finance and chargeback
    Harness CCMPod, namespace, workload, team, product, customerAutomated product-level attribution
    CloudZeroInfrastructure, product, feature, customerProduct unit economics
    IBM KubecostCluster, namespace, workload, pod, labelKubernetes cost allocation
    Flexera OneCloud, hybrid IT, business serviceEnterprise IT financial management
    VantageCloud services, resources, KubernetesDeveloper-friendly cost visibility

    Sources:

    2. Strongest candidates for granular allocation

    • MegaBill

    1. Finout

    (Strong shared-cost specialist)

    • Virtual tagging to allocate costs without depending entirely on infrastructure tags.
    • Shared-cost allocation across teams and business units.
    • Visibility spanning cloud, Kubernetes, SaaS and AI.
    • Particularly useful when infrastructure is shared by multiple products.

    Best for: Complex allocation models and multi-cloud environments.

    Finout website


    • Cloudability Container Insights 2.0

    2. IBM Apptio Cloudability

    (Strong finance and chargeback)

    • Business mapping and cost-sharing rules.
    • Enterprise allocation hierarchies.
    • Container cost allocation across nodes, workloads and namespaces.
    • Budgeting, forecasting, dashboards and financial reporting.

    Particularly attractive when finance needs defensible allocations and formal chargeback processes.

    Best for: Large organizations with mature IT finance functions.

    IBM Cloudability website


    • How Harness dashboards enhance software delivery performance

    3. Harness Cloud Cost Management

    (Strong automated attribution)

    • AI-assisted attribution of untagged resources.
    • Shared-cost allocation across consuming owners.
    • Kubernetes pod- and namespace-level allocation.
    • Product, feature and customer cost perspectives.
    • Showback and chargeback reporting.

    Particularly interesting because it aims to connect infrastructure expenses directly to product economics.

    Best for: Product-centric organizations that want to reduce manual allocation work.

    Harness cost visibility


    • CFO Dashboard: What it is and Why You Need One  | Cledara

    4. CloudZero

    • Maps cloud costs to products, features and customers.
    • Supports engineering-oriented cost dimensions.
    • Helps establish cost per customer and cost per product.
    • Useful for understanding profitability rather than just infrastructure spending.

    Best for: SaaS companies and product-led organizations.

    CloudZero website


    • Kubecost — Getting Control of Container Costs… | by Paul Hammond | Contino Engineering | Medium

    5. IBM Kubecost

    • Real-time Kubernetes cost visibility.
    • Allocation by cluster, namespace, workload, pod and label.
    • Shared-resource cost visibility.
    • Showback and chargeback reporting.

    Best for: Organizations whose largest allocation problem is shared Kubernetes infrastructure.

    IBM Kubecost website

    The vendor documentation particularly highlights Cloudability's resource-utilization-based Kubernetes allocation and Harness's shared-cost and product-level attribution capabilities.

    3. Other platforms worth evaluating

    Flexera One

    A strong alternative for large enterprises. Its Billing Centers let finance create hierarchical cost centers spanning multiple cloud providers and accounts. Allocation rules can use account numbers, tags and other dimensions. Particularly useful when cloud costs need to roll up into broader IT financial reporting.

    Website:

    Vantage

    Worth considering for cloud-native engineering teams seeking straightforward cost reporting and integration with engineering workflows.

    Website:

    4. Which platform is best for each allocation requirement?

    RequirementLeading candidate
    Allocate shared infrastructure across productsFinout
    Finance-grade showback and chargebackCloudability
    Automatically identify untagged resourcesHarness
    Product and feature-level unit economicsCloudZero
    Kubernetes pod-level allocationKubecost
    Enterprise cost-center hierarchiesFlexera
    Developer-friendly cost reportingVantage

    These are recommendations based on capability fit, not independently measured performance rankings.

    5. Capabilities I would require during vendor evaluation

    For your particular problem, I would make vendors demonstrate the following using an actual shared-infrastructure billing dataset.

    CapabilityWhat the vendor should demonstrate
    Direct allocationMap dedicated resources to their owning product
    Shared-cost allocationSplit shared databases, networks and clusters across products
    Usage-based allocationAllocate using CPU, memory, storage, traffic or actual consumption
    Untagged resourcesAttribute costs without requiring every resource to be manually tagged
    Kubernetes granularityDrill down to cluster, namespace, workload and pod
    Financial adjustmentsAllocate discounts, credits and support costs appropriately
    ShowbackProduce product-level monthly cost statements
    ChargebackExport defensible cost allocations to financial systems
    AuditabilityExplain exactly how each allocation was calculated
    Unit economicsCalculate cost per customer, transaction or product feature

    One especially important distinction: equal allocation is not the same as consumption-based allocation. If Product A consumes 70% of a shared database's resources and Product B consumes 30%, your allocation engine should ideally reflect that consumption rather than split the bill 50/50.

    6. My recommended shortlist

    I would start with three vendors:

    (First evaluation)

    Finout

    Test its ability to allocate shared cloud costs across products without requiring extensive manual tagging.


    IBM Apptio Cloudability

    Test its business mapping, cost-sharing rules, Kubernetes allocation and finance reporting.


    Harness CCM

    Test its automated attribution, shared-cost allocation and product-level cost reporting.

    CloudZero should also be included if your ultimate objective is measuring product profitability and cost per customer or feature.


    7. Three questions that would help narrow the selection

    The optimal platform depends heavily on how your shared infrastructure is structured.

    1. Which cloud environments do you use?

    AWS only

    Azure only

    GCP only

    AWS + Azure + GCP

    Hybrid cloud and on-premises


    2. What infrastructure creates the shared-cost problem?

    Kubernetes, databases and networking

    Shared VMs and storage

    Data platforms and analytics

    A combination of all these


    3. What is the primary business objective?

    Product-line showback

    Product-level chargeback

    Product profitability and unit economics

    All three

    [Compare platforms against our requirements]

    With those answers, I can produce a more targeted vendor evaluation, including a weighted comparison of allocation accuracy, shared-cost modeling, financial reporting, implementation complexity and licensing considerations.

    Google AI ModeNov 9, 2026

    1. 1Vantage
    2. 2AWS
    3. 3nOps
    4. 4AWS Cost Explorer
    5. 5Azure Cost Management + Billing
    6. 6Microsoft Azure

    Mapping shared cloud infrastructure (like central networking , Kubernetes clusters, shared databases, and enterprise support) to individual product lines is one of the hardest challenges in FinOps. When tags are missing, inconsistent, or non-existent, native cloud tools fall short.

    Several specialized FinOps and cloud cost management platforms excel at granular allocation, virtual tagging, and weighted shared-cost distribution:

    1. Vantage

    • Best for: Multi-cloud, multi-SaaS stack allocation without massive engineering overhead.
    • Granularity & Showback Strengths: Uses virtual tagging to retroactively group and categorize untagged or poorly tagged resources at the UI/logic level rather than forcing you to rewrite your infrastructure-as-code.
    • Shared Cost Handling: Offers customizable rules to split shared costs (like cross-VPC data transfer, enterprise support, or K8s namespaces) across specific product lines using proportional, fixed-percentage, or usage-based weights.
    • Integrations: Deep native support for AWS, Azure, GCP, Snowflake, Datadog, and Kubernetes. Check them out on the Vantage Cloud Cost Allocation Overview.

    2. nOps

    • Best for: Automated CUR (Cost and Usage Report) parsing and Kubernetes/AWS workload attribution.
    • Granularity & Showback Strengths: Excels at container-level and Kubernetes granular showback, breaking down shared EKS/GKE cluster costs down to the namespace, pod, or deployment level.
    • Shared Cost Handling: Automates rule-based allocation for shared core infrastructure using historical usage metrics, making it easier to transition from pure visibility (showback) to actual financial accountability (chargeback). Learn more via the nOps Chargeback vs. Showback Guide.

    3. Native Cloud Providers (AWS Cost Explorer & Azure Cost Management)

    • Best for: Single-cloud environments with strict, clean tagging compliance from day one.
    • Granularity & Showback Strengths:
      • AWS Cost Explorer: Handles tag-based filtering and linked-account grouping, though splitting a single shared RDS instance or NAT Gateway across two product lines requires custom AWS Glue/Athena ETL pipelines.
      • Azure Cost Management: Strong organizational hierarchy mapping (Management Groups -> Subscriptions -> Resource Groups -> Tags), making department-level showback straightforward if your architecture mirrors your org chart.
    • Limitations: They struggle heavily with "shared-tenant" resources (e.g., a logging cluster used by Product A and Product B simultaneously) unless you manually build custom allocation logic.

    How to Choose the Right Path

    • If your infrastructure is multi-cloud or heavily containerized (Kubernetes): Dedicated third-party platforms like Vantage or nOps will save your finance and engineering teams hundreds of hours of spreadsheet wrangling.
    • If you are strictly single-vendor (e.g., 100% AWS or 100% Azure): Start by auditing whether native cost categories and budget alerts can cover 80% of your needs before buying an external SaaS layer.

    To help narrow down the best fit:

    • Are you operating primarily in AWS, Azure, GCP, or a multi-cloud setup?
    • Are a lot of these shared costs tied to Kubernetes / containers , or more traditional VMs and networking?
    • Is your finance team looking strictly for showback (visibility) right now, or preparing for chargeback (actual billing/transfers)?
  • Google AI ModeNov 22, 2026

    1. 1OpenTelemetry
    2. 2PostgreSQL
    3. 3Prometheus
    4. 4Grafana
    5. 5Snowflake
    6. 6AWS
    7. 7Finout
    8. 8CloudZero
    9. 9Amazon S3
    10. 10Gemini for BigQuery
    11. 11AWS Cost and Usage Reports
    12. 12Azure Cost Management + Billing
    13. 13Google Cloud Platform
    14. 14Microsoft Azure

    Attributing cloud costs in a shared, multi-tenant environment requires moving away from static cloud bills and toward metered consumption and FinOps allocation models . Because underlying resources (like databases, Kubernetes clusters, or message queues) are shared, you cannot rely solely on native cloud provider tags.

    Step 1: Choose Your Attribution Methodology

    Depending on your engineering maturity and data granularity, select a strategy outlined by the FinOps Foundation Shared Costs Working Group:

    1. Even Split (Crawl Stage): Divide total shared infrastructure cost equally across all active tenants or features. Best only for rough baselines; fails to account for heavy vs. light users.
    2. Fixed Proportional (Crawl/Walk Stage): Allocate costs based on a static proxy, such as number of licensed seats, organization size, or provisioned tier.
    3. Variable Proportional / Usage-Driven (Run Stage): Dynamically allocate costs based on actual telemetry (e.g., CPU seconds, gigabytes stored, API request count, or MB processed). This is the gold standard for accuracy.

    Step 2: Implement Granular Metering & Instrumentation

    To tie infrastructure back to specific tenants or features, you must capture usage data inside your application layer or proxy tiers, rather than just at the hypervisor or cloud-bill level.

    • Contextual Request Tracing: Inject tenant IDs and feature flags into your API gateway, middleware, or logging context (e.g., OpenTelemetry attributes) so every request carries a clear label.
    • Database & Storage Metering:
      • For shared multi-tenant databases (like PostgreSQL with row-level security), track query counts, execution time, or storage footprints per tenant via custom telemetry or database auditing logs.
      • For object storage (S3), log access patterns or track byte-size per tenant namespace.
    • Compute & Worker Pools: If using Kubernetes, leverage tools or exporters that map pod resource utilization (CPU/Memory requests and actual usage) to namespaces or labels tagged with tenant IDs.

    Step 3: Match Costs to a "Unit Metric"

    Translate raw technical consumption into business-aligned unit economics:

    • For Customers: Calculate the cost per transaction, cost per active user, or cost per GB queried.
    • For Features: Isolate the background workers, microservices, or specific API endpoints tied to a distinct feature and sum their proportional compute and I/O costs.

    Step 4: Choose the Right Tooling Layer

    Trying to hack together custom scripts for complex cloud bills can get messy. Consider how you aggregate and process the data:

    • In-House Pipeline: Emit custom usage metrics to a time-series database (Prometheus/Grafana) or data warehouse (BigQuery/Snowflake), join them with your cloud billing export (AWS CUR / GCP Billing Data / Azure Cost Management), and run scheduled aggregation queries.
    • Dedicated FinOps / SaaS Cost Platforms: Use platforms built specifically for multi-tenant unit economics and cloud cost intelligence (such as Finout, CloudZero, or specialized AWS/GCP SaaS lens frameworks).

    If you'd like to dive deeper, let me know:

    • What core cloud provider you are using (AWS, GCP, Azure, or multi-cloud)?
    • What your primary shared resource is (e.g., a massive Postgres DB, Kubernetes clusters, or shared microservices)?

    I can help map out a specific data flow or schema for tracking it.

    ChatGPTNov 22, 2026

    1. 1AWS
    2. 2OpenTelemetry
    3. 3Snowflake
    4. 4dbt
    5. 5Grafana
    6. 6AWS Cost Explorer
    7. 7AWS Cost and Usage Reports
    8. 8OpenCost
    9. 9Microsoft Azure
    10. 10Google Cloud Platform
    11. 11Apache Kafka
    12. 12Amazon Kinesis
    13. 13Gemini for BigQuery
    14. 14Amazon Redshift
    15. 15Apache Spark
    16. 16Microsoft Power BI
    17. 17Azure Cost Management + Billing

    How to accurately attribute cloud costs to individual customers and features in a shared multi-tenant environment

    The most reliable approach is to combine cloud billing data, application-level usage telemetry, and an explicit cost-allocation model.

    In a multi-tenant SaaS architecture, cloud providers generally tell you what a resource costs, but not necessarily which customer or product feature consumed that resource.

    For example, if 500 customers share:

    • One Kubernetes cluster
    • A common PostgreSQL database
    • Shared Redis infrastructure
    • Object storage
    • API servers and background workers

    Simply dividing the monthly cloud bill by 500 will produce misleading results because customers consume different amounts of infrastructure.

    The solution is to build a cost attribution layer that connects infrastructure spending to actual tenant and feature consumption.

    This is also a recognized FinOps challenge. The FinOps Foundation recommends combining resource metadata, usage data, and documented rules for distributing shared costs.

    1. Establish three levels of cost attribution

    I recommend structuring your cost model into three levels.

    (Level 1)

    Infrastructure costs

    What did the cloud provider charge?

    Compute

    Database

    Storage

    Networking

    (Level 2)

    Feature-level consumption

    Which application features consumed resources?

    Reporting

    API requests

    AI processing

    File uploads

    (Level 3)

    Customer-level costs

    Who should be accountable for the consumption?

    Customer A

    Customer B

    Customer C

    The objective is to trace infrastructure spending through features to individual tenants, while retaining the ability to reconcile everything against the actual cloud invoice.

    2. Instrument application-level usage

    This is probably the most important step.

    Cloud resource tags alone aren't sufficient when resources are shared. You need application telemetry that identifies which tenant and feature generated consumption.

    Capture metrics such as:

    Resource or featureMetrics to capture
    API servicesRequests, CPU time, execution duration
    DatabaseQueries, execution time, rows processed
    StorageGB stored, reads, writes
    Background jobsJob count, execution time, CPU usage
    AI servicesTokens, model calls, processing time
    NetworkingBytes transferred per tenant
    CachingRequests, memory usage, cache misses

    For every relevant operation, attach contextual identifiers:

    json
    {
      "tenant_id": "customer_123",
      "feature_id": "reporting",
      "service": "analytics-api",
      "operation": "generate_report",
      "duration_ms": 850,
      "cpu_ms": 320,
      "memory_mb": 256,
      "timestamp": "2026-11-22T10:00:00Z"
    }

    You don't necessarily need to capture every metric for every request. Sampling and aggregation can reduce telemetry overhead, provided the resulting measurements remain representative.

    Important: Avoid putting customer identifiers directly into metric labels with unbounded cardinality. Use structured logs, traces, or aggregated usage tables for high-cardinality tenant-level attribution.

    3. Choose an allocation method for each shared resource

    Different resources need different attribution methods. There is no universally accurate formula for all infrastructure.

    Here are the methods I would use.

    A. Direct attribution

    Use this whenever consumption can be measured directly.

    Examples:

    • AI API calls billed per token.
    • Object storage consumed by individual tenants.
    • Dedicated database instances.
    • Tenant-specific background jobs.
    • API requests with measurable execution costs.

    Formula:

    math
    C_{tenant}=U_{tenant}\times R

    Where:

    • U = tenant's measured usage.
    • R = unit cost of the resource.

    This is the most defensible method because costs are linked to identifiable consumption.

    B. Proportional allocation

    Use this when multiple tenants share a resource but their relative consumption can be measured.

    For example, suppose a shared database costs $1,000 per month.

    CustomerDatabase workloadAllocated cost
    Customer A50%$500
    Customer B30%$300
    Customer C20%$200
    Total100%$1,000

    Formula:

    math
    C_i=C_{shared}\times
    \frac{U_i}{\sum U}

    The critical decision is what constitutes usage.

    For databases, possible allocation metrics include:

    • Query execution time.
    • CPU time attributable to tenant queries.
    • Logical reads and writes.
    • Database I/O.
    • Storage consumption.

    A combination of metrics is often more representative than query count alone.

    C. Weighted allocation

    Some resources consume multiple types of infrastructure simultaneously.

    For example, a customer might generate:

    • High CPU consumption.
    • Low memory consumption.
    • High database I/O.

    A weighted model can account for these differences.

    math
    S_i=w_cC_i+w_mM_i+w_dD_i

    Where:

    • C_i = CPU consumption.
    • M_i = memory consumption.
    • D_i = database I/O consumption.
    • w_c,w_m,w_d = corresponding weights.

    Then:

    math
    Cost_i=C_{shared}\times\frac{S_i}{\sum S}

    Weights should reflect actual resource economics, ideally calibrated against measured infrastructure consumption.

    D. Equal or fixed allocation

    Some costs are difficult to measure precisely.

    Examples:

    • Shared monitoring infrastructure.
    • Security services.
    • Common control-plane services.
    • Base networking costs.

    For these, use an explicit allocation policy:

    • Equal split among active tenants.
    • Fixed percentage based on expected usage.
    • Proportional allocation based on revenue or another agreed business metric.
    • Central platform budget, without customer-level chargeback.

    The FinOps Foundation identifies even split, fixed proportional, and variable proportional allocation as common shared-cost approaches.

    My recommendation: use direct attribution wherever possible, proportional allocation for measurable shared consumption, and equal or fixed allocation only where better measurements aren't economically justified.

    4. Build a feature-to-customer cost allocation engine

    This is where the different data sources come together.

    I'd recommend a centralized attribution pipeline rather than calculating costs independently in every application service.

    Suggested architecture

    Cloud billing exports

    AWS CUR / Azure Cost Management / GCP Billing Export

    Application telemetry

    Logs, traces, metrics, tenant usage events

    Cost attribution engine

    Resource mapping, usage aggregation, allocation rules

    Cost allocation database

    Daily costs by tenant, feature, service, and resource

    Cost dashboards

    Customer billing

    A practical implementation could use:

    ComponentTechnology options
    Billing ingestionAWS CUR, Azure exports, GCP Billing Export
    Application telemetryOpenTelemetry
    Event streamingKafka, Kinesis
    Data warehouseBigQuery, Snowflake, Redshift
    Transformationdbt, SQL, Spark
    Cost visualizationGrafana, Power BI, custom dashboards

    You don't need all these technologies. Start with your existing billing exports and data warehouse.

    Suggested database structure

    I would maintain four core datasets:

    1. Cloud resource costs

    FieldPurpose
    resource_idCloud resource identifier
    serviceCompute, storage, database
    costActual billed cost
    billing_dateBilling period
    environmentProduction, staging

    2. Tenant usage

    FieldPurpose
    tenant_idCustomer identifier
    feature_idFeature consuming resources
    resource_typeCompute, storage, database
    usage_quantityMeasured consumption
    usage_unitCPU seconds, GB, tokens

    3. Allocation rules

    FieldPurpose
    resource_typeResource being allocated
    allocation_methodDirect, proportional, weighted
    metricCPU, memory, I/O, etc.
    effective_dateRule activation date

    4. Allocated costs

    FieldPurpose
    tenant_idCustomer
    feature_idFeature
    allocated_costAttributed cost
    allocation_methodMethod used
    billing_dateAllocation period

    This also gives you an audit trail explaining why a particular customer was assigned a particular cost.

    5. Example: Calculate the true cost of a customer

    Consider a SaaS platform with three customers sharing infrastructure.

    Suppose its monthly infrastructure bill is:

    Total monthly infrastructure cost

    $10,000

    genui{"charts_widget_v2":{"content":{"chartType":"pie","nameKey":"service","valueKey":"cost","series":[{"dataKey":"cost","label":"Monthly cost","valuePrefix":"$"}],"data":[{"service":"Compute","cost":4000},{"service":"Database","cost":2500},{"service":"Storage","cost":1500},{"service":"Networking","cost":1000},{"service":"Shared services","cost":1000}]}}}

    Illustrative monthly cloud bill.

    After collecting tenant-level usage and applying allocation rules, you might produce:

    CustomerComputeDatabaseStorageOtherTotal
    A$1,500$1,000$600$400$3,500
    B$1,600$900$500$400$3,400
    C$900$600$400$1,200$3,100
    Total$4,000$2,500$1,500$2,000$10,000

    You can then break those customer costs down further by feature.

    For example:

    Customer AMonthly cost
    Reporting$1,200
    API usage$800
    AI processing$900
    File storage$400
    Shared platform overhead$200
    Total$3,500

    This creates two useful perspectives:

    1. Customer profitability: How much does each customer cost to serve?
    2. Feature economics: Which features are expensive to operate?

    These are particularly valuable for pricing decisions, identifying unprofitable customers, and optimizing expensive product features.

    Note: These numbers are illustrative. In a real implementation, each resource's allocation must reconcile with its corresponding billed cost.

    6. Use existing cloud-native cost allocation capabilities

    You don't need to build everything yourself.

    Some particularly useful capabilities are:

    • Cost Explorer with AWS ParallelCluster 📊 - Sean Smith 🚀

    AWS Cost Explorer and AWS Cost and Usage Reports

    Use resource tags, cost categories, billing exports, and split cost allocation data for supported shared container workloads.

    AWS shared resource allocation guidance


    • Analyze usage and cost in Log Analytics - Microsoft Sentinel

    Azure Cost Management

    Use resource hierarchy, tags, and cost allocation rules to distribute shared infrastructure costs.

    Azure cost allocation documentation


    • Introducing OpenCost — an Open Source Project for Monitoring Kubernetes Spend | OpenCost — open source cost monitoring for cloud native environments

    OpenCost

    Particularly useful if you run Kubernetes. It helps attribute cluster costs to namespaces, workloads, and other Kubernetes allocation dimensions.

    OpenCost official website


    • Opentelemetry Logo Png | Opentelemetry Logo Vector  - freepng

    OpenTelemetry

    Provides instrumentation for collecting application metrics, traces, and logs with tenant and feature context.

    OpenTelemetry official website

    AWS also specifically recommends measuring consumption per tenant for shared infrastructure and using split cost allocation for shared container compute and memory.

    7. Avoid these common attribution mistakes

    MistakeWhy it's problematic
    Dividing costs equally among customersIgnores consumption differences
    Using API request count aloneRequests have different computational costs
    Relying exclusively on cloud tagsShared resources don't necessarily have tenant-level tags
    Ignoring idle capacityUnderstates the actual cost of providing infrastructure
    Counting database queries without execution metricsA simple query and expensive query aren't equivalent
    Allocating 100% of costs without reconciliationCan result in duplicated or missing costs
    Ignoring discounts and creditsAllocated costs won't match actual financial spending

    One particularly important distinction: separate actual cloud expenditure from modeled customer consumption.

    For example, a server costing $1,000 per month may be only 60% utilized. You should distinguish:

    • Actual cost: $1,000.
    • Allocated consumption cost: the portion attributable to customer workloads.
    • Idle capacity: the remaining cost, assigned to the platform or distributed using an agreed policy.

    This prevents customers from being charged for costs that are not meaningfully attributable to their activity.

    8. Implement it incrementally

    I would approach implementation in four phases.

    1. Phase 1: Establish visibility

      • Export cloud billing data.
      • Identify shared and dedicated resources.
      • Establish tenant and feature identifiers.
      • Capture basic usage telemetry.

      (First priority)

    2. Phase 2: Implement allocation

      • Implement direct attribution where possible.
      • Introduce proportional allocation for shared resources.
      • Define policies for unmeasurable shared costs.
      • Reconcile allocations against cloud bills.
    3. Phase 3: Build reporting

      • Customer-level cost reports.
      • Feature-level cost reports.
      • Cost per API request.
      • Cost per active customer.
      • Cost per transaction or business operation.
    4. Phase 4: Optimize and automate

      • Detect unusual tenant consumption.
      • Identify expensive features.
      • Forecast customer infrastructure costs.
      • Feed cost data into pricing and profitability decisions.

    Metrics worth tracking

    MetricWhat it tells you
    Cost per customerCost of serving each tenant
    Cost per featureInfrastructure expense of each feature
    Cost per active userCost efficiency of customer usage
    Cost per transactionUnit economics
    Shared cost allocation coveragePercentage of shared spend allocated
    Unallocated cost percentageRemaining attribution gap
    Gross margin per customerCustomer profitability

    My recommendation

    If I were designing this for a multi-tenant SaaS platform, I would prioritize these three things:

    1. Instrument tenant-aware application telemetry. This is the foundation for accurate attribution when infrastructure is shared.
    2. Build a centralized cost allocation engine. Combine billing exports with usage data and explicit allocation rules.
    3. Create customer and feature-level unit economics dashboards. Make it possible to understand not just how much infrastructure costs, but what it costs to serve each customer and deliver each feature.

    The most important architectural principle is that cloud billing tells you what you spent, while application telemetry tells you who consumed it. You need both to produce defensible customer-level cost attribution.

    A question that would help narrow the architecture

    What does your infrastructure primarily look like?

    1. Cloud provider

    AWS

    Microsoft Azure

    Google Cloud

    Multi-cloud


    2. Infrastructure architecture

    Kubernetes / shared containers

    Shared databases and application servers

    Serverless / functions

    Microservices

    Combination of these


    3. Primary objective

    Customer profitability and unit economics

    Feature-level cost attribution

    Customer billing and chargeback

    All three

    [Build my attribution architecture]

    I can use those details to propose a concrete implementation, including the telemetry schema, database tables, allocation formulas, and processing pipeline.

  • ChatGPTSep 26, 2026

    1. 1CloudZero
    2. 2Apptio
    3. 3Apptio Cloudability
    4. 4FOCUS (FinOps Open Cost and Usage Specification)

    If your requirement is specifically “calculate unit economics at feature/customer/tenant/transaction level, while retaining an auditable explanation of how each underlying cloud cost was allocated,” the strongest matches I found are:

    SystemFeature / customer / tenant granularityTransaction / business-unit metricsAllocation-method lineageAssessment
    cloudzero.comYes — dimensions can include feature, customer, product, team, etc.Yes — transactions, API calls, orders and arbitrary business metricsStrong — allocation streams/rules plus dimensions; CloudZero explicitly supports multi-tier views such as cost per feature per customerClosest match
    apptio.comYes — product, customer/team ownership and other mappingsYes — unit economics can be built from billing + telemetry/business dataStrong — explicit cost-sharing/allocation rules and business mappingsStrong enterprise alternative
    FOCUS-compatible FinOps data platformsDepends on the platformYes, if business-volume data is joinedPotentially strongest standardized lineage — FOCUS 1.3+ has AllocatedMethodDetails, recording allocation factors, ratios, usage units and quantitiesImportant standard rather than a standalone product

    Why CloudZero stands out

    CloudZero explicitly defines unit economics around cost per customer, cost per transaction, cost per API call, cost per feature, and lets you combine multiple dimensions—for example, cost per order *per engineering team per product.

    It also separates the two pieces you care about:

    • Unit metric: the denominator, such as orders, API calls, transactions, or another business measurement.
    • Allocated spend: the numerator, which can be allocated across business dimensions and shared infrastructure.

    That makes it particularly suitable for questions such as “What did tenant A's use of feature X cost us per 1,000 transactions?” rather than merely “How much did AWS cost this team?”

    The allocation-lineage distinction matters

    The FOCUS AllocatedMethodDetails field is particularly relevant to your last requirement. FOCUS specifies a JSON structure describing the factors that caused a usage record to be split, including the allocated ratio, usage unit, and usage quantity.

    So there's an important distinction:

    Unit economics tells you cost per X. Allocation lineage tells you why this portion of cost was attributed to X. CloudZero and Cloudability advertise the first plus sophisticated allocation capabilities; FOCUS provides a standardized data-level mechanism for preserving the second. IBM Cloudability, for example, says its unit-economics workflow ingests billing/telemetry data and applies rules to split and assign shared costs to teams, projects, or customers.

    My shortlist

    If you're evaluating vendors specifically for this architecture, I'd put them into three buckets:

    1. CloudZero — best documented match for business-unit economics + multidimensional allocation.
    2. IBM Cloudability — strong enterprise option for allocation + telemetry + unit economics, especially where TBM/IT-finance integration matters.
    3. A FOCUS-based data architecture — worth considering if your key requirement is provable allocation lineage that survives downstream reporting, rather than relying solely on a vendor's proprietary allocation model. FOCUS explicitly supports allocation metadata.

    One caveat: I would not assume that “supports cost allocation” means the UI exposes the complete allocation formula behind every unit-economic number. That's the part I'd test in a vendor evaluation. Ask each vendor to demonstrate a single dollar of shared infrastructure flowing through, for example, AWS resource → allocation rule → tenant → feature → transaction → final unit cost, with the allocation factors preserved and inspectable.

    If that's your actual buying criterion, I can also build a vendor-by-vendor comparison of CloudZero, Cloudability, Finout, Vantage, Harness CCM, and Kubecost specifically against “allocation lineage / explainability,” rather than generic FinOps features.

    Google AI ModeSep 26, 2026

    1. 1Finout
    2. 2CloudZero
    3. 3Vantage

    Calculating unit economics down to a feature, tenant, or transaction while retaining the explicit provenance of how those costs were allocated (the underlying mapping logic, proportionality weights, or shared-cost splitting rules) requires advanced FinOps platforms with robust logical routing engines.

    Standard cloud native tools (like AWS Cost Explorer or GCP Billing Reports) drop the underlying allocation path once a aggregated figure is calculated. However, specialized modern cloud cost intelligence platforms preserve and expose this methodology.

    Leading Platforms Supporting Traceable Unit Economics

    1. Finout (Logical "MegaBill" & Virtual Tagging)

    • How it handles unit metrics: Finout ingests data across multi-cloud (AWS, GCP, Azure), Kubernetes, and SaaS/AI tools (like OpenAI or Datadog). Its patented Virtual Tagging (VTags) acts as a logical translation layer.
    • Feature/Tenant/Transaction tracking: You can segment costs down to individual tenants, specific product features, or individual transaction logs by setting up multi-step allocation rules without altering underlying cloud infrastructure or native tags.
    • Preserving the allocation method: Finout treats allocation rules as code-like metadata logic (Allocation as Code via API). When you view a cost figure for a tenant or feature, you can audit the exact VTag rule, proportion split, or mathematical transformation used to derive that slice of the MegaBill, ensuring full provenance rather than a black-box number.

    2. CloudZero (CostFormation & Telemetry Ingestion)

    • How it handles unit metrics: CloudZero uses a code-based approach called CostFormation to map, organize, and transform raw cloud billing data. It ingests custom business telemetry (API hits, transactions, active users) via API streams or CSVs to divide total spend into unit costs.
    • Feature/Tenant/Transaction tracking: It allows you to assign shared infrastructure costs via log aggregators (e.g., attributing multi-tenant database or queueing costs per tenant based on actual volume share).
    • Preserving the allocation method: Because CloudZero's allocation logic is written using a declarative, code-like syntax (CostFormation configuration files), the calculation rule remains tied to the resulting dimension. You can trace any specific unit economic figure back to the explicit CostFormation block or regex/tag rule that routed those resources.

    3. Vantage (Unit Cost Reports)

    • How it handles unit metrics: Vantage features dedicated Vantage Unit Costs purpose-built to ingest metrics like transactions, active customers, load balancer requests, or API counts and divide them against fully-loaded multi-tenant cloud expenditures.
    • Feature/Tenant/Transaction tracking: Virtual tagging and advanced custom cost reports let you distribute shared costs (like data transfer or cluster-level caching) across different business units or customers.
    • Preserving the allocation method: Vantage maintains transparency by displaying the underlying cost report parameters, applied filters, and proportionality rules inline on the dashboard view. Users can click into any computed unit metric to see the exact formula and dataset filters contributing to the final cost attribution.

    Summary Comparison of Traceability

    PlatformCore Allocation MechanismFeature/Tenant/Transaction SupportAllocation Method Preservation
    FinoutVirtual Tags (VTags) & MegaBill logicNative multi-cloud, SaaS, and AI features/tenantsMaintained via Allocation-as-Code rules and transparent VTag definitions
    CloudZeroCostFormation (Declarative code rules)Deep SaaS tenant attribution via telemetry and logsEmbedded directly in version-controlled CostFormation scripts
    VantageVirtual tags & custom metric formulasCustomer, API call, and transaction trackingVisible via explicit cost report configurations and formula inspectors

    If you'd like to dive deeper, let me know:

    • What cloud providers or tech stack (e.g., AWS, Kubernetes, Snowflake) your features and tenants rely on most heavily.
    • Whether you prefer defining allocation logic via a UI-based virtual tagging system or an infrastructure-as-code configuration file.

    I can help you evaluate which of these workflows best fits your engineering culture.

  • Best cost tool for clear unit economics per feature?

    Summary

    CloudZero is the usual answer for teams linking cloud spend directly to features and customer unit economics. Finout also receives frequent mentions for calculating business-level metrics across multi-cloud setups.

Since Jul 8Data through Nov 22, 2026Based on 115 AI answers

How we measure
For agents: this page as Markdown, parse.gl/topics/cost-attribution-per-product-feature.md. JSON, MCP · free for the last 90 days, checks from $0.01

This page

Reuse: Figures and tables on this page are free to republish with attribution: a link to https://parse.gl/topics/cost-attribution-per-product-feature beside them. A standard followed link (dofollow) is preferred.

Read and search

Every brand's share on this topic, with 95% ranges: GET agent.parse.gl/v1/tools/query_metrics?args=%7B%22measures%22%3A%5B%22share_named%22%5D%2C%22by%22%3A%5B%22brand%22%5D%2C%22filter%22%3A%7B%22topic%22%3A%5B%22top_c38dcb21-d46c-428b-8638-bf7f0ad8bfda%22%5D%7D%7D
Search the index: GET parse.gl/api/public/search?q=<words>

Connect

Connect an assistant: agent.parse.gl/mcp
CLI check: npx -y parse-gl check <domain>

An agent can save work before signup: POST https://agent.parse.gl/v1/workspaces

What it costs

No account: Public figures and up to 5 examples per list, about 120 brands a day per address.
Free account: $2 verified-email starter credits, 90-day Parse Index reads, your brand's first check (20 buyer questions), and a free weekly check.
Prepaid credits (from $20): Exports, deeper search results, live checks, verified contacts, and daily tracking ($12 a month).
Live checks: $0.01 per standard check/live page/judgment; $0.05 per frontier check (Gemini, Claude) or verified contact.
Full public answers and pages: 25 free per day, then $0.01 each.
Public answers older than 90 days: $0.01 each the first time your workspace counts or lists one, then yours.