mozilla-ai/any-llm
Communicate with an LLM provider using a single interface
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
5 releases in the last 90 days, the latest 2 days ago, with 83 contributors on GitHub.
Peaked at #54 in the weekly ranking the week of Nov 9, its best in the past year.
Use Cases & Benefits
- Provides a unified Python interface to communicate with multiple LLM providers using a single API call.
- Enables seamless switching between providers like OpenAI, Anthropic, and Mistral without code changes.
- Use for quickly experimenting with different LLM providers in scripts or notebooks via direct API calls.
- Use for building production applications that require connection pooling and multiple LLM requests with the AnyLLM class.
- Use for deploying enterprise-grade LLM access with budget management and API key control using the optional any-llm-gateway.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
Apache 2.0
Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.
Community files
- README: present
- Contributing guide: present
- Code of conduct: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
Communicate with any LLM provider using a single, unified interface. Switch between OpenAI, Anthropic, Mistral, Ollama, and more without changing your code.
That's it! Change the provider name and add provider-specific keys to switch between LLM providers.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
Forks
243+38
Open issues
62+21
Compared with peers in AI
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| thedotmack/claude-mem | 113.6K | +8.8K | 35 | today |
| D4Vinci/Scrapling | 98.1K | +6.9K | 65 | 1 day ago |
| Leonxlnx/taste-skill | 110.7K | +5.2K | 55 | 1 day ago |
| calesthio/OpenMontage | 77.2K | +4.2K | 40 | — |
| heygen-com/hyperframes | 79.6K | +4.1K | 45 | today |
| mozilla-ai/any-llm | 2.2K | — | 65 | 2 days ago |
| Category median | 98.1K | +5.2K | 45 | — |
Also by mozilla-ai
Other repositories from this maintainer that GStars tracks
Discover Repositories
Search across tracked repositories by name or description