> ## Documentation Index
> Fetch the complete documentation index at: https://docs.valkyrie.vals.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Costs types

> Public costs models and enums exported by the Valkyrie Python SDK.

This page documents all 5 public types in the `Costs` family in source order. Use the table of contents to jump to a type.

## `MonthModelCost`

A project's model spend in one UTC month.

Costs model · 2 fields

**Fields**

monthrequired · str

amount\_usdrequired · float

***

## `CostsByProjectResponse`

Spend grouped by month, vendor and project over a time window, with the runs behind it.

Costs model · 4 fields

**Fields**

startrequired · datetime

endrequired · datetime

rowsrequired · list\[[`ProjectCostRow`](https://docs.valkyrie.vals.ai/reference/sdk/models/costs#project-cost-row)]

runsrequired · list\[[`ProjectRun`](https://docs.valkyrie.vals.ai/reference/sdk/models/costs#project-run)]

***

## `ProjectCostRow`

Spend in one month for one vendor and project, with the number of runs that incurred it.

Costs model · 9 fields

**Fields**

monthrequired · str

vendorrequired · str

spend\_typerequired · str | None

subcategoryrequired · str | None

project\_handlerequired · str | None

project\_namerequired · str | None

customerrequired · str | None

amount\_usdrequired · float

run\_countrequired · int

***

## `ProjectModelCosts`

A project's model spend per UTC month, with its key's spend on no project's run.

Costs model · 5 fields

**Fields**

startrequired · datetime

endrequired · datetime

monthsrequired · list\[[`MonthModelCost`](https://docs.valkyrie.vals.ai/reference/sdk/models/costs#month-model-cost)]

unattributed\_usdrequired · float

throughrequired · datetime

***

## `ProjectRun`

One run that incurred spend in the window, with the project it ran in.

Costs model · 3 fields

**Fields**

project\_handlerequired · str | None

run\_idrequired · UUID

started\_atrequired · datetime


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.