DeepYardDeepYard

DSPy vs LiteLLM

Side-by-side comparison with live GitHub signals. Last updated May 16, 2026.

D

DSPy

Framework for programming — not prompting — LLMs — 33K+ stars

OSSFree
34.5Ktoday393
L

LiteLLM

Universal LLM API gateway for 200+ providers — 38K+ stars

OSSFree
47.2Ktoday385
MetricDSPyLiteLLM
GitHub Stars34.5K47.2K
Contributors393385
Last CommitMay 15, 2026May 16, 2026
Open Issues4743091
Licenseopen-sourceopen-source
Pricingopen-sourceopen-source
Free TierYesYes
Categoryframeworksframeworks
TrendingNoNo

Shared Tags

pythonopen-source

Only in DSPy

prompt-optimizationprogrammingresearchragstanford

Only in LiteLLM

api-gatewaymulti-modelproxyload-balancing

About DSPy

DSPy replaces prompt engineering with programming. Instead of writing prompts, you define modules with input/output signatures and DSPy automatically optimizes the prompts and weights for your pipeline. Supports chain-of-thought, retrieval-augmented generation, and multi-hop reasoning patterns. From Stanford NLP.

View full listing

About LiteLLM

LiteLLM provides a unified OpenAI-compatible API for 200+ LLM providers (OpenAI, Anthropic, Google, Azure, AWS Bedrock, Ollama, and more). Use one interface to call any model, with built-in load balancing, fallbacks, spend tracking, and rate limiting. Essential infrastructure for multi-model agent systems.

View full listing