7 open-source alternatives ranked by real activity

Open-source Together AI alternatives

A curated, ranked list of the 7 best open-source alternatives to Together AI.

The best open-source alternative to Together AI is vLLM. If that doesn't suit you, other good options are SGLang, Unsloth, LocalAI and Ray.

Commercial alternatives to Together AI include Baseten, Fireworks AI, DeepInfra and Groq. See all 34.

Together AI alternatives are mainly AI infrastructure tools, but some are also hosting & PaaS tools and AI tools. 6 of them shipped code in the last 30 days, 7 can be self-hosted, and 7 use a permissive licence.

Last updated November 12, 2026 · ranked by GitHub stars, growth and recent commits

vLLM

A Python library and server for fast, memory-efficient LLM inference and serving, with PagedAttention, continuous batching and broad quantization support.

GitHub stars
97k
Last commit
yesterday
Latest release
v0.33.0rc3
Licence
Apache-2.0
Self-hosted
Yes
vllm.aivLLM homepage screenshot

vLLM is an open-source library for running and serving large language models efficiently. It originated at UC Berkeley's Sky Computing Lab and is now developed by a large community of contributors from academia and industry. It is written in Python and released under the Apache-2.0 license.

Speed comes from techniques such as PagedAttention for attention key-value memory, batching incoming requests continuously, chunked prefill, prefix caching, CUDA and HIP graphs, and optimized attention and mixture-of-experts kernels. It supports many quantization formats, including FP8, INT8, INT4, GPTQ and AWQ, as well as speculative decoding and disaggregated prefill and decode.

On the usability side, vLLM integrates with Hugging Face models and supports parallel sampling, beam search, streaming outputs, structured outputs and tool calling, plus several parallelism modes (tensor, pipeline, data, expert and context) for distributed inference. It targets NVIDIA, AMD and TPU hardware and suits teams that serve open models in production and need high throughput.

Key features

  • PagedAttention and continuous batching
  • Quantization including FP8, INT8, GPTQ and AWQ
  • Speculative decoding support
  • Tensor, pipeline and expert parallelism
  • OpenAI-compatible API server
  • Hugging Face model integration
  • Streaming and structured outputs

Pricing: Free and open source under the Apache-2.0 license.

Read more about vLLMWebsiteGitHub#1 Together AI alternative

SGLang

SGLang is an open-source framework for serving language, vision-language and diffusion models, built for fast inference at scale.

GitHub stars
39k
Last commit
yesterday
Latest release
v0.5.23
Licence
Apache-2.0
Self-hosted
Yes
sglang.ioSGLang homepage screenshot

SGLang is an inference framework, released as open source, for language models, vision-language models and diffusion models. It is optimized for agentic workloads, reinforcement-learning rollouts and large-scale serving. The project includes SGLang Diffusion, a built-in engine for image and video generation that ships in the same repository and Python package. It is released under the Apache-2.0 license.

Getting started takes either a prebuilt Docker image or a Python install using uv, followed by a launch command for the chosen model. A cookbook helps pick a model and hardware pair and generates a ready-to-run command. Supported hardware spans NVIDIA and AMD GPUs, Google TPUs, Intel GPUs and CPUs, Apple Silicon through Metal and MLX, and Huawei Ascend NPUs, with more integrations in progress. The wider SGLang ecosystem adds educational projects and community events.

Key features

  • Serving for LLMs, vision-language and diffusion models
  • Docker image and uv-based Python install
  • Cookbook with ready-to-run launch commands
  • Runs on NVIDIA, AMD, TPU, Intel and Ascend hardware
  • Built-in image and video generation engine
  • Tuned for agentic and RL rollout workloads

Pricing: Free and open source under the Apache-2.0 license.

Read more about SGLangWebsiteGitHub#2 Together AI alternative

Unsloth

An open-source app and framework for running and fine-tuning LLMs and diffusion models locally, with GGUF and MLX support and an OpenAI-compatible API.

GitHub stars
79k
Last commit
today
Latest release
v0.1.917-beta
Licence
Apache-2.0
Self-hosted
Yes
unsloth.aiUnsloth homepage screenshot

