#3030th of 76 in Gateways and observability
optillm
OpenAI-compatible proxy that applies inference-time reasoning techniques to any LLM
Run it:Vast.ai ↗ (opens in a new tab)RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 4.3k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Python
3,343 on 28 Mar 20264,345 on 21 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
OptiLLM is a Python proxy that exposes an OpenAI-compatible chat completions endpoint and wraps requests with inference-time techniques such as MoA, MCTS, PlanSearch, CePO and MARS. The technique is chosen by a model-name prefix (e.g. `moa-gpt-4o-mini`), an `extra_body` field or a prompt tag. It forwards to OpenAI, Azure, Cerebras, a local server or LiteLLM providers, and includes plugins for memory, PII anonymization, URL reading, MCP and code execution.
Who it is for: Engineers wanting better reasoning from existing LLM APIs without training
Strengths
- Technique chosen per request via model prefix, extra_body or prompt tag; chainable with & and |
- Works with any OpenAI-compatible endpoint and LiteLLM providers; clients only change base_url
- Plugins for privacy, memory, MCP client, code execution, JSON output and provider failover
- Binds to 127.0.0.1 by default; Docker images in full, proxy-only and offline variants
Weaknesses
- Techniques like MoA, MCTS and N-sample selection multiply API calls, raising latency and token cost
- CoT decoding, entropy decoding and AutoThink are marked not available through the proxy
- Accuracy gains are the project's own benchmark claims and vary by model and task
- Startup log shows the Flask development server, which the README says not to use in production
What it needs
- GPU optional
- Docker + Compose
- Needs OpenAI-compatible API or LiteLLM provider, spaCy (privacy plugin), Selenium and Chrome (web_search plugin)
- Models: OpenAI, Azure OpenAI, Cerebras, Anthropic, Google Gemini
- port 8000
What changed
“executecode is now disabled by default (#337, #302). The plugin runs Python from requests and LLM responses with no sandboxing. To keep using it, start optillm with --enable-unsafe-plugins=executecod…”
“readurls: blocks SSRF destinations, including CGNAT/shared and multicast ranges.”
- v0.4.0 ↗ (opens in a new tab)Breaking
“MCP websocket transport removed (dropped from the MCP Python SDK in 2.x). Configs using "transport": "websocket" must switch to streamablehttp or sse.”
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Reported, then fixed by a linked change
- optillm/plansearch.py bug ↗ (opens in a new tab)0 reactions · closed 20 Nov 2025Fixed by Fix max tokens ↗ (opens in a new tab)
- missing google library ↗ (opens in a new tab)0 reactions · closed 20 Nov 2025Fixed by Bump version to 0.3.8 and add google-cloud-aiplatform ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Gateways and observability
See all 76| Rank | Project | Score |
|---|---|---|
| #28 | giskard-ossPython library for evals and red-team scans of LLM agents | 77 out of 100 |
| #29 | tokscaleCLI and dashboard that tallies token usage and cost across AI coding agents | 77 out of 100 |
| #31 | switchyardRust library that routes each agent request to an efficient or capable model | 76 out of 100 |
| #32 | PlanoEnvoy-based data plane that routes, traces and guards agent traffic | 75 out of 100 |
| #33 | vllm-project/semantic-routerPolicy-driven router that selects or combines models behind one API endpoint | 75 out of 100 |