// readme

liter-llm

<img
  height="22"
  src="https://img.shields.io/badge/Discord-Chat-007ec6?logo=discord&logoColor=white"
  alt="Join Discord"
/>

One API for every LLM β€” in your language, without the rewrites.

What and Why?

liter-llm gives you a single, consistent way to call any large language model. Reach 174 providers β€” OpenAI, Anthropic, Google, Bedrock, and more β€” through one client, and switch models by changing a name instead of your code. The same client ships to 14 languages, all built on one Rust core, so you get identical behavior everywhere. Need a gateway? Point your existing OpenAI SDK at the built-in, drop-in proxy β€” no rewrites, no separate service to run.

  • Work with any provider without rewrites β€” 174 providers behind one API; change the model name to switch, your code stays the same.
  • Use it from your language β€” Python, TypeScript, Go, Java, Kotlin, C#, Ruby, PHP, Elixir, Dart, Swift, Zig, and WebAssembly, all built on the same Rust core, plus a C/FFI surface for everything else.
  • Secure by default β€” API keys are wrapped, redacted from logs, and never serialized; cloud auth for Azure, AWS, and Vertex refreshes…