Docs
Self-hosting
Run OpenThena — and optionally a LiteLLM proxy — yourself.
OpenThena is a standard Next.js app. Build it and run it anywhere Node runs.
bash
npm install
npm run build
npm run start # serves on http://localhost:3000Optional: a real LiteLLM proxy
To centralize keys, budgets, and many providers, run the LiteLLM proxy and point OpenThena at it. A minimal litellm.config.yaml ships in the repo:
yaml
model_list:
- model_name: mimo-v2.5-pro
litellm_params:
model: openai/mimo-v2.5-pro
api_base: https://api.xiaomimimo.com/v1
api_key: os.environ/MIMO_API_KEYbash
pip install "litellm[proxy]"
litellm --config litellm.config.yaml # serves on :4000Then tell OpenThena to use it:
bash
LITELLM_BASE_URL=http://localhost:4000/v1
LITELLM_API_KEY=sk-your-litellm-master-keyWhen
LITELLM_BASE_URL is set, all model traffic flows through your proxy — OpenThena becomes a thin client.