Open-source Python library
SimplerLLM
One interface for every major LLM provider. Unified API, automatic failover, structured outputs, and 15+ built-in tools.
Build AI apps in minutes, not days.
from SimplerLLM.language.llm import LLM, LLMProvider
# Switch provider by changing one word
llm = LLM.create(provider=LLMProvider.OPENAI, model_name="gpt-4o")
response = llm.generate_response(prompt="Explain quantum computing simply")
>>>
Works with every major provider
OpenAI
Anthropic
Google Gemini
Cohere
DeepSeek
OpenRouter
Ollama
Core features
View full docs →Multi-provider LLM
OpenAI, Anthropic, Gemini, Cohere, DeepSeek, OpenRouter, Ollama. Same 3-line API.
Docs →ReliableLLM
Automatic failover between providers. If one goes down, another takes over seamlessly.
Docs →Structured output
Get typed Pydantic models back from any LLM. Schema validation with retries built in.
Docs →Embeddings + vector DB
Generate embeddings with OpenAI, Voyage, or Cohere. Store in Qdrant or locally. Full RAG.
Docs →Web search
Ground your prompts in live results. Search with SerpAPI, Serper, DuckDuckGo, or Value Serp.
Docs →Tools & content loading
Load URLs, PDFs, DOCX, and CSVs. Chunk by size, sentence, paragraph, or semantics.
Docs →