#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.

Releases and problems feed (RSS)

Stars
4.3k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Python
Stars, last 34 weeks+1,002
28 Mar 2026: 3,343 stars4 Apr 2026: 3,353 stars11 Apr 2026: 3,368 stars18 Apr 2026: 3,385 stars25 Apr 2026: 3,392 stars2 May 2026: 3,411 stars9 May 2026: 3,501 stars16 May 2026: 3,800 stars23 May 2026: 3,976 stars30 May 2026: 4,029 stars6 Jun 2026: 4,090 stars13 Jun 2026: 4,100 stars20 Jun 2026: 4,109 stars27 Jun 2026: 4,125 stars4 Jul 2026: 4,131 stars11 Jul 2026: 4,141 stars18 Jul 2026: 4,144 stars25 Jul 2026: 4,183 stars1 Aug 2026: 4,194 stars8 Aug 2026: 4,209 stars15 Aug 2026: 4,216 stars22 Aug 2026: 4,226 stars29 Aug 2026: 4,233 stars5 Sept 2026: 4,240 stars12 Sept 2026: 4,245 stars19 Sept 2026: 4,280 stars26 Sept 2026: 4,289 stars3 Oct 2026: 4,292 stars10 Oct 2026: 4,297 stars17 Oct 2026: 4,309 stars24 Oct 2026: 4,323 stars31 Oct 2026: 4,327 stars7 Nov 2026: 4,331 stars14 Nov 2026: 4,338 stars21 Nov 2026: 4,345 stars

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

  1. v0.4.1 ↗ (opens in a new tab)BreakingSecurity fix

    “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.”

  2. “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

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
Also in Gateways and observability
RankProjectScore
#28giskard-ossPython library for evals and red-team scans of LLM agents6k starsApache-2.077 out of 100
#29tokscaleCLI and dashboard that tallies token usage and cost across AI coding agents5.9k stars+193 (+3.4%) in 30 daysMIT77 out of 100
#31switchyardRust library that routes each agent request to an efficient or capable model3.7k starsApache-2.076 out of 100
#32PlanoEnvoy-based data plane that routes, traces and guards agent traffic7.1k starsApache-2.075 out of 100
#33vllm-project/semantic-routerPolicy-driven router that selects or combines models behind one API endpoint6.5k starsApache-2.075 out of 100