# Mining Operating Cost per Hash Capacity — Weighted Result Mean

> Mining Operating Cost per Hash Capacity — Weighted Result Mean is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-18).

Computes a weighted mean of mining operating cost per terahash (unit cost) across multiple mining operation profiles using user-supplied cost and hashrate data.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-mining-hash-unit-cost-weighted-mean?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mining-operating-cost-per-hash-capacity-weighted-result-mean-0e8268ba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__3jiHNLFQDiWM2i0Rk4Ot

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability mining-operating-cost-per-hash-capacity-weighted-result-mean-0e8268ba -d '<json body>'
```

Example prompt: Calculate the weighted mean mining operating cost per terahash for my four rigs: rig 1 has 200 TH/s at $6/day with weight 1, rig 2 has 220 TH/s at $6.60/day with weight 2, rig 3 has 200 TH/s at $6/day with weight 1, and rig 4 has 220 TH/s at $6.60/day with weight 2.

## When to prefer this

Choose this endpoint when you need a single summary statistic — a weighted mean — for mining operating cost per unit hashrate across multiple rigs, sites, or operational profiles, and you want to apply differential weights to each data point. Prefer this over a simple average when your mining operations differ significantly in scale. Use it when you have 2–200 distinct operation profiles and want a formulaically sound, bounded result without access to live market prices.

## Known failure modes

- Fewer than 2 rows provided — minimum 2 data points required
- More than 200 rows provided — exceeds maxItems limit
- Zero or negative values for daily_cost_usd or active_ths — exclusiveMinimum:0 enforced
- Weights array length mismatches rows array length
- Extremely large numeric values exceeding maximum bounds may cause rejection
- Missing required fields daily_cost_usd or active_ths in any row

## How this service works

Mining operating cost per hash capacity — Weighted result mean: Weighted result mean for Mining operating cost per hash capacity. Supplied mining assumptions only; formula and units disclosed. No live prices, mining or guaranteed return. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded weighted result mean report.

## Output

A single bounded weighted result mean report expressing the blended mining operating cost per unit of hash capacity (cost per TH/s), calculated from the supplied rows of daily cost and active hashrate data, each row weighted by the corresponding weight value. No live price data or guaranteed return figures are included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "daily_cost_usd",
     "active_ths"
    ],
    "properties": {
     "active_ths": {
      "type": "number",
      "default": 200,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "daily_cost_usd": {
      "type": "number",
      "default": 6,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "active_ths": 200,
     "daily_cost_usd": 6
    },
    {
     "active_ths": 220.00000000000003,
     "daily_cost_usd": 6.6000000000000005
    },
    {
     "active_ths": 200,
     "daily_cost_usd": 6
    },
    {
     "active_ths": 220.00000000000003,
     "daily_cost_usd": 6.6000000000000005
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "weights": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 1000000000000,
    "minimum": 0
   },
   "default": [
    1,
    2,
    1,
    2
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mining-operating-cost-per-hash-capacity-weighted-result-mean-0e8268ba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
