# Self-hosted alternatives to TensorZero

> 1 self-hostable, open-source alternative to TensorZero, ranked by score.

- [OpenGateLLM](https://selfhost.directory/project/opengatellm)

## Also in API Gateway

Not listed as TensorZero alternatives, but from the same category:

- [llm-gateway](https://selfhost.directory/project/llm-gateway): Self-hosted open-source API gateway routing 250+ LLM models from 40+ providers via unified OpenAI-compatible API with cost tracking, caching, and failover.
- [voidllm](https://selfhost.directory/project/voidllm): Self-hosted LLM proxy routing to OpenAI, Anthropic, Azure, Ollama, vLLM with load balancing, RBAC, rate limits, and zero-knowledge architecture.
- [lmgate](https://selfhost.directory/project/lmgate): Self-hosted gateway adding enterprise auth, rate limits, and model ACLs to Ollama, llama.cpp, and LM Studio via Docker Compose.
- [BricksLLM](https://selfhost.directory/project/bricksllm): Open-source Go AI gateway that meters LLM traffic with per-key rate limits, spend caps, and PII masking, covering OpenAI-style APIs, Anthropic, Azure and vLLM.
- [AISIX OSS](https://selfhost.directory/project/aisix): Self-hosted, open-source AI gateway with one OpenAI-compatible API for 100+ LLM providers, routing, guardrails, caching, rate limits, and observability — built in Rust.
- [inference-gateway](https://selfhost.directory/project/inference-gateway): Self-hosted gateway that routes requests to 16+ LLM providers through a single OpenAI-compatible endpoint with MCP tools, A2A agents, guardrails, and observability.

All 78 API Gateway projects: https://selfhost.directory/api-gateway

---
Source: https://selfhost.directory/alternative-to/tensorzero