Quickstart: Make your first inference call
Choose how to start
Call a hosted model
Deploy your model
Train a model
Model APIs
Model APIs expose hosted endpoints for a curated set of models. They support the OpenAI Chat Completions API and the Anthropic Messages API in beta, so you can use familiar client SDKs. Choose Model APIs when a supported model fits your application and you want to start with an API call. Baseten manages the model, engine, hardware, and scaling.Dedicated inference
Deploy an open-source model, private checkpoint, or custom model on dedicated infrastructure. Define the model with a configuration file, a Python model class, or a custom Docker server, then deploy it with the Baseten CLI. See Develop a model on Baseten for each approach. For supported architectures, aconfig.yaml can define the model, hardware, and inference engine without custom serving code. Use a Python model class or a custom Docker server when you need custom preprocessing, postprocessing, dependencies, or server behavior.
Dedicated deployments give you control over the model, hardware, autoscaling settings, and release lifecycle. They also support stable environments for development, staging, and production.
Deploy your first model
How Baseten works
Inference engines
Baseten maintains inference engines for common model architectures:- Engine-Builder-LLM compiles dense text-generation models with TensorRT-LLM.
- BIS-LLM serves large mixture-of-experts models with distributed inference and KV-aware routing.
- BEI serves embedding, reranking, and classification models.
config.yaml, let Baseten select one for a supported architecture, or run a server such as vLLM or SGLang in a custom Docker container.
Training
Baseten has two ways to train models:- Loops provides dedicated trainers and samplers for supervised fine-tuning and reinforcement learning on supported base models.
- Training Jobs runs your framework and training code in your own container on dedicated GPU clusters.