Fetch time-series usage and cost data from the command line usingDocumentation Index
Fetch the complete documentation index at: https://docs.simplismart.ai/llms.txt
Use this file to discover all available pages before exploring further.
simplismart usage.
Cost & Usage
Usage Stats
Fetches cost and compute usage for a given plan type and time range.| Option | Description |
|---|---|
--plan-type TYPE | Compute plan to query (required). See Plan Types |
--start-time TIME | Range start in ISO 8601 format (required) |
--end-time TIME | Range end in ISO 8601 format (required) |
--window-size SIZE | Aggregation bucket size (required). Options are: MINUTE, 15MIN, 30MIN, HOUR, 3HOUR, 6HOUR, 12HOUR, DAY, WEEK |
--workspace-id UUID | Restrict to a specific workspace UUID (uses org default if omitted) |
--deployment-id a,b,... | Filter by deployment UUID(s). Only valid for private, byoc |
--deployment-slug a,b,... | Filter by deployment slug(s). Only valid for private, byoc |
--model-name a,b,... | Filter by model name(s) (e.g. DeepSeek-R1). Only valid for shared |
--training-job-id a,b,... | Filter by training job UUID(s). Only valid for training |
--training-job-name a,b,... | Filter by training job name(s). Only valid for training |
--model-repo-id a,b,... | Filter by model repo UUID(s). Only valid for compilation |
--model-repo-name a,b,... | Filter by model repo name(s). Only valid for compilation |
--include-all-statuses | Include all deployment statuses (SUCCESS, STOPPED, DELETED, FAILED, etc.). Default: only SUCCESS and STOPPED. Not supported for training and reserved |
Each filter flag can be passed only once (use comma-separated values like
a,b,c for multiple values). Passing an unsupported filter for the selected plan type returns an error.- You can find
workspace-idunder Settings > Workspaces. Select your workspace and copy the workspace ID.

- Go to Deployments and select a deployment to find the
deployment-idanddeployment-slug.

Plan Types
| Value | Description |
|---|---|
shared | Shared endpoint usage |
private | Private dedicated deployment usage |
byoc | Bring Your Own Compute deployment usage |
reserved | Reserved capacity usage |
training | Training and fine-tuning job usage |
compilation | Model compilation job usage |
private): daily cost for the last 7 days
shared): hourly cost for the last 24 hours, linked to a given workspace
private): daily cost scoped to deployments by --deployment-id (comma-separated UUIDs)
shared): daily cost filtered to inference on specific --model-name values
training): weekly rollup for specific jobs (--training-job-name)
compilation): weekly rollup for --model-repo-name:
jq to sum per-bucket costs:
The
--pg-token global flag or the SIMPLISMART_PG_TOKEN environment variable must be set. All times must be in ISO 8601 format and start-time must be before end-time.