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
Build Data Resilience - Take the Assessment Today Icon
Build Data Resilience - Take the Assessment Today

Can you recover when it matters most? Take this quick assessment to identify gaps and build greater recovery confidence.

Is your recovery strategy as strong as you think? Take this quick self-assessment to check your recovery readiness and gain tailored insights. In only 2 minutes, you'll learn where you fall on the recovery readiness scale.
Take the Assessment
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