Model APIs
Call hosted models with the OpenAI or Anthropic SDK. No deployment required.
Your own deployment
Serve a model you deploy with the Baseten CLI on dedicated GPUs.
Frontier Gateway
Offer an inference API to your customers with API keys, usage limits, and billing events.
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.