Infer × LiteLLM · setup guide for 1.106.4
Call Infer through LiteLLM.
Use the openai/ prefix with api_base=https://infer.flow7.org/v1, in the SDK or the proxy. LiteLLM strips the prefix once, so Infer receives the selector unchanged.
Infer Setup 0.2.0
Two commands.
Pick a model from the live list; the export prints the proxy config for it. Nothing is sent to a model.
npx --yes https://infer.flow7.org/downloads/infer-setup-0.2.0.tgz setup --client litellmnpx --yes https://infer.flow7.org/downloads/infer-setup-0.2.0.tgz guide litellmNeeds Node.js 20 or newer. Other clients and options.
Configuration
Choose the model and route.
The SDK call and the proxy entry use the same selector.
Waiting for the live Infer catalog…
The proxy reads the key with os.environ/INFER_API_KEY; add model_info with the route's limits if your proxy needs them.
Good to know
Settings that matter.
- 01
Nothing after /v1.
LiteLLM appends the endpoint path itself.
- 02
A stray base URL wins.
LiteLLM reads
OPENAI_BASE_URLbeforeOPENAI_API_BASE, so passapi_baseexplicitly. - 03
Claude through anthropic/.
LiteLLM's
anthropic/route appends/v1/messages, so its base ishttps://infer.flow7.orgwithout/v1.
Start with a capped key.
Create an account, add credit, and give the API key a spend limit before the first session.