API reference
Baseten provides APIs for inference, workspace management, training, and the Frontier Gateway:
Inference API
For calling deployed models and chains.

Management API
For managing models, workspaces, and deployments.
Training API
For the Loops API and managing training projects and jobs.
Frontier Gateway API
For managing gateway endpoints, groups, and federated API keys.
CLI reference
Truss authors and deploys model code; the Baseten CLI manages your workspace. The CLI overview explains when to use each.- Truss CLI reference: Commands for initializing, deploying, and managing models.
- Baseten CLI reference: Commands for managing organizations, API keys, secrets, and the deployment lifecycle from scripts and CI.
- Chains CLI reference: Commands for orchestrating multi-model workflows.
- Loops CLI reference: Commands for deploying and inspecting Loops sessions, runs, samplers, and checkpoints.
- Training CLI reference: Commands for managing training jobs.
- Baseten Switch CLI reference: Commands for routing Claude Code, Codex CLI, and Pi to Model APIs.
Truss configuration
The Truss configuration reference documents every key inconfig.yaml: model resources, dependencies, secrets, and engine settings.
SDK reference
The Python SDKs provide an abstraction for deploying models, managing deployments, and interacting with models through code.- Truss SDK reference: Deploy and interact with Truss models using Python.
- Chains SDK reference: Build and manage inference chains programmatically.
- Loops SDK reference: Python clients for Loops training, sampling, and session management.
- Training SDK reference: Deploy and interact with trained models using Python.