GraphQL Ruby vs Hot Chocolate
GraphQL Ruby
graphql-ruby.orgHot Chocolate
chillicream.comSide by side
| Figure | GraphQL Ruby | Hot Chocolate |
|---|---|---|
| Price from | $91.67/mo | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | — | Yes |
| API | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 3 | 1 |
| Spec score · GraphQL Tools | 7.8 (#11) | 8.1 (#6) |
| Data loading | GraphQL::Dataloader batches external data access, caches results per query, and AsyncDataloader supports parallel I/O. | Hot Chocolate provides DataLoader and batch resolver options for fetching data efficiently. |
| License | RubyGems lists the graphql gem license as MIT, while GraphQL::Pro and GraphQL::Enterprise use special commercial licenses. | The product page says Hot Chocolate is MIT licensed and may be used, modified, and distributed in commercial or private projects. |
| Purpose | The graphql gem implements the GraphQL Server Specification in Ruby and adds a GraphQL API to Ruby or Rails applications. | Hot Chocolate is an open-source GraphQL server for .NET that runs on ASP.NET Core. |
Plans
GraphQL Ruby
- GraphQL Ruby gemFree
- GraphQL::Pro$1,100 a year
- GraphQL::Enterprise$2,400 a year
In their own words
GraphQL Ruby
GraphQL Ruby is a free, self-hosted Ruby gem that implements the GraphQL Server Specification for Ruby or Rails applications. It provides a self-documenting, strongly typed schema and serves queries, mutations, subscriptions, streaming responses, and multiplexed queries. Configurable depth and complexity validation can reject deeply nested or overly complex requests. Authorization tools handle schema visibility and checks on application objects during execution, while authentication is generally left to the application controller. GraphQL::Dataloader batches external data access and caches results per query; AsyncDataloader supports parallel I/O. Documentation covers Relay, Apollo Client, GraphQL.js Client, GraphiQL, urql, and custom JavaScript, plus monitoring integrations. The open-source gem is installed through RubyGems and uses the MIT license. The GraphQL Ruby gem costs nothing. GraphQL::Pro costs $1,100 a year, and GraphQL::Enterprise costs $2,400 a year under commercial licenses.
Hot Chocolate
Hot Chocolate is an open-source GraphQL server for.NET that runs on ASP.NET Core and builds a GraphQL schema from C# types and resolvers. Developers can define typed schemas through implementation-first or code-first methods. It supports GraphQL over HTTP and WebSocket, plus Server-Sent Events for streaming responses. Documentation describes schema downloads, a Nitro GraphQL IDE endpoint, and a command-line interface for schema export. Data integrations include Entity Framework, MongoDB, and Marten; DataLoaders and batch resolvers help batch and cache related requests. OpenTelemetry instrumentation covers server, execution, and DataLoader activity. Security guidance recommends query cost analysis, pagination and execution-depth limits, and timeouts for public APIs; trusted documents can restrict private APIs to registered operations. Servers can act as Fusion subgraphs. Hot Chocolate implements the GraphQL 2025 specification and GraphQL over HTTP, and supports spec-compliant clients including Strawberry Shake, Relay, and Apollo Client. It is MIT licensed for commercial or private use. Community support is free; paid Startup support starts at $450 per month and includes two critical incidents.