DeepYardDeepYard

DSPy vs LiteLLM

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

D

DSPy

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

OSSFree
36.2Ktoday403
L

LiteLLM

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

OSSFree
53.8Ktoday381
MetricDSPyLiteLLM
GitHub Stars36.2K53.8K
Contributors403381
Last CommitJul 16, 2026Jul 17, 2026
Open Issues6063980
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