Skip to content
Fourohtwo

Tesla savings calculator

ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws/teslaSavingsCalcula

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.

BaseSolanaAnswering
POSThttps://ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws/teslaSavingsCalculator

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws/teslaSavingsCalculator", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"electricVehicle":{"batteryCapacityKwh":75,"electricityRatePerKwh":0.15,"freeChargingPercent":0.2,"purchasePrice":42000,"rangeMiles":300},"gasPricePerGallon":3.8,"gasVehicle":{"mpg":28,"purchasePrice":28000},"milesPerYear":15000}),
});
console.log(await res.json());

Example input

{
  "electricVehicle": {
    "batteryCapacityKwh": 75,
    "electricityRatePerKwh": 0.15,
    "freeChargingPercent": 0.2,
    "purchasePrice": 42000,
    "rangeMiles": 300
  },
  "gasPricePerGallon": 3.8,
  "gasVehicle": {
    "mpg": 28,
    "purchasePrice": 28000
  },
  "milesPerYear": 15000
}

More from SindriProvider status