# Animica Mining Rig Profitability Comparator

> Animica Mining Rig Profitability Comparator is a paid API for AI agents from animica.dev, paid per call via x402, $0.002511/call, status unknown (last checked 2026-09-15).

Ranks up to 12 mining rigs by Animica (ANM) profitability given your hashrates, power draw, electricity tariff, and pool fee, with optional ML-DSA-65 attestation.

## Facts

- Endpoint: POST https://animica.dev/x402/mining/compare
- Price: $0.002511/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/animica-mining-rig-profitability-comparator-e25eb89e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4ZvoXQufHiJbb_RSfnACG

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 animica-mining-rig-profitability-comparator-e25eb89e -d '<json body>'
```

Example prompt: Compare these two Animica mining rigs for me: an RTX 4090 doing 850,000 hashes per second drawing 450 watts that I paid $1,800 for, and an RTX 3080 doing 520,000 hashes per second at 320 watts costing $600 — my electricity is $0.12 per kWh and I'm paying a 1% pool fee. Which is more profitable and when do they pay back?

## When to prefer this

Use this endpoint when you need a side-by-side profitability and ROI ranking of multiple ANM mining rigs using your own measured hashrates (as reported by the Animica miner software) rather than theoretical benchmarks. Choose it over generic mining calculators when you want results expressed in ANM economics, need hardware payback periods in USD, or require a cryptographically attested ranking (ML-DSA-65) anchored to the current chain height for auditing or dispute resolution. It is not a hardware database — you must supply your own measured hashrates and wattages.

## Known failure modes

- Missing required hashrate_hps field returns validation error — the endpoint does not look up hashrates from GPU model names
- More than 12 rigs in the array causes a rejection
- Omitting electricity_usd_kwh returns null for electricity, net, and payback fields rather than an error
- pool_fee_pct outside 0–50 range is rejected
- Payment not included or insufficient USDC causes a 402 response before computation runs
- Malformed JSON body returns a 400-level parse error

## How this service works

Animica Python Cloud: deploy a Python function to animica.dev, get a public endpoint, and earn ANM every time someone runs it. Free AI (OpenAI-compatible, no key), free scheduled Workers, and an 80/20 developer split.

## Output

A JSON object containing a ranked list of the submitted rigs ordered by ANM profitability, with per-rig estimated gross revenue, electricity cost (null if tariff omitted), net earnings (null if tariff omitted), hardware payback period (null if cost or tariff omitted), VRAM-based render eligibility notes, and optionally an ML-DSA-65 attestation signature tying the ranking to the Animica chain height at computation time.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/animica-mining-rig-profitability-comparator-e25eb89e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from animica.dev](https://www.zero.xyz/host/animica.dev/llms.txt)
