# Pothos vs TypeGraphQL

| Attribute | Pothos | TypeGraphQL |
|---|---|---|
| **Vioscale score** | 60.8 (46% (low)) | 58.1 (67% (medium)) |
| activity.commits_last_30d | 26 | 2 |
| adoption.dependent_repos | 316 | 7,054 |
| adoption.github_stars | 2,611 | 8,091 |
| adoption.package_downloads_weekly | 487,927 | 692,968 |
| deployment.options | `{"self_hosted":true}` | `{"cloud":true,"self_hosted":true}` |
| description.long | Pothos is a GraphQL schema builder for TypeScript that emphasizes type-safety and ease of use. It features a plugin ecosystem for extending functionality while maintaining zero-overhead at runtime. | A Node.js framework that allows developers to define GraphQL schemas entirely in TypeScript using class-based type definitions and decorators. It provides automatic validation, authorization support, dependency injection, and eliminates the need to maintain separate schema definitions and type files. |
| features.capabilities | `{"role":"schema_builder","federation":true,"self_hostable":true,"subscriptions":true,"schema_approach":"code_first","type_generation":true,"db_introspection":true}` | `{"role":"server","caching":false,"language":"TypeScript","federation":false,"managed_cloud":false,"self_hostable":true,"subscriptions":true,"auth_directives":true,"schema_approach":"code_first","type_generation":true,"db_introspection":false}` |
| integrations.count | 6 | 6 |
| integrations.list | `[{"name":"Prisma"},{"name":"NestJS"},{"name":"Next.js"},{"name":"Apollo"},{"name":"Mercurius"},{"name":"OpenTelemetry"}]` | `[{"name":"Apollo Server"},{"name":"Azure Functions"},{"name":"AWS Lambda"},{"name":"TypeORM"},{"name":"class-validator"},{"name":"graphql-yoga"}]` |
| language.primary | TypeScript | TypeScript |
| license.spdx | ISC | MIT |
| platform.support | `{"cli":true,"web":true}` | - |
| pricing | `{"type":"open_source","sourceUrl":"https://pothos-graphql.dev/","retrievedAt":"2026-08-14T09:17:12.302Z"}` | `{"type":"open_source","summary":"Open source, free to use","freeTier":true,"sourceUrl":"https://typegraphql.com/","retrievedAt":"2026-08-14T08:34:06.351Z"}` |
| pricing.free_tier | - | yes |
| pricing.model | commercial | commercial |
| pricing.price_level | free | free |
| pricing.transparent | - | yes |
| release.cadence_days | - | 51 |
| release.history | `[{"url":"https://github.com/hayes/pothos/releases/tag/%40pothos/plugin-validation%404.3.2","date":"2026-08-25T22:31:21Z","type":"stable","version":"@pothos/plugin-validation@4.3.2"},{"url":"https://github.com/hayes/pothos/releases/tag/%40pothos/plugin-drizzle%400.18.0","date":"2026-08-21T02:07:00Z","type":"stable","version":"@pothos/plugin-drizzle@0.18.0"},{"url":"https://github.com/hayes/pothos/releases/tag/%40pothos/plugin-drizzle%400.17.6","date":"2026-08-18T20:51:35Z","type":"stable","version":"@pothos/plugin-drizzle@0.17.6"},{"url":"https://github.com/hayes/pothos/releases/tag/%40pothos/plugin-federation%404.5.0","date":"2026-07-23T19:25:33Z","type":"stable","version":"@pothos/plugin-federation@4.5.0"},{"url":"https://github.com/hayes/pothos/releases/tag/%40pothos/tracing-xray%401.1.4","date":"2026-07-08T23:28:11Z","type":"stable","version":"@pothos/tracing-xray@1.1.4"},{"url":"https://github.com/hayes/pothos/releases/tag/%40pothos/tracing-sentry%401.1.5","date":"2026-07-08T23:28:32Z","type":"stable","version":"@pothos/tracing-sentry@1.1.5"},{"url":"https://github.com/hayes/pothos/releases/tag/%40pothos/tracing-opentelemetry%401.2.1","date":"2026-07-08T23:27:47Z","type":"stable","version":"@pothos/tracing-opentelemetry@1.2.1"},{"url":"https://github.com/hayes/pothos/releases/tag/%40pothos/tracing-newrelic%401.1.4","date":"2026-07-08T23:28:29Z","type":"stable","version":"@pothos/tracing-newrelic@1.1.4"},{"url":"https://github.com/hayes/pothos/releases/tag/%40pothos/test-utils%402.2.1","date":"2026-07-08T23:28:17Z","type":"stable","version":"@pothos/test-utils@2.2.1"},{"url":"https://github.com/hayes/pothos/releases/tag/%40pothos/plugin-zod%404.3.1","date":"2026-07-08T23:28:35Z","type":"stable","version":"@pothos/plugin-zod@4.3.1"},{"url":"https://github.com/hayes/pothos/releases/tag/%40pothos/plugin-with-input%404.1.5","date":"2026-07-08T23:28:26Z","type":"stable","version":"@pothos/plugin-with-input@4.1.5"},{"url":"https://github.com/hayes/pothos/releases/tag/%40pothos/plugin-validation%404.3.1","date":"2026-07-08T23:28:47Z","type":"stable","version":"@pothos/plugin-validation@4.3.1"},{"url":"https://github.com/hayes/pothos/releases/tag/%40pothos/plugin-tracing%401.1.3","date":"2026-07-08T23:28:14Z","type":"stable","version":"@pothos/plugin-tracing@1.1.3"},{"url":"https://github.com/hayes/pothos/releases/tag/%40pothos/plugin-sub-graph%404.5.1","date":"2026-07-08T23:28:44Z","type":"stable","version":"@pothos/plugin-sub-graph@4.5.1"},{"url":"https://github.com/hayes/pothos/releases/tag/%40pothos/plugin-smart-subscriptions%404.1.5","date":"2026-07-08T23:28:38Z","type":"stable","version":"@pothos/plugin-smart-subscriptions@4.1.5"},{"url":"https://github.com/hayes/pothos/releases/tag/%40pothos/plugin-simple-objects%404.1.4","date":"2026-07-08T23:27:53Z","type":"stable","version":"@pothos/plugin-simple-objects@4.1.4"},{"url":"https://github.com/hayes/pothos/releases/tag/%40pothos/plugin-scope-auth%404.1.7","date":"2026-07-08T23:28:20Z","type":"stable","version":"@pothos/plugin-scope-auth@4.1.7"},{"url":"https://github.com/hayes/pothos/releases/tag/%40pothos/plugin-relay%404.7.1","date":"2026-07-08T23:28:02Z","type":"stable","version":"@pothos/plugin-relay@4.7.1"},{"url":"https://github.com/hayes/pothos/releases/tag/%40pothos/plugin-prisma%404.15.0","date":"2026-07-08T23:27:32Z","type":"stable","version":"@pothos/plugin-prisma@4.15.0"},{"url":"https://github.com/hayes/pothos/releases/tag/%40pothos/plugin-prisma-utils%401.3.4","date":"2026-07-08T23:27:41Z","type":"stable","version":"@pothos/plugin-prisma-utils@1.3.4"}]` | `[{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v2.0.0-rc.4","date":"2026-02-26T08:35:21Z","type":"stable","version":"v2.0.0-rc.4"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v2.0.0-rc.3","date":"2026-02-08T08:56:50Z","type":"stable","version":"v2.0.0-rc.3"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v2.0.0-rc.2","date":"2024-06-07T12:27:54Z","type":"stable","version":"v2.0.0-rc.2"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v2.0.0-rc.1","date":"2024-04-24T14:18:18Z","type":"stable","version":"v2.0.0-rc.1"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v2.0.0-beta.6","date":"2024-04-24T14:27:42Z","type":"prerelease","version":"v2.0.0-beta.6"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v2.0.0-beta.4","date":"2024-04-24T14:27:10Z","type":"prerelease","version":"v2.0.0-beta.4"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v2.0.0-beta.3","date":"2023-08-17T16:48:16Z","type":"prerelease","version":"v2.0.0-beta.3"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v2.0.0-beta.2","date":"2023-05-16T08:40:02Z","type":"prerelease","version":"v2.0.0-beta.2"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v1.2.0-rc.1","date":"2021-10-06T08:41:05Z","type":"prerelease","version":"v1.2.0-rc.1"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v1.1.1","date":"2020-11-04T20:42:49Z","type":"stable","version":"v1.1.1"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v1.1.0","date":"2020-10-12T18:43:12Z","type":"stable","version":"v1.1.0"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v1.0.0","date":"2020-08-19T18:30:33Z","type":"stable","version":"v1.0.0"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v1.0.0-rc.3","date":"2020-06-29T18:06:47Z","type":"prerelease","version":"v1.0.0-rc.3"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v1.0.0-rc.2","date":"2020-05-19T19:36:54Z","type":"prerelease","version":"v1.0.0-rc.2"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v1.0.0-rc.1","date":"2020-05-03T16:50:40Z","type":"prerelease","version":"v1.0.0-rc.1"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v0.17.6","date":"2019-12-21T20:48:53Z","type":"stable","version":"v0.17.6"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v0.17.5","date":"2019-08-18T11:09:49Z","type":"stable","version":"v0.17.5"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v0.17.4","date":"2019-05-12T20:26:56Z","type":"stable","version":"v0.17.4"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v0.17.3","date":"2019-05-06T16:48:18Z","type":"stable","version":"v0.17.3"},{"url":"https://github.com/MichalLytek/type-graphql/releases/tag/v0.17.2","date":"2019-04-23T19:30:07Z","type":"stable","version":"v0.17.2"}]` |
| reliability.status_page | - | yes |
| security.scorecard | - | 3.3 |
| security.vulnerabilities | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=%40pothos%2Fcore&per_page=100","last_12m":0,"max_severity":null}` | `{"count":1,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=type-graphql&per_page=100","last_12m":0,"max_severity":"LOW"}` |

## Capabilities (GraphQL Tools)

| Capability | Pothos | TypeGraphQL |
|---|:--:|:--:|
| **Core** |  |  |
| Role | Schema builder | Server |
| Primary language | - | TypeScript |
| **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:42:45.446Z. "-" = undocumented, not absent.*