Unsloth is an open-source framework with a desktop app for running and training AI models on your own hardware. The same tool covers inference of local language, image, audio and embedding models as well as fine-tuning them, and it runs on Windows, Linux (including WSL) and macOS, with support for NVIDIA, AMD and Intel GPUs, CPUs and a Vulkan backend.

On the running side it loads GGUF and MLX models, serves them through an OpenAI-compatible API, and lets coding agents such as Claude Code and Codex use local models with tool calling and code execution. It also offers private web search, deep research and retrieval, plus access from other devices over a LAN or a secure remote link. For training it supports LoRA, QLoRA, full fine-tuning, pretraining and reinforcement learning methods such as GRPO and DPO, with export to formats including GGUF.

The project claims fine-tuning that is roughly twice as fast with about 70 percent less VRAM, which was its original draw. Unsloth is Apache-2.0 licensed, can be installed from native packages or a Docker image, and has notebooks and documentation for getting started.

Key features

  • Run GGUF and MLX models locally
  • Fine-tune LLMs with LoRA and QLoRA
  • Reinforcement learning with GRPO and DPO
  • OpenAI-compatible API for local models
  • Native desktop app and Docker image
  • Export trained models to GGUF

Pricing: Free and open source under the Apache-2.0 license.

Read more about UnslothWebsiteGitHub#3 Together AI alternative

LocalAI

An open-source AI engine that runs LLMs, vision, voice, image and video models on your own hardware behind OpenAI-compatible APIs, with no GPU required.

GitHub stars
50k
Last commit
yesterday
Latest release
v4.12.1
Licence
MIT
Self-hosted
Yes
localai.ioLocalAI homepage screenshot

LocalAI is an open-source AI engine for running models of many kinds, including language, vision, voice, image and video models, on your own hardware. A GPU is not required. It is written in Go and released under the MIT license, was started by Ettore Di Giacinto and is looked after by the LocalAI team.

Its design is a small core with separate backends that are pulled on demand, so nothing unused gets installed. Backends wrap engines such as llama.cpp, vLLM, whisper.cpp, stable-diffusion and MLX, and you can write your own in any language against an open interface. It can run on CPU alone, through Vulkan, or on NVIDIA, AMD, Intel and Apple Silicon hardware.

APIs are drop-in compatible with OpenAI, Anthropic and ElevenLabs across every backend. Multi-user features include API key authentication, user quotas and role-based access, and built-in agents support tool use, RAG, MCP and skills. The project stresses that data stays on your infrastructure. It suits developers and teams who want a private, self-hosted replacement for cloud AI APIs.

Key features

  • Runs LLM, vision, voice, image and video models
  • Composable backends pulled on demand
  • OpenAI, Anthropic and ElevenLabs API compatibility
  • Runs on CPU, NVIDIA, AMD, Intel and Apple Silicon
  • API key authentication, quotas and role-based access
  • Built-in agents with tools, RAG and MCP

Pricing: Free and open source under the MIT license.

Read more about LocalAIWebsiteGitHub#4 Together AI alternative

Ray

Ray is an open source framework for managing, executing, and optimizing compute needs, designed to support any AI or ML workload.

GitHub stars
44k
Last commit
yesterday
Latest release
ray-2.60.0
Licence
Apache-2.0
Self-hosted
Yes
Hosted version
Available
ray.ioRay homepage screenshot

Ray is an AI compute engine that consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads. It is Python-native and built by developers for developers, designed to orchestrate infrastructure for distributed workloads on any accelerator at any scale.

The platform aims to address the AI Complexity Wall by supporting any AI or ML workload, any data types and model architectures, and heterogeneous GPUs and CPUs with fine-grained scaling. It can scale from a laptop to thousands of GPUs.

Key features

  • Supports any AI or ML workload
  • Handles multi-modal data processing including images, videos, audio
  • Runs distributed training for Gen AI foundation models, time series models, and traditional AI/ML models
  • Offers model serving with independent scaling and fractional resources via Ray Serve
  • Supports batch inference with heterogeneous compute using CPUs and GPUs
