Deployments.ai Docs
Command reference

deployments cost

Estimated and provider-reported costs

CommandSummary
deployments cost showShow cost records
deployments cost summarySummarize cost per metric and hour or day

deployments cost show

Show cost records.

deployments cost show
  • Calls GET /v1/costs (SDK listCostRecords).
  • Needs an environment: --env or the saved context.
  • Paginated. --page-size sets the page size; pass the returned cursor as --cursor for the next page.
FlagTypeRequiredDefaultDescription
--cursorstring (cursor)Pagination cursor
--page-sizestring (number)Page size
--sincestringStart timestamp
--untilstringEnd timestamp

Also accepts the global flags.

deployments cost summary

Summarize cost per metric and hour or day.

deployments cost summary --since <since> --until <until>
FlagTypeRequiredDefaultDescription
--sincestringyesStart timestamp on an interval boundary (UTC)
--untilstringyesEnd timestamp on an interval boundary (UTC), exclusive
--intervalstringBucket width: hour (default) or day
--definitionstringOnly usage of runs that executed this agent definition
--workspace-idstringOnly usage that names this workspace; not combinable with --definition

Also accepts the global flags.

On this page