# Tesla Savings Calculator

> Tesla 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-15).

Compares annual electricity vs. gas costs for a Tesla vs. a comparable gas vehicle, computing break-even years, cost per full charge, and effective gas-equivalent MPG

## Facts

- Endpoint: POST https://x402.outpimp.com/teslaSavingsCalculator
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tesla-savings-calculator-2f7a16df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9JnbNW3HI0_1XlG_l8w--

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 tesla-savings-calculator-2f7a16df -d '<json body>'
```

Example prompt: I drive about 15,000 miles a year and I'm thinking of switching from my Honda Civic (32 MPG, bought for $28,000) to a Tesla Model 3 (358-mile range, $40,000, 82 kWh battery). Gas is $3.80/gallon locally and my electricity rate is $0.13/kWh — about 10% of my charging would be free at Superchargers. Can you calculate my annual fuel savings, how long until the Tesla pays for itself, and what the effective MPG would be?

## When to prefer this

Use this endpoint when a user wants to evaluate the financial case for switching from a gas-powered vehicle to a Tesla specifically, factoring in vehicle purchase prices, local fuel costs, free Supercharger access, and break-even analysis. Prefer this over a generic EV calculator when Tesla-specific inputs (battery kWh, Supercharger free-charging fraction) and outputs (cost per full charge, gas-price-equivalent MPG) are needed. For comparing two gas vehicles, use the sibling gas mileage savings calculator instead.

## Known failure modes

- Missing required fields (e.g. no MPG or battery capacity) causes a 400 validation error
- Nonsensical inputs (e.g. 0 miles per year, negative prices) may produce division-by-zero or unrealistic outputs
- freeChargingPercent outside 0–1 range may cause incorrect cost calculations
- Very high or low electricity/gas prices may produce extreme but valid results without warning
- Payment failure (insufficient USDC) returns a 402 Payment Required response

## How this service works

Tesla savings calculator. Compares annual electricity cost for a Tesla against annual gas cost for a comparable gas vehicle, accounting for free-charging usage, and computes break-even years, cost per full charge, and gas-price-equivalent effective MPG.

## Output

Returns a structured breakdown including annual electricity cost for the Tesla, annual gas cost for the comparable vehicle, net annual savings, cost per full charge, effective gas-equivalent MPG for the Tesla, and the number of years to break even on the purchase price difference.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "gasVehicle": {
   "type": "object",
   "properties": {
    "mpg": {
     "type": "number"
    },
    "purchasePrice": {
     "type": "number"
    }
   }
  },
  "milesPerYear": {
   "type": "number",
   "description": "Expected annual miles driven."
  },
  "electricVehicle": {
   "type": "object",
   "properties": {
    "rangeMiles": {
     "type": "number"
    },
    "purchasePrice": {
     "type": "number"
    },
    "batteryCapacityKwh": {
     "type": "number"
    },
    "freeChargingPercent": {
     "type": "number",
     "default": 0,
     "description": "Fraction of charging that is free (0-1). Default 0."
    },
    "electricityRatePerKwh": {
     "type": "number"
    }
   }
  },
  "gasPricePerGallon": {
   "type": "number",
   "description": "Local gas price per gallon."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tesla-savings-calculator-2f7a16df/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)
