Model APIs
Call hosted models with the OpenAI or Anthropic SDK. No deployment required.
Your own deployment
Serve a model you deploy with Truss on dedicated GPUs.
Frontier Gateway
Route one set of slugs across Baseten-hosted and external models.
https://inference.baseten.co/v1 with your Baseten API key and the OpenAI SDK pointed at that base URL. For pricing, rate limits, and usage, see Pricing and limits. For what happens after the gateway (routing, replicas, queuing, retries, cold starts), see Request lifecycle.
Inference API
When you deploy your own model, pick an interface that matches your payloads. Engine-Builder-LLM, BIS-LLM, and BEI expose/v1/chat/completions (or /v1/embeddings for BEI) on your deployment’s own endpoint, https://model-<id>.api.baseten.co/environments/production/sync/v1, with OpenAI-compatible parameters for structured outputs, tool calling, reasoning, and streaming. Custom Truss code can use /predict for arbitrary JSON when chat or embeddings are not a good fit. Use the Inference API reference for paths, methods, and errors.