Read more about RayWebsiteGitHub#5 Together AI alternative

MLflow

MLflow is an open-source platform for debugging, evaluating and monitoring AI agents, LLM applications and machine learning models.

GitHub stars
29k
Last commit
yesterday
Latest release
v3.18.0
Licence
Apache-2.0
Self-hosted
Yes
Hosted version
Available
mlflow.orgMLflow homepage screenshot

MLflow is an open-source AI engineering platform for agents, LLM applications and ML models. It helps teams debug, evaluate, monitor and optimize AI applications in production while keeping control of costs and access to models and data. It is written in Python, released under the Apache-2.0 license, and has been developed since 2018, with topics covering MLOps, model management and LLMOps.

For LLM and agent work it offers production observability with traces, plus evaluation, prompt management and prompt optimization, and an AI Gateway that governs costs and model access. It works with Python, TypeScript and JavaScript, Java and other languages, and integrates with OpenTelemetry and MCP. Getting started means starting an MLflow server, enabling logging in your code and running it, then exploring traces and metrics in the web UI on port 5000. A setup wizard can connect to an MLflow server or a Databricks workspace and add tracing with a coding agent.

Key features

  • Tracing and observability for LLM apps and agents
  • Evaluation tools for models and agents
  • Prompt management and prompt optimization
  • AI Gateway for cost and model access control
  • OpenTelemetry and MCP integration
  • Web UI for exploring traces and metrics

Pricing: Free and open source under the Apache-2.0 license; the README also mentions connecting to a Databricks workspace.

Read more about MLflowWebsiteGitHub#6 Together AI alternative

Kubeflow

Kubeflow is an open source platform for deploying ML workflows on Kubernetes.

GitHub stars
16k
Last commit
1 mo ago
Latest release
redirect
Licence
Apache-2.0
Self-hosted
Yes
kubeflow.orgKubeflow homepage screenshot

Kubeflow is the Cloud Native AI platform composed of modular, open source projects that form a Kubernetes-native stack for data and AI workloads. It is designed for AI practitioners, platform administrators, and decision-makers who need modular, scalable, and extensible tools for data, AI/ML, and HPC use-cases.

The platform's mission is to bridge the Data, AI, and Cloud Native ecosystems, enabling teams to deliver more models, agents, and AI applications into production across the AI lifecycle. It is built by an open global community and aims to be the standard for Data & AI workloads on Kubernetes.

Key features

  • Runs workloads at any scale without requiring Kubernetes expertise
  • Portable across local laptops, on-premises, and any cloud
  • Manages hyperscale training jobs and high-throughput AI agents
  • Composable tools that can be mixed and matched across the AI lifecycle
  • Includes subprojects: Spark Operator, Notebooks, Trainer, Katib, and Hub
Read more about KubeflowWebsiteGitHub#7 Together AI alternative

Commercial Together AI alternatives

Hosted, closed-source products that compete with Together AI. Showing 12 of 34.

See every Together AI alternative on its tool page

Together AI alternatives: questions

What is the best open-source alternative to Together AI?
vLLM is the top-ranked open-source alternative to Together AI on Enlisted: A Python library and server for fast, memory-efficient LLM inference and serving, with PagedAttention, continuous batching and broad quantization support. Other strong options are SGLang, Unsloth, LocalAI and Ray.
What are the best commercial alternatives to Together AI?
Baseten, Fireworks AI, DeepInfra, Groq and Cerebras are among the hosted, closed-source alternatives to Together AI listed on Enlisted, which lists 34 in total. Compare their pricing and features on each tool page.
Are these Together AI alternatives free?
All 7 are open source, so the code is free to use under its licence, and all of them can be self-hosted on your own server or computer. 2 also offer a paid or managed cloud version if you'd rather not host it yourself.
How is this list of Together AI alternatives ranked?
By a score built from GitHub stars, star growth over the last 30 days and how recently the code changed. 6 of these projects shipped code in the last 30 days. Data is refreshed daily, and nobody can pay to move up.

People also look for alternatives to…

View all