Skip to content
L

liter-llm

Universal LLM API client — 163 providers, 14 native language bindings…

by xberg-ioFree

#3558in AI
0In stores

Description

liter-llm is an open-source client library for calling large language models from your own code. The core is written in Rust and ships as na…

Highlights

  • Calls 174 LLM providers through one consistent API
  • Native bindings for 14 programming languages
  • OpenAI-compatible proxy with keys, budgets and fallbacks
  • Built-in MCP server for AI agents
  • Routing by cost, latency or weight with failover

Ratings & Reviews

No ratings yet

Be the first to rate liter-llm.

People also visit

W

WebLLM Chat

Chat with AI large language models running natively in your browser

AI
Launch
B

BodhiApp

Run Open Source/Open Weight LLMs locally with OpenAI compatible APIs

AI
Launch
G

GoModel

AI gateway written in Go with a unified OpenAI-compatible API

AI
Launch
F

Faster Chat

A blazingly fast, privacy first & OPEN AI Chat Interface

AI
Launch
U

UnoRouter

Open-source LLM gateway: 300+ AI models behind one OpenAI-compatible key

AI
Launch
L

LLM API

Free LLM API: 100+ models, one single interface, and smart cost-aware analytics

AI
Launch

liter-llm FAQ

What is liter-llm?

A client library and proxy for calling large language models. You make one API call, and liter-llm sends it to the provider you choose, such as OpenAI, Anthropic or Google.

Which languages does it support?

Rust, Python, TypeScript, Go, Java, Ruby, PHP and more, 14 languages in total. Every binding is built on the same Rust core, so behaviour matches across languages.

How do I install it?

Use the package for your language. For example, cargo add liter-llm adds it to a Rust project and pip install liter-llm installs the Python package. The API reference is in the documentation.

Can it replace the OpenAI SDK in my app?

Yes. Point your existing OpenAI SDK at the built-in proxy. The proxy adds virtual keys, budgets and fallbacks, and the same binary also serves your AI agents.

How are API keys handled?

Keys are wrapped, redacted from logs and never serialized. Cloud authentication for Azure, AWS and Vertex is handled for you, and tokens refresh and rotate automatically.

What are the best liter-llm alternatives?

Popular alternatives to liter-llm include WebLLM Chat, BodhiApp and GoModel. See all liter-llm alternatives

Developer Stuff

Badges