mozilla-ai/any-llm
A Python SDK that abstracts multiple LLM providers behind a single, consistent API.

Not currently ranked — collecting fresh signals.
star history
The any-llm library from Mozilla AI enables developers to interact with various LLM providers using a unified interface. It supports providers including OpenAI, Anthropic, Azure, Mistral, and Ollama. Users can switch providers or add new ones without modifying their application code, simplifying LLM integration and provider portability.
Frequently asked
- What is mozilla-ai/any-llm?
- A Python SDK that abstracts multiple LLM providers behind a single, consistent API.
- Is any-llm open source?
- Yes — mozilla-ai/any-llm is open source, released under the Apache-2.0 license.
- What language is any-llm written in?
- mozilla-ai/any-llm is primarily written in Python.
- How popular is any-llm?
- mozilla-ai/any-llm has 2.1k stars on GitHub.
- Where can I find any-llm?
- mozilla-ai/any-llm is on GitHub at https://github.com/mozilla-ai/any-llm.