Command Reference
Teams
List, switch, create teams, and invite members from the CLI.
A team maps 1:1 to an organization on Inference.net. Every command that talks to the API scopes its request to a team, using a request header, so switching teams is instant and does not require signing in again.
Team management commands require session login (inf auth login). A project API key cannot list, switch, create, or invite to teams.
inf team list
List every team you belong to. The active team is flagged with a green dot (●).
inf team listAlias: inf team ls
inf team current
Show the ID, name, and slug of the active team.
inf team currentIf no team is active, the command errors and points you at inf team switch <id>.
inf team switch
Set a different team as the active team for later commands. The CLI looks up your teams to resolve the ID, slug, or name you pass, then stores the resolved team ID in local config. It does not call organization/set-active, so it never touches your session's stored active team on the server.
inf team switch [id-or-slug]Alias: inf team use
Arguments
| Argument | Required | Description |
|---|---|---|
id-or-slug | No | The target team's ID, slug, or exact team name |
Examples
# Choose a team from an interactive list
inf team switch
inf team switch team_abc123
inf team switch acme
inf team switch "Acme Research"In a non-interactive shell or with --json, pass an ID or slug. The CLI cannot show an interactive selector in these modes.
Switching teams does not change your active project. Run inf project list after switching to see the new team's projects, then inf project switch <id> to pick one.
inf team create
Create a new team with a default project, and make both active.
inf team create <name>Arguments
| Argument | Required | Description |
|---|---|---|
name | Yes | Display name for the new team |
Example
inf team create "Acme Research"inf team invite
Invite a person to the active team by email.
inf team invite <email>Arguments
| Argument | Required | Description |
|---|---|---|
email | Yes | Email address of the person to invite |
Options
| Option | Required | Description | Default |
|---|---|---|---|
--role <role> | No | Role to assign: member or admin | member |
Examples
inf team invite teammate@example.com
inf team invite teammate@example.com --role adminInvite to a specific team without switching your active team, using the global --team flag:
inf team invite teammate@example.com --team team_abc123inf team billing-records
List the active team's recent settled billing records, newest first. Each record shows the billed action, reference id, quantity, billed amount and included-usage split, and usage metadata such as model and token counts.
GPU-hour charges of a dedicated capacity deployment are listed as one record per deployment, GPU type, rate and UTC day:
- The reference id is
deployment_gpu_hour:<deploymentId>:<gpuType>:<YYYY-MM-DD>. - The GPU type is the GPU family, for example
b300. - The record is dated at the start of that UTC day. Today's record is the total so far and changes until the day ends, under the same reference id.
--created-afterreturns a day whole when any part of it is after that time, so syncing forward returns the current day again with its new total. Replace what you stored for that day; do not add to it. A day whose rate changed has one record per rate under the same reference id, so key stored records on the reference id together withratePerGpuHourCents.- The metadata includes
deploymentId,gpuType,gpuHours,ratePerGpuHourCents,periodStartandperiodEnd(the bounds of the UTC day). - All of a day's records come back together, so a response can hold a few more records than
--limit. - To page back through history, pass
--created-beforeone millisecond before the date of the last record returned. Each day is then returned once.
inf team billing-records [options]Options
| Option | Required | Description | Default |
|---|---|---|---|
--action <action> | No | Only records for one billable action, e.g. halo_run | All |
--limit <n> | No | Maximum records to return (1–100). A response that ends on a dedicated capacity day also returns the rest of that day's records | Server |
--created-after <time> | No | Only records created after this ISO 8601 timestamp. A dedicated capacity day is included when any part of it is after the timestamp | — |
--created-before <time> | No | Only records created before this ISO 8601 timestamp. A dedicated capacity day is included when it starts at or before the timestamp | — |
Example
inf team billing-records --action serverless_inference --limit 20inf team get-reference
Show the active team's billing records for one reference id (for example serverless_inference:<generationId> or halo_run:<runId>). Returns not found when the team has no record for that reference.
For a dedicated capacity deployment, use the daily reference id deployment_gpu_hour:<deploymentId>:<gpuType>:<YYYY-MM-DD>. It returns that UTC day's GPU-hour records, as inf team billing-records lists them: one record, or one per rate if the rate changed during that day.
inf team get-reference --reference-id <referenceId>