# Hybrid vs Gas Savings Calculator

> Hybrid vs Gas Savings Calculator is a paid API for AI agents from x402.outpimp.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Compares annual fuel costs between a hybrid and a conventional gas vehicle, and computes the break-even payback period for the hybrid's price premium.

## Facts

- Endpoint: POST https://x402.outpimp.com/hybridVsGasSavingsCalculator
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hybrid-vs-gas-savings-calculator-f1a742bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n-uKc8GpwHCMoIr3g2dHZ

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 hybrid-vs-gas-savings-calculator-f1a742bf -d '<json body>'
```

Example prompt: I'm choosing between a hybrid SUV that gets 42 MPG and costs $35,000 versus a gas SUV that gets 28 MPG and costs $30,000 — can you calculate how much I'd save on gas per year and how long it would take to break even, assuming I drive 13,000 miles a year and gas is $3.80 per gallon?

## When to prefer this

Use this endpoint when you need a quick, deterministic financial comparison between exactly one hybrid and one gas vehicle, specifically to compute annual fuel savings and the break-even payback period for a price premium. Prefer it over general financial calculators for its automotive-specific framing and break-even logic. Not suitable for comparing more than two vehicles simultaneously, factoring in insurance, maintenance, or depreciation, or for electric vehicles.

## Known failure modes

- Missing required fields (mpg or purchasePrice for either vehicle) returns a validation error
- Zero or negative MPG values may cause divide-by-zero or nonsensical results
- Zero miles per year returns zero savings with undefined break-even
- Negative gas price or purchase price may produce inverted/meaningless output
- If vehicle A is cheaper and more efficient than vehicle B, break-even is immediate (0 years) or inapplicable

## How this service works

Hybrid vs gas savings calculator. Compares annual fuel cost between a hybrid and a conventional gas vehicle based on miles driven, gas price, and each vehicle's MPG, and computes the break-even point for the hybrid's price premium.

## Output

Returns the computed annual fuel cost for each vehicle, the annual savings from choosing the more efficient vehicle, and the break-even period (in years) indicating how long it takes for the fuel savings to offset the hybrid's price premium.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "vehicleA": {
   "type": "object",
   "properties": {
    "mpg": {
     "type": "number",
     "description": "Miles per gallon."
    },
    "purchasePrice": {
     "type": "number",
     "description": "Vehicle purchase price."
    }
   }
  },
  "vehicleB": {
   "type": "object",
   "properties": {
    "mpg": {
     "type": "number",
     "description": "Miles per gallon."
    },
    "purchasePrice": {
     "type": "number",
     "description": "Vehicle purchase price."
    }
   }
  },
  "milesPerYear": {
   "type": "number",
   "description": "Expected annual miles driven."
  },
  "gasPricePerGallon": {
   "type": "number",
   "description": "Local gas price per gallon."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hybrid-vs-gas-savings-calculator-f1a742bf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.outpimp.com](https://www.zero.xyz/host/x402.outpimp.com/llms.txt)
