{"uid":"cap_csGfTB_igjpjJiehFqvyh","slug":"air-vs-ocean-freight-break-even-calculator-ff289a17","name":"Air vs Ocean Freight Break-Even Calculator","description":"Compare air vs ocean including inventory carrying cost of transit days.","url":"https://x402-niche-briefs.fly.dev/v1/air-vs-ocean-breakeven?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":["chargeable_kg","cbm","air_rate_per_kg","ocean_rate_per_cbm","goods_value_usd","carrying_cost_pct_yr","air_days","ocean_days"],"properties":{"cbm":{"type":"string","description":"CBM"},"air_days":{"type":"string","description":"Air transit days"},"ocean_days":{"type":"string","description":"Ocean transit days"},"chargeable_kg":{"type":"string","description":"Chargeable kg"},"air_rate_per_kg":{"type":"string","description":"Air $/kg"},"goods_value_usd":{"type":"string","description":"Goods value"},"ocean_rate_per_cbm":{"type":"string","description":"Ocean LCL $/CBM"},"carrying_cost_pct_yr":{"type":"string","description":"Carrying cost %/yr"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","air_total_usd","ocean_total_usd","cheaper","savings_usd","as_of"],"properties":{"as_of":{"type":"string"},"input":{"type":"object","required":["chargeable_kg","cbm","air_rate_per_kg","ocean_rate_per_cbm","goods_value_usd","carrying_cost_pct_yr","air_days","ocean_days"],"properties":{"cbm":{"type":"number"},"air_days":{"type":"number"},"ocean_days":{"type":"number"},"chargeable_kg":{"type":"number"},"air_rate_per_kg":{"type":"number"},"goods_value_usd":{"type":"number"},"ocean_rate_per_cbm":{"type":"number"},"carrying_cost_pct_yr":{"type":"number"}}},"cheaper":{"type":"string"},"savings_usd":{"type":"number"},"air_total_usd":{"type":"number"},"ocean_total_usd":{"type":"number"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YpiUy_KqDKnj1QmrIdbQ_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares total cost of air freight vs ocean freight including inventory carrying cost during transit days to determine the cheaper shipping mode and savings.","exampleAgentPrompt":"Compare air vs ocean freight for my shipment: 500 chargeable kg, 3 CBM, air rate is $6.50/kg, ocean LCL rate is $120/CBM, goods are worth $80,000, our carrying cost is 25% per year, air transit is 3 days, ocean transit is 28 days — which mode is cheaper and by how much?","exampleUseCases":[{"title":"E-commerce restocking mode decision","prompt":"I need to restock 800 chargeable kg of electronics (4 CBM) from China. Air is $7/kg and takes 4 days, ocean LCL is $150/CBM and takes 30 days. The goods are worth $120,000 and our inventory carrying cost is 30% per year. Which shipping mode is cheaper overall?"},{"title":"Seasonal goods urgency cost analysis","prompt":"We're shipping 200 chargeable kg of seasonal apparel (2 CBM) worth $25,000. Air freight is $8.50/kg with 2-day transit, ocean is $100/CBM with 25 days transit. Our carrying cost is 20% annually. Can you calculate the break-even and tell me which option saves more money?"},{"title":"High-value low-weight cargo assessment","prompt":"Help me figure out if air or ocean is cheaper for 50 chargeable kg of medical devices worth $90,000 — air rate is $9/kg and 2 days transit, ocean LCL is $80/CBM for 0.5 CBM and 22 days transit, carrying cost is 35% per year."}],"resultDescription":"Returns the total all-in cost for both air freight and ocean freight (incorporating the inventory carrying cost of the respective transit days), identifies which mode is cheaper, the dollar savings, the echoed input parameters, and a timestamp of the calculation.","failureModes":["Missing required query parameters returns an error — all eight parameters (chargeable_kg, cbm, air_rate_per_kg, ocean_rate_per_cbm, goods_value_usd, carrying_cost_pct_yr, air_days, ocean_days) are required","Non-numeric string values for numeric fields may cause computation errors","Zero or negative goods_value_usd will make carrying cost zero, skipping transit-day cost impact","Payment failure or expired x402 credentials result in 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need to compare freight modes factoring in the often-overlooked inventory carrying cost of slower transit — not just raw freight rates. Ideal for supply chain agents, logistics cost optimizers, and e-commerce operators deciding between air and ocean for time-sensitive or high-value cargo where holding cost is material.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:41.052Z","isFirstParty":false,"canonicalSlug":"air-vs-ocean-freight-break-even-calculator-ff289a17"}