webchat2api
LLM gateways and routers
398 83 6 months ago Slowing MIT
OpenAI-compatible proxy that adds reasoning techniques like MOA and MCTS to any LLM
Listed by Alston Antony, founder & editor
Health
ThrivingStars
4,343
Last commit
8 days ago
Nov 2026
Repository age
2 years
since Aug 2024
Latest version
v0.4.1
Nov 2026
Contributors
–
8 active in 90 days
Releases
15
last 12 months
Language
Python
OptiLLM is an inference proxy that speaks the OpenAI API. You send requests to it instead of your provider, and it applies one of more than 20 techniques at inference time. These include best-of-N, mixture of agents (MOA), MCTS, PlanSearch and CePO. No training or fine-tuning is involved.
You choose a technique by prefixing the model name, for example moa-gpt-4o-mini. It works with any OpenAI-compatible endpoint and supports providers such as OpenAI, Anthropic, Google and Cerebras. Over 100 more models are reachable through LiteLLM. It also has a built-in local inference server. You install it with pip, run it from source, or use Docker images in full, proxy-only and offline variants.
It is written in Python and licensed under Apache-2.0. It is not a replacement for one named commercial product. It fits as a self-hosted layer in front of hosted model APIs, and it can stand in for gateway-style tooling that only forwards requests.
You can test techniques like MCTS or PlanSearch against your existing model by changing the model name.
Skip if: You need a plain gateway for routing, budgets and key management without extra inference passes.
Extra compute at inference time can raise accuracy of a small model without fine-tuning.
Skip if: Latency and token cost matter more than accuracy on hard reasoning tasks.
More than 20 techniques sit behind one OpenAI-style API, so benchmarks are easy to repeat.
Skip if: You want to implement your own technique from scratch in a different framework.
Models often fail on multi-step math, coding and logic problems, and fine-tuning is costly. OptiLLM lets you spend more compute at request time instead. You keep your current model and client code.
pip install optillm
export OPENAI_API_KEY="your-key-here"
optillm From the project's own install instructions. Check the docs for production settings.
Yes. It is licensed under Apache-2.0. You still pay your model provider for the API calls it makes.
Yes. Install it with pip, run it from source, or use the Docker image on port 8000.
Prefix the model name with the technique, such as moa-gpt-4o-mini, when you call the proxy.
OpenAI, Anthropic, Google and Cerebras, plus any OpenAI-compatible endpoint. More than 100 models are available through LiteLLM.
LLM gateways and routers
398 83 6 months ago Slowing MIT
LLM gateways and routers
3.2k 628 today Thriving MIT
LLM gateways and routers
2.8k 447 yesterday Thriving AGPL-3.0
LLM gateways and routers
235 45 today Thriving Apache-2.0
LLM gateways and routers
432 19 25 days ago Slowing Apache-2.0
LLM gateways and routers
2.4k 483 today Thriving Apache-2.0