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
AI-powered service management for IT and enterprise teams Icon
AI-powered service management for IT and enterprise teams

Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity. Maximize operational efficiency with refreshingly simple, AI-powered Freshservice.
Try it 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