Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Calculates the LLM token and external API cost of a completed Output SDK workflow run by run ID.
14% 100%+86 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 3 of 22 without it.
In the structured JSON report from `npx output workflow cost`, which field represents the total run execution duration?
Identifies durationMs as the duration field name
3 of 3 safety checks passed
This skill helps you calculate the cost of a completed workflow execution using the Output CLI. It breaks down costs by LLM model (token usage) and external API service calls.
The workflow cost command requires a workflow run ID — not the workflow name.
A run ID looks like: process_transcripts_2026-03-23T19:35:17.000Z_c2biRk_F9rYktF-wagBf5
Option A — List recent runs (use skill: output-workflow-runs-list):
npx output workflow runs list <workflowName> --limit 5
Copy the run ID from the most recent completed run.
Option B — Run the workflow now and capture the ID:
If you know the input, run it synchronously and the run ID will be in the output:
npx output workflow run <workflowName> --input '{"key": "value"}'
Or asynchronously (use skill: output-workflow-start):
Next to this one in the catalogue, plus more from the same author.