Model APIs
Model APIs run supported models such as DeepSeek, GLM, and Kimi on infrastructure managed by Baseten. You choose a model slug and pay per million tokens. All models support tool calling, structured outputs, and JSON mode; some also support reasoning, vision, or audio. Model APIs implement the OpenAI Chat Completions format. To update an OpenAI client, change its base URL, API key, and model slug. Requests use this endpoint:Deployed model endpoints
Baseten assigns each deployed model or Chain a dedicated subdomain. Use a deployed endpoint for models outside the Model APIs catalog, fine-tuned weights, custom serving logic, or multi-step Chains. You control the hardware, autoscaling settings, and serving engine. Each endpoint URL includes a deployment target: an environment name likeproduction, the development deployment, or a specific deployment ID.
For models:
model_id: the model’s alphanumeric ID, found in your model dashboard.chain_id: the chain’s alphanumeric ID, found in your chain dashboard.deployment_type_or_id: eitherdevelopment,production, or a specific deployment’s alphanumeric ID.endpoint: the API action, such aspredict.
Predict endpoints
All predict endpoints accept a JSON request body that is forwarded directly to the model’spredict function (for models) or chain entrypoint (for chains).
- Models
- Chains
- Regional
Status endpoints
Wake endpoints
Timeouts
Each request to a deployed model or chain has a server-side timeout. Requests that exceed it return a504.
Timeouts aren’t user-configurable. Set client timeouts based on your model’s expected response time. For more information, see Configure HTTP clients. For how to interpret and respond to a
504, see Inference errors.
Request size
The ingress proxy limits each request body to 100 MB. Larger requests return413 Request Entity Too Large before reaching the model or Chain. The limit includes the JSON envelope and any base64-encoded media and cannot be changed.
For large audio, video, or batched media, upload the file to S3, GCS, Azure Blob, or other object storage. Send a presigned URL in the request instead of embedding the file. The model can fetch the file directly from storage.
For how to interpret and respond to a 413, including the separate async payload limit, see Inference errors.