---
title: "Forecast Costs"
method: GET
path: "/api/v1/costs/forecast"
---

# Forecast Costs

`GET /api/v1/costs/forecast`

## Request

- Base URL: `http://127.0.0.1:8052`
- URL: `http://127.0.0.1:8052/api/v1/costs/forecast`
- Auth: none declared

Forecast cost for next hour and project monthly spend.

Extrapolates current spending rate to predict next hour's cost AND
rolls the trailing 7-day spend out to a 30-day projection
(``projected_month_usd``) for the web GUI's "projected month" KPI
card. The legacy fields (``forecast_next_hour_usd``,
``burn_rate_*``, ``confidence``, ``data_points``) remain unchanged
for the TUI / CLI.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/bernstein/apis/bernstein-task-server.md) · [All operations](https://skmtc.dev/bernstein/apis/bernstein-task-server/llms.txt) · [OpenAPI document](https://skmtc.dev/bernstein/apis/bernstein-task-server/revisions/2a20a34ad2eb?raw)
