{"uid":"cap_ovNCym3zgnp2S3gK3cpZP","slug":"agenttools-fuel-cost-calculator-c5b41196","name":"AgentTools Fuel Cost Calculator","description":"Calculate the liters of fuel a trip needs and its total cost from distance, consumption (L/100 km) and price per liter — with optional cost splitting between passengers. Use this when an agent needs to trip fuel and cost, splitable between people.","url":"https://agentstoolshub.com/api/v1/calculators/fuel-cost-calculator?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["distance","consumption","pricePerLiter"],"properties":{"people":{"type":"number","description":"Split between"},"distance":{"type":"number","description":"Distance (km)"},"consumption":{"type":"number","description":"Consumption (L/100km)"},"pricePerLiter":{"type":"number","description":"Price per liter"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EeOg7IgC7FgDPoyeRpPj_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the total fuel volume and cost for a road trip given distance, fuel consumption rate, and price per liter, with optional cost splitting across passengers.","exampleAgentPrompt":"We're driving 450 km, the car uses 7.5 L/100 km, and fuel is $1.85 per liter — can you calculate how much fuel we'll need and split the total cost between 3 people?","exampleUseCases":[{"title":"Road trip fuel budget split","prompt":"We're planning a 320 km road trip, the car consumes 8 L/100 km, and fuel costs $1.72 per liter. Can you figure out the total fuel cost and split it evenly between 4 of us?"},{"title":"Solo commute fuel estimate","prompt":"I need to drive 180 km to visit my parents. My car does 6.5 L/100 km and fuel is €1.60 per liter — what's the total fuel cost going to be?"},{"title":"Long-haul delivery fuel cost","prompt":"For a 900 km delivery run with a van that consumes 12 L/100 km and diesel at $1.55 per liter, what will the total fuel cost be?"}],"resultDescription":"Returns the total liters of fuel required for the trip and the total fuel cost in the currency of the provided price per liter. If the 'people' parameter is supplied, also returns the cost per person after splitting equally.","failureModes":["Missing required parameters (distance, consumption, pricePerLiter) returns a 400 validation error","Non-numeric or negative values for distance, consumption, or price may return an error or unexpected results","Zero value for 'people' parameter may cause a division-by-zero error","Network or payment authorization failure returns a 402 or 5xx response"],"whenToPreferThis":"Use this endpoint when an agent needs to compute fuel usage and cost for a specific road trip defined by distance, fuel consumption rate, and price per liter. It is especially useful when cost splitting between multiple passengers is required. Prefer this over generic calculator tools when the task is specifically fuel-cost estimation using L/100 km consumption units common in metric-system countries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:48:54.832Z","isFirstParty":false,"canonicalSlug":"agenttools-fuel-cost-calculator-c5b41196"}