DeepYardDeepYard

DSPy vs LiteLLM

Side-by-side comparison with live GitHub signals. Last updated July 5, 2026.

D

DSPy

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

OSSFree
35.8Ktoday401
L

LiteLLM

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

OSSFree
52.6Ktoday383
MetricDSPyLiteLLM
GitHub Stars35.8K52.6K
Contributors401383
Last CommitJul 5, 2026Jul 5, 2026
Open Issues5613636
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