# DSPy vs Ray

**Leader by Vioscale score:** Ray

| Attribute | DSPy | Ray |
|---|---|---|
| **Vioscale score** | 60.9 (68% (medium)) | 66.8 (68% (medium)) |
| activity.commits_last_30d | 67 | 100 |
| adoption.dependent_repos | 3 | 3,641 |
| adoption.github_stars | 37,611 | 43,612 |
| adoption.package_downloads_weekly | 156,385 | 11,291,327 |
| deployment.options | `{"self_hosted":true}` | `{"cloud":true,"hybrid":true,"on_prem":true,"self_hosted":true}` |
| description.long | A Python framework for developing AI applications through declarative components and modular patterns, with built-in optimization that automatically tunes system performance against defined metrics. | Ray is an open-source unified framework for scaling Python and machine learning applications across any infrastructure. It provides distributed compute primitives, specialized AI libraries for data processing, model training, tuning, and serving, with seamless scaling from development environments to large clusters. |
| features.capabilities | `{"role":"framework","evaluation":true,"managed_cloud":false,"model_serving":false,"self_hostable":true,"multi_provider":true,"vpc_deployment":true,"otel_compatible":false,"no_train_on_data":"unknown","llm_observability":true,"prompt_management":true,"framework_agnostic":true,"experiment_tracking":false}` | `{"managed_cloud":true,"model_serving":true,"self_hostable":true,"multi_provider":true,"vpc_deployment":true,"framework_agnostic":true,"experiment_tracking":true}` |
| integrations.count | 1 | 17 |
| integrations.list | `[{"name":"OpenAI"}]` | `[{"name":"PyTorch"},{"name":"TensorFlow"},{"name":"AIBrix"},{"name":"AReaL"},{"name":"Cosmos Curate"},{"name":"Daft"},{"name":"Data-Juicer"},{"name":"DeltaCAT"},{"name":"Modin"},{"name":"NeMo Curator"},{"name":"NeMo-RL"},{"name":"OpenRLHF"},{"name":"RayDP"},{"name":"ROLL"},{"name":"SkyRL"},{"name":"SLIME"},{"name":"Syftr"},{"name":"verl"},{"name":"vLLM"}]` |
| language.primary | Python | Python |
| license.spdx | MIT | Apache-2.0 |
| market.availability | `{"hqCountry":"US","primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` | - |
| platform.support | `{"cli":true}` | `{"cli":true}` |
| pricing | `{"type":"open_source","freeTier":true,"sourceUrl":"https://dspy.ai","retrievedAt":"2026-08-14T09:24:32.180Z"}` | `{"type":"free","freeTier":true,"sourceUrl":"https://www.ray.io","retrievedAt":"2026-08-14T16:39:27.110Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | commercial | commercial |
| pricing.price_level | free | free |
| pricing.transparent | yes | - |
| release.cadence_days | 18 | 18 |
| release.history | `[{"url":"https://github.com/stanfordnlp/dspy/releases/tag/3.3.1","date":"2026-08-21T23:07:09Z","type":"stable","version":"3.3.1"},{"url":"https://github.com/stanfordnlp/dspy/releases/tag/3.3.0","date":"2026-08-03T20:06:03Z","type":"stable","version":"3.3.0"},{"url":"https://github.com/stanfordnlp/dspy/releases/tag/3.3.0b1","date":"2026-05-28T01:11:39Z","type":"prerelease","version":"3.3.0b1"},{"url":"https://github.com/stanfordnlp/dspy/releases/tag/3.2.1","date":"2026-05-05T19:37:48Z","type":"stable","version":"3.2.1"},{"url":"https://github.com/stanfordnlp/dspy/releases/tag/3.2.0","date":"2026-04-21T17:17:03Z","type":"stable","version":"3.2.0"},{"url":"https://github.com/stanfordnlp/dspy/releases/tag/3.1.3","date":"2026-02-05T16:18:52Z","type":"stable","version":"3.1.3"},{"url":"https://github.com/stanfordnlp/dspy/releases/tag/3.1.2","date":"2026-01-19T14:16:35Z","type":"stable","version":"3.1.2"},{"url":"https://github.com/stanfordnlp/dspy/releases/tag/3.1.1","date":"2026-01-19T02:30:49Z","type":"stable","version":"3.1.1"},{"url":"https://github.com/stanfordnlp/dspy/releases/tag/3.1.0","date":"2026-01-06T18:48:05Z","type":"stable","version":"3.1.0"},{"url":"https://github.com/stanfordnlp/dspy/releases/tag/3.1.0b1","date":"2025-11-18T00:26:51Z","type":"prerelease","version":"3.1.0b1"},{"url":"https://github.com/stanfordnlp/dspy/releases/tag/3.0.4","date":"2025-11-10T17:41:17Z","type":"stable","version":"3.0.4"},{"url":"https://github.com/stanfordnlp/dspy/releases/tag/3.0.4b2","date":"2025-10-21T23:30:37Z","type":"prerelease","version":"3.0.4b2"},{"url":"https://github.com/stanfordnlp/dspy/releases/tag/3.0.4b1","date":"2025-09-29T10:48:42Z","type":"prerelease","version":"3.0.4b1"},{"url":"https://github.com/stanfordnlp/dspy/releases/tag/3.0.3","date":"2025-08-31T18:47:21Z","type":"stable","version":"3.0.3"},{"url":"https://github.com/stanfordnlp/dspy/releases/tag/3.0.2","date":"2025-08-22T11:14:18Z","type":"stable","version":"3.0.2"},{"url":"https://github.com/stanfordnlp/dspy/releases/tag/3.0.1","date":"2025-08-14T17:36:58Z","type":"stable","version":"3.0.1"},{"url":"https://github.com/stanfordnlp/dspy/releases/tag/3.0.0","date":"2025-08-12T21:02:50Z","type":"stable","version":"3.0.0"},{"url":"https://github.com/stanfordnlp/dspy/releases/tag/3.0.0b4","date":"2025-08-11T16:42:24Z","type":"stable","version":"3.0.0b4"},{"url":"https://github.com/stanfordnlp/dspy/releases/tag/3.0.0b3","date":"2025-07-19T16:52:19Z","type":"stable","version":"3.0.0b3"},{"url":"https://github.com/stanfordnlp/dspy/releases/tag/3.0.0b2","date":"2025-07-01T02:32:34Z","type":"stable","version":"3.0.0b2"}]` | `[{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.58.0","date":"2026-08-23T05:42:08Z","type":"stable","version":"ray-2.58.0"},{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.57.0","date":"2026-08-11T01:15:44Z","type":"stable","version":"ray-2.57.0"},{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.56.1","date":"2026-07-17T23:19:47Z","type":"stable","version":"ray-2.56.1"},{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.56.0","date":"2026-06-29T20:32:55Z","type":"stable","version":"ray-2.56.0"},{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.55.1","date":"2026-04-22T20:24:41Z","type":"stable","version":"ray-2.55.1"},{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.55.0","date":"2026-04-15T20:34:27Z","type":"stable","version":"ray-2.55.0"},{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.54.1","date":"2026-03-25T23:37:39Z","type":"stable","version":"ray-2.54.1"},{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.54.0","date":"2026-02-18T23:44:44Z","type":"stable","version":"ray-2.54.0"},{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.53.0","date":"2025-12-20T15:16:24Z","type":"stable","version":"ray-2.53.0"},{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.51.2","date":"2025-11-29T00:40:40Z","type":"stable","version":"ray-2.51.2"},{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.52.1","date":"2025-11-28T02:23:22Z","type":"stable","version":"ray-2.52.1"},{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.52.0","date":"2025-11-21T19:10:39Z","type":"stable","version":"ray-2.52.0"},{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.51.1","date":"2025-11-01T03:27:11Z","type":"stable","version":"ray-2.51.1"},{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.51.0","date":"2025-10-29T05:33:49Z","type":"stable","version":"ray-2.51.0"},{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.50.1","date":"2025-10-18T19:21:43Z","type":"stable","version":"ray-2.50.1"},{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.50.0","date":"2025-10-10T23:06:29Z","type":"stable","version":"ray-2.50.0"},{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.49.2","date":"2025-09-19T18:10:36Z","type":"stable","version":"ray-2.49.2"},{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.49.1","date":"2025-09-03T00:44:11Z","type":"stable","version":"ray-2.49.1"},{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.49.0","date":"2025-08-26T19:52:24Z","type":"stable","version":"ray-2.49.0"},{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.48.0","date":"2025-07-18T22:27:25Z","type":"stable","version":"ray-2.48.0"}]` |
| reliability.status_page | yes | yes |
| security.scorecard | - | 5.7 |
| security.vulnerabilities | `{"count":1,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=pypi&package_name=dspy&per_page=100","last_12m":1,"max_severity":"MODERATE"}` | `{"count":12,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=pypi&package_name=ray&per_page=100","last_12m":6,"max_severity":"CRITICAL"}` |

## Capabilities (MLOps & LLMOps Tools)

| Capability | DSPy | Ray |
|---|:--:|:--:|
| **Core** |  |  |
| Tool role | Agent / RAG framework | - |
| **Deployment** |  |  |
| Self-hostable / OSS core | ✓ | ✓ |
| Managed cloud available | ✗ | ✓ |
| On-prem / VPC deployment | ✓ | ✓ |
| **Observability** |  |  |
| LLM tracing / observability | ✓ | - |
| Evaluation (offline / LLM-judge / human) | ✓ | - |
| **Dev** |  |  |
| Prompt management + versioning | ✓ | - |
| **Tracking** |  |  |
| Experiment tracking / model registry | ✗ | ✓ |
| **Serving** |  |  |
| Model serving / inference endpoint | ✗ | ✓ |
| **Interop** |  |  |
| OpenTelemetry / OpenLLMetry compatible | ✗ | - |
| Framework-agnostic | ✓ | ✓ |
| **Gateway** |  |  |
| Multi-provider model support | ✓ | ✓ |
| **Data** |  |  |
| No-train-on-customer-data guarantee | Unknown | - |

*Source: Vioscale. Generated 2026-09-01T17:03:08.221Z. "-" = undocumented, not absent.*
