- Better performance: Dedicated GPUs provide higher throughput, lower latency, and more predictable performance.
- No hard rate limits: You’re only limited by the capacity of your selected hardware, plus the bounds of your autoscaling configuration.
- Fine-tuned models: Deploy a model you fine-tuned from a supported base model.
- Cost-efficient at scale: DMI bills per-GPU-minute, which is cheaper at high utilization than serverless models (which bill per-token).
Get started
Quickstart
Deploy and call your first endpoint in a few minutes.
Concepts
The DMI resource model and development workflow.
Manage deployments
Create, scale, stop, and delete your deployments.
Supported models
Browse the list of Together-hosted models you can deploy.
Upload a fine-tuned model
Deploy a model you fine-tuned from a supported base model.
Migrate from v1
Migrate a dedicated endpoint to the new DMI resource model.
Together CLI
The easiest way to manage dedicated model inference is by using the Together CLI. Each command creates and wires up the underlying resources for you:
To learn more about the underlying resources, see Concepts.
Project scope
Thetg beta commands, the management API, and the Python SDK’s client.beta.* methods operate within a Together AI project. The CLI reads the project from the TOGETHER_PROJECT_ID environment variable, or you can pass --project on any command. If neither is set, it uses the project associated with your API key.
In the Python SDK, pass project_id to Together() or set TOGETHER_PROJECT_ID. Otherwise, call client.whoami().project_id before project-scoped API calls.
Development workflow
To create a deployment, run thetg beta endpoints deploy command, passing the model and endpoint name. This creates an endpoint, attaches a deployment, and routes all traffic to it:
<project_slug>/<endpoint_name>): this is the endpoint string you pass as the model parameter on inference requests.
Once the deployment is ready, send inference requests to the endpoint using the same inference API as serverless models. Pass the endpoint string as the model parameter:
deploy bundles the endpoint, deployment, and traffic-routing steps for you. To run those steps individually, or to drive them from the Python and TypeScript SDKs, see Manage deployments.
For a step-by-step walkthrough, follow the quickstart. For more details on the DMI resource model, see Concepts.
Key features
- Deploy any supported model: Run a Together-hosted model, a model you fine-tuned on Together, or a fine-tuned model you upload.
- Autoscale on demand: Scale your deployments with replicas to meet demand, and stop them when you don’t need them to reduce costs.
- Split traffic across deployments: Host multiple deployments behind one endpoint URL and route requests between them by weight.
- Compare deployments on live traffic: Run an A/B test with control and variant splits to measure a candidate against a baseline before you promote it.
- Monitor endpoints: Track latency, throughput, and utilization in built-in dashboards, and trace lifecycle changes through the events feed.