any-llm is a unified SDK and platform developed by Mozilla AI that allows developers to interact with multiple large language model providers through a single, consistent interface. Instead of rewriting code for each provider, developers can switch between services like OpenAI, Anthropic, Mistral, and Ollama simply by changing configuration parameters. The project is designed to be framework-agnostic, making it easy to integrate into scripts, applications, or production systems without being tied to a specific stack. It includes a core SDK for direct usage as well as an optional gateway layer that adds enterprise features such as budget management, API key control, usage analytics, and multi-tenant support. The gateway exposes an OpenAI-compatible API, allowing existing tools and workflows to connect without modification. The system emphasizes developer experience with clear error handling, strong typing, and minimal configuration overhead.

Features

  • Unified API for multiple LLM providers
  • Easy switching between models and services
  • Optional gateway with budget and usage controls
  • OpenAI-compatible proxy interface
  • Framework-agnostic integration
  • Strong typing and developer-friendly error handling

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow any-llm

any-llm Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of any-llm!

Additional Project Details

Programming Language

Python

Related Categories

Python Libraries

Registered

2026-04-20