Skip to Content
How-to guidesTrack cost by project

Track cost by project

See what each product, client or team costs in LLM and compute, and keep every new launch accounted for. Do this once to set up projects, then read the numbers whenever you need them. For the ideas behind it, see Projects and cost attribution.

Before you start

  • Role: owner or admin to set up projects and read cost. Any member who can edit a manifest can pick its project.
  • At least one manifest.

Steps

1. Create projects and choose a policy

  1. Open Settings > Projects.
  2. Click Create your first project, then enter a name. Add a code, a color and a description if they help. Mark one project as the default if you plan to use the Default policy.
  3. Choose the policy: Optional, Default or Required. When you choose Required, Marshal lists the manifests that would be blocked, with their deputies, schedules and triggers, before you confirm.

2. Assign manifests

  • In the manifest editor, set the Project field.
  • On the Manifests page, use the Project column and its filter to find manifests without one. Admins can tick several manifests and choose Set project… to assign them together.
  • Manifests that need a project show a Project required badge when the policy is Required.

From the CLI:

marshal manifests set-project <manifest> <project>

Changing a project moves the manifest’s live spaces from today. Past cost stays put.

3. Charge past usage to projects

Admins can bring earlier usage into the picture once. On Settings > Projects, click Charge past usage to projects. Marshal shows a preview of how much each project would gain, then charges the last 90 days of each space by its manifest’s project. It runs once per organization.

4. Read the numbers

  1. Open Costs and select the Projects tab (Costs > Projects).
  2. Pick a date range from the presets. The KPI row shows LLM, compute and total, and the daily chart shows the trend.
  3. The table has one row per project, plus Unassigned and Shared & idle. The rows add up to the org total.
  4. Click Export CSV to take the table into a spreadsheet.
  5. Click a project to open its drill-down: By manifest, By user, By deputy, By model and Top spaces.

5. Fix a launch that was refused

Under the Required policy, launching from a manifest without a project is refused.

  • If you can edit the manifest, the launch dialog says “Your admin requires a project on this manifest. Pick one to continue.” Choose a project and the launch goes ahead.
  • Otherwise it says “This manifest needs a project before it can launch. Ask its owner or an admin.” The owner or an admin sets the project, and you launch again.

Runs from schedules and triggers on an untagged manifest end as failed with the same reason until the manifest has a project. The owner sees an item in their inbox.

6. Move a space

A space sometimes belongs to a different project than its manifest. Admins open the space’s cost panel and click Move…, then choose the project to charge it to.

From the CLI

marshal cost projects ls marshal cost projects create <name> marshal cost projects archive <project> --reassign-to <other-project>

Archiving a project needs somewhere for its manifests to go. Pass --reassign-to with another active project, and its manifests and live spaces move there.

What you should see

  • Your projects listed in Settings > Projects.
  • Costs > Projects showing a row per project, and the rows adding up to the org total.
  • New launches charged to their manifest’s project from that UTC day.

Next

Open Costs > Projects, pick the last 30 days, and click your biggest project to see who and what drives it.