Elixir-native LLM gateway for in-process, ReqLLM, SafeRPC, and HTTP calls.
LLMProxy applies model routing, provider fallback, API-key governance, usage accounting, and tracing through one provider execution boundary. It can run inside an existing application or as a standalone OpenAI-compatible service.
Summary
Functions
Calls the proxy in-process using ReqLLM messages or a plain prompt.
Run a chat completion through LLMProxy.
List available models.
Return service status.
Functions
Calls the proxy in-process using ReqLLM messages or a plain prompt.
Pass either :actor with %LLMProxy.Actor{} or :api_key with an existing
LLMProxy API key schema/map so quota and usage accounting can run.
@spec chat(LLMProxy.Protocol.Request.t(), map(), term()) :: {:ok, LLMProxy.Response.t()} | {:error, term()}
Run a chat completion through LLMProxy.
List available models.
Return service status.