AWS released GetUsageLinesEstimatedCost on November 20, 2026. The new API lets developers send up to 500 usage lines and receive a cost estimate in a single call. It works with public On‑Demand rates, discounted rates, and rates that include Savings Plans or Reserved Instances. The service is generally available at no extra charge in all AWS Regions except GovCloud (US) and China.
Customers can embed the API in CI/CD pipelines, cost‑optimization tools, or AI assistants that design workloads. The response includes a cost per line and a total amount.
Why it matters
Developers can programmatically check pricing before launching resources, reducing surprise bills.