# Relay vs Strawberry GraphQL

| Attribute | Relay | Strawberry GraphQL |
|---|---|---|
| **Vioscale score** | 71.4 (57% (medium)) | 68.3 (62% (medium)) |
| activity.commits_last_30d | 72 | 28 |
| adoption.dependent_repos | 76,213 | 325 |
| adoption.github_stars | 18,956 | 4,706 |
| adoption.package_downloads_weekly | 5,142,504 | 1,579,350 |
| deployment.options | `{"self_hosted":true}` | `{"self_hosted":true}` |
| description.long | An open-source framework that enables type-safe GraphQL queries in JavaScript applications, with built-in support for caching, error handling, and server-side rendering via React Server Components. | An open-source Python library for constructing GraphQL servers using Python's type hints and dataclasses to define schemas. It provides async support, federation capabilities, real-time subscriptions, and integrations with popular web frameworks. |
| features.capabilities | `{"role":"client","caching":true,"language":"JavaScript / TypeScript","federation":false,"managed_cloud":false,"self_hostable":true,"subscriptions":true,"auth_directives":false,"schema_approach":"code_first","type_generation":true,"db_introspection":false}` | `{"role":"server","language":"Python","federation":true,"managed_cloud":false,"self_hostable":true,"subscriptions":true,"auth_directives":true,"schema_approach":"code_first","type_generation":true}` |
| integrations.count | - | 10 |
| integrations.list | - | `[{"name":"Django"},{"name":"FastAPI"},{"name":"Flask"},{"name":"Aiohttp"},{"name":"Chalice"},{"name":"Channels"},{"name":"Litestar"},{"name":"Quart"},{"name":"Sanic"},{"name":"Starlette"}]` |
| language.primary | Rust | Python |
| license.spdx | MIT | MIT |
| market.availability | `{"primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` | - |
| platform.support | `{"cli":true,"web":true}` | `{"cli":true}` |
| pricing | `{"type":"open_source","summary":"Free and open-source","freeTier":true,"sourceUrl":"https://relay.dev","retrievedAt":"2026-08-14T16:35:58.790Z"}` | `{"type":"open_source","freeTier":true,"sourceUrl":"https://strawberry.rocks","retrievedAt":"2026-08-14T21:31:32.715Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | commercial | commercial |
| pricing.price_level | free | free |
| pricing.transparent | - | yes |
| release.cadence_days | 47 | 1 |
| release.history | `[{"url":"https://github.com/facebook/relay/releases/tag/v21.0.1","date":"2026-05-27T17:05:47Z","type":"stable","version":"v21.0.1"},{"url":"https://github.com/facebook/relay/releases/tag/v21.0.0","date":"2026-05-18T22:35:02Z","type":"stable","version":"v21.0.0"},{"url":"https://github.com/facebook/relay/releases/tag/v20.1.1","date":"2025-08-06T23:45:00Z","type":"stable","version":"v20.1.1"},{"url":"https://github.com/facebook/relay/releases/tag/v20.1.0","date":"2025-07-28T18:02:48Z","type":"stable","version":"v20.1.0"},{"url":"https://github.com/facebook/relay/releases/tag/v20.0.0","date":"2025-06-14T01:18:21Z","type":"stable","version":"v20.0.0"},{"url":"https://github.com/facebook/relay/releases/tag/v19.0.0","date":"2025-05-02T21:35:03Z","type":"stable","version":"v19.0.0"},{"url":"https://github.com/facebook/relay/releases/tag/v18.2.0","date":"2024-11-21T18:42:55Z","type":"stable","version":"v18.2.0"},{"url":"https://github.com/facebook/relay/releases/tag/v18.1.0","date":"2024-10-04T21:25:48Z","type":"stable","version":"v18.1.0"},{"url":"https://github.com/facebook/relay/releases/tag/v18.0.0","date":"2024-09-07T01:12:44Z","type":"stable","version":"v18.0.0"},{"url":"https://github.com/facebook/relay/releases/tag/v17.0.0","date":"2024-06-14T23:56:58Z","type":"stable","version":"v17.0.0"},{"url":"https://github.com/facebook/relay/releases/tag/v16.2.0","date":"2024-01-23T16:49:06Z","type":"stable","version":"v16.2.0"},{"url":"https://github.com/facebook/relay/releases/tag/v16.1.0","date":"2023-12-11T20:21:51Z","type":"stable","version":"v16.1.0"},{"url":"https://github.com/facebook/relay/releases/tag/v16.0.0","date":"2023-10-19T22:38:09Z","type":"stable","version":"v16.0.0"},{"url":"https://github.com/facebook/relay/releases/tag/v15.0.0","date":"2023-03-08T22:16:55Z","type":"stable","version":"v15.0.0"},{"url":"https://github.com/facebook/relay/releases/tag/v14.1.0","date":"2022-07-27T17:37:43Z","type":"stable","version":"v14.1.0"},{"url":"https://github.com/facebook/relay/releases/tag/v14.0.0","date":"2022-06-08T15:11:54Z","type":"stable","version":"v14.0.0"},{"url":"https://github.com/facebook/relay/releases/tag/v13.2.0","date":"2022-03-10T18:08:49Z","type":"stable","version":"v13.2.0"},{"url":"https://github.com/facebook/relay/releases/tag/v13.1.1","date":"2022-02-09T18:02:09Z","type":"stable","version":"v13.1.1"},{"url":"https://github.com/facebook/relay/releases/tag/v13.1.0","date":"2022-02-08T16:53:14Z","type":"stable","version":"v13.1.0"},{"url":"https://github.com/facebook/relay/releases/tag/v13.0.3","date":"2022-02-07T21:41:14Z","type":"stable","version":"v13.0.3"}]` | `[{"url":"https://github.com/strawberry-graphql/strawberry/releases/tag/0.324.0","date":"2026-08-10T15:05:53Z","type":"stable","version":"0.324.0"},{"url":"https://github.com/strawberry-graphql/strawberry/releases/tag/0.323.2","date":"2026-07-23T21:59:24Z","type":"stable","version":"0.323.2"},{"url":"https://github.com/strawberry-graphql/strawberry/releases/tag/0.323.1","date":"2026-07-22T20:39:02Z","type":"stable","version":"0.323.1"},{"url":"https://github.com/strawberry-graphql/strawberry/releases/tag/0.323.0","date":"2026-07-21T23:01:26Z","type":"stable","version":"0.323.0"},{"url":"https://github.com/strawberry-graphql/strawberry/releases/tag/0.322.2","date":"2026-07-20T20:47:08Z","type":"stable","version":"0.322.2"},{"url":"https://github.com/strawberry-graphql/strawberry/releases/tag/0.322.1","date":"2026-07-20T19:30:27Z","type":"stable","version":"0.322.1"},{"url":"https://github.com/strawberry-graphql/strawberry/releases/tag/0.322.0","date":"2026-07-18T10:36:20Z","type":"stable","version":"0.322.0"},{"url":"https://github.com/strawberry-graphql/strawberry/releases/tag/0.321.1","date":"2026-07-17T18:37:31Z","type":"stable","version":"0.321.1"},{"url":"https://github.com/strawberry-graphql/strawberry/releases/tag/0.321.0","date":"2026-07-13T20:56:10Z","type":"stable","version":"0.321.0"},{"url":"https://github.com/strawberry-graphql/strawberry/releases/tag/0.320.4","date":"2026-07-09T09:30:06Z","type":"stable","version":"0.320.4"},{"url":"https://github.com/strawberry-graphql/strawberry/releases/tag/0.320.3","date":"2026-07-07T18:40:58Z","type":"stable","version":"0.320.3"},{"url":"https://github.com/strawberry-graphql/strawberry/releases/tag/0.320.2","date":"2026-07-06T10:32:15Z","type":"stable","version":"0.320.2"},{"url":"https://github.com/strawberry-graphql/strawberry/releases/tag/0.320.1","date":"2026-07-02T10:58:21Z","type":"stable","version":"0.320.1"},{"url":"https://github.com/strawberry-graphql/strawberry/releases/tag/0.320.0","date":"2026-06-27T23:11:50Z","type":"stable","version":"0.320.0"},{"url":"https://github.com/strawberry-graphql/strawberry/releases/tag/0.319.0","date":"2026-06-21T14:57:45Z","type":"stable","version":"0.319.0"},{"url":"https://github.com/strawberry-graphql/strawberry/releases/tag/0.318.1","date":"2026-06-20T09:38:11Z","type":"stable","version":"0.318.1"},{"url":"https://github.com/strawberry-graphql/strawberry/releases/tag/0.318.0","date":"2026-06-19T20:39:34Z","type":"stable","version":"0.318.0"},{"url":"https://github.com/strawberry-graphql/strawberry/releases/tag/0.317.2","date":"2026-06-17T17:54:23Z","type":"stable","version":"0.317.2"},{"url":"https://github.com/strawberry-graphql/strawberry/releases/tag/0.317.1","date":"2026-06-17T09:28:43Z","type":"stable","version":"0.317.1"},{"url":"https://github.com/strawberry-graphql/strawberry/releases/tag/0.317.0","date":"2026-06-17T09:22:40Z","type":"stable","version":"0.317.0"}]` |
| security.scorecard | 5.8 | 7 |
| security.vulnerabilities | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=relay-runtime&per_page=100","last_12m":0,"max_severity":null}` | `{"count":7,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=pypi&package_name=strawberry-graphql&per_page=100","last_12m":5,"max_severity":"HIGH"}` |

## Capabilities (GraphQL Tools)

| Capability | Relay | Strawberry GraphQL |
|---|:--:|:--:|
| **Core** |  |  |
| Role | Client | Server |
| Primary language | JavaScript / TypeScript | Python |
| **Modelling** |  |  |
| Schema approach | Code-first | Code-first |
| **Scale** |  |  |
| Federation / subgraph composition | ✗ | ✓ |
| **Realtime** |  |  |
| Real-time subscriptions | ✓ | ✓ |
| **Performance** |  |  |
| Response / edge caching | ✓ | - |
| **DX** |  |  |
| Typed code generation | ✓ | ✓ |
| **Automation** |  |  |
| Generates API from a database | ✗ | - |
| **Security** |  |  |
| Built-in authz / permissions | ✗ | ✓ |
| **Deployment** |  |  |
| Official hosted offering | ✗ | ✗ |
| Self-hostable | ✓ | ✓ |

*Source: Vioscale. Generated 2026-09-01T16:40:03.707Z. "-" = undocumented, not absent.*
