WHEN TO SELF-HOST
A managed deployment is the faster path for most teams, and it is the only path that gives you inference logs, health metrics, and quality monitoring inside Oumi. Self-host when you have a requirement a hosted endpoint cannot meet:- Your network is air-gapped, or your data cannot leave your own infrastructure
- You have an existing serving stack the model needs to fit into
- You want to run the model on hardware you already own
- You are testing locally against a model you are still iterating on
STEP 1: EXPORT YOUR MODEL
- Go to the Models page and click the model name.
- On the model’s detail page, click Export.
- Click Continue Export to download the file to your computer.
- Model weights: the trained parameters resulting from fine-tuning
- Tokenizer and configuration files: required for correct input and output handling
- Model metadata: information about the training run and configuration
STEP 2: SERVE THE MODEL
vLLM, and its Apple Silicon equivalent vLLM-MLX, run an OpenAI-compatible inference server from your exported directory. The steps below are the same whether you run them on your own machine or on a cloud GPU instance. Follow the installation instructions on those projects’ homepages, for instance:RUNNING ON A CLOUD GPU INSTANCE
To serve from a cloud instance instead of your own machine, transfer the exported artifacts there first (viascp, S3, or GCS), then run the same two commands above on the instance. Point your client at the instance rather than localhost:
OTHER SERVING OPTIONS
You can use your exported model directly from Python via thevllm or Hugging Face transformers libraries rather than through a server. Hugging Face transformers also ships a CLI that serves an OpenAI-compatible API; see its serving documentation.
MANAGED PLATFORMS ELSEWHERE
If you want a hosted endpoint outside Oumi, an exported model imports into several third-party platforms.AMAZON BEDROCK
Bedrock supports custom model import, so you can serve your Oumi-trained model as a managed AWS endpoint. Read the AWS blog post for a full walkthrough. Best for: teams already on AWS who want a managed endpoint with no infrastructure overhead.LAMBDA
Lambda provides on-demand GPU instances well suited to hosting a vLLM server. Watch the Lambda deployment video for a step-by-step guide to spinning up an instance, loading your exported model, and making requests. Best for: teams who want direct GPU access and control over the serving stack.CHOOSING AN INSTANCE TYPE
The right instance depends on your model size, latency requirements, and budget. As a general rule, larger models need more GPU memory: a 7B parameter model typically needs at least 16 GB of VRAM, while a 30B+ model needs significantly more. Consult your provider’s documentation for current availability and pricing:OPERATIONAL CONSIDERATIONS
Cost: cloud GPU instances bill by the hour whether or not they serve traffic. For variable load, consider auto-scaling groups or a serverless inference platform so you are not paying for idle capacity. A managed deployment scales to zero by default and handles this for you. Latency: a network round trip adds latency compared to running locally. Choose a region close to your users and keep request payloads small. Security: restrict access to your endpoint with API keys, VPC networking, or IAM policies. Model versioning: keep exported artifacts versioned in cloud storage so you can roll back to a previous model. Observability: a self-hosted model does not report back into Oumi, so inference logs, health metrics, and quality monitoring are not available for it. Plan for your own logging and evaluation, or keep a managed deployment alongside for comparison.WHAT’S NEXT
Deploy a model
Stand up a managed endpoint instead, with logging and monitoring built in.
Evaluating after deployment
Re-evaluate your model as production data evolves.