Skip to main content

Command-line tools

Baseten CLI

Deploy and manage models from your terminal. Install with Homebrew on macOS or Linux:
GitHub · Docs

Truss CLI

Package models and run Chains, Loops, and Training commands.
GitHub · Docs

Baseten Switch

Configure coding agents to use Model APIs on macOS. Baseten Switch is in beta.
Docs

Management SDKs

Call the Management API from your application.

Python

Manage models and deployments with synchronous or asynchronous Python methods.
GitHub · Docs

TypeScript and JavaScript

Manage models and deployments from Node.js applications.
GitHub · Docs

Go

Manage models and deployments from Go applications.
GitHub · Docs

Model development and training

Truss SDK

Package and deploy models from Python. Import the package as truss.
GitHub · Docs

Chains SDK

Define chainlets and compose inference pipelines. Import the package as truss_chains.
GitHub · Docs

Loops SDK

Run LoRA training and generate samples with Python 3.12 or later. Import the package as baseten.loops.
PyPI · Docs

Training SDK

Configure compute, runtime, and storage for training jobs. Import the package as truss_train.
GitHub · Docs

Inference clients

The Performance Client sends concurrent embedding, reranking, classification, and batch requests to model endpoints.

Python Performance Client

Send concurrent inference requests with synchronous or asynchronous Python methods.
GitHub · Docs

Node.js Performance Client

Send concurrent inference requests from Node.js applications.
GitHub · Docs

Rust Performance Client

Send concurrent inference requests with Tokio.
GitHub · Docs
See Batching and concurrency to control batch size and concurrent requests.

Terraform

Terraform provider

Manage Baseten resources with Terraform. Add the provider to your configuration:
Run terraform init to install the provider.GitHub · Docs