ModelsAgree
← All leaderboards

Poem

What ChatGPT, Claude, Gemini & Grok actually say · September 2026

Visit poem.rs ↗

The verdict

Poem appears in 3 AI-ranked categories — best position #2 for rust web frameworks for type-safe apis.

Positioning brief — for the Poem team

Why the models put Poem at #2 for rust frameworks for type-safe apis

  • Compile-time type validation Claude · Gemini · GPT“compile-time type validation”
  • Documentation cannot drift from handler signatures Claude · Gemini · GPT“generating a spec and Swagger UI that cannot drift from the handler signatures”
  • Typed responses and validation Claude · Gemini · GPT“strong support for typed responses and validation”

What the models credit Axum (#1) with — and don’t credit Poem

  • Middleware ecosystem and flexibility GPT · Claude · Gemini“overall ecosystem adoption and middleware flexibility”
  • Idiomatic Tokio and Tower integration GPT · Claude · Gemini“idiomatic Tokio and Tower integration”
  • Without heavy macro magic Gemini“without heavy macro magic”

What would move the rank — the models’ fix lines, unified

  • Smaller community and library ecosystem GPT · Claude · Gemini“Smaller community and library ecosystem compared to Axum”
  • Macro-heavy contract layer adds learning curve GPT · Claude“the macro-heavy contract layer adds compile-time and a learning curve”

Restructured from verbatim model output · nothing invented · every quote machine-verified

#2🧩 Best Rust web frameworks for type-safe APIs3/3 models · updated 2026-09-03
Claude #2Gemini #2Grok #2

The strongest type-first choice — you annotate Rust handlers and types, and the OpenAPI document plus validation is derived from them, keeping code and spec provably in sync; ergonomic, async-native, and lighter mental overhead than gluing Axum + utoipa.

Gemini Delivers the most cohesive type-safe API experience in Rust through poem-openapi, featuring first-class compile-time OpenAPI generation, request validation, and strictly typed responses directly mapped to Rust types. Flags a near-tie with Axum, placing second only due to smaller community scale.

Grok poem-openapi is the strongest compile-time “if it builds, it matches OpenAPI v3” story among general Rust web frameworks; typed payloads and params with low generic noise and built-in Swagger/UI. Near-tie with Dropshot on contract fidelity, ahead on general HTTP features.

Where Poem falls short, per the models

  • Claude Smaller community and ecosystem than Axum/Actix, so fewer middleware crates and battle-tested examples; a riskier bet for a large long-lived team.
  • Gemini Smaller community adoption and fewer off-the-shelf third-party integrations than Tokio/Tower core projects; not for teams needing an exhaustive, battle-tested third-party middleware ecosystem.
  • Grok Far smaller middleware/job-market ecosystem than Axum; teams already standardized on Tower layers will fight the framework instead of composing it.

Top alternatives per the models: Axum · Dropshot · Actix Web · Rocket

#2🧩 Best Rust frameworks for type-safe APIs3/3 models · updated 2026-08-02
GPT #3Claude #2Gemini #2

Best when the OpenAPI contract must be enforced by the compiler — the poem-openapi derive macros make types the single source of truth, generating a spec and Swagger UI that cannot drift from the handler signatures, with strong support for typed responses and validation.

Gemini Purpose-built for schema-driven HTTP APIs through poem-openapi, providing compile-time type validation that automatically syncs Rust structs, request parameters, and OpenAPI documentation in a single framework.

GPT The closest Rust analogue to FastAPI: endpoint signatures, validation, schemas, security definitions, and documentation remain tightly connected, with unusually broad OpenAPI type support and little manual glue.

Where Poem falls short, per the models

  • GPT Heavy procedural-macro dependence and a smaller ecosystem make complex compiler errors and unusual integrations harder.
  • Claude Smaller ecosystem and community than Axum/Actix, so fewer middleware crates and examples; the macro-heavy contract layer adds compile-time and a learning curve you don't pay for on simpler services.
  • Gemini Smaller community and library ecosystem compared to Axum, resulting in fewer third-party middleware choices and learning resources.

Top alternatives per the models: Axum · Tonic · Dropshot · Actix Web

#4🧩 Best Rust frameworks for high-performance APIs3/4 models · updated 2026-07-16
GPT #3Claude #4Gemini #4Grok —

Strong API ergonomics, capable middleware and extractors, WebSocket/SSE support, and especially productive contract-first development through Poem OpenAPI make it excellent for documented JSON services.

Claude The strongest built-in OpenAPI story in Rust — poem-openapi generates spec-first, type-checked APIs with far less ceremony than utoipa bolted onto Axum; clean Tokio-based design, solid performance, and adoption in serious projects (e.g. Apache-ecosystem tooling). Earns the spot for teams where contract-first API design is the core requirement.

Gemini Offers the absolute best developer experience for building OpenAPI/Swagger-compliant REST APIs via the poem-openapi crate. It compiles OpenAPI specs directly from Rust code types, dramatically reducing boilerplate while maintaining performance comparable to Axum. Its routing is clean, expressive, and supports modern features like WebSockets and Server-Sent Events out-of-the-box.

Where Poem falls short, per the models

  • GPT Its smaller ecosystem and contributor base create more maintenance and integration risk than axum or Actix Web.
  • Claude Much smaller community and third-party middleware pool than the top three; if you don't need its OpenAPI machinery, Axum does everything else with more ecosystem support.
  • Gemini The community and ecosystem are significantly smaller than Axum and Actix-web, meaning developers have fewer third-party integrations and must write more custom code for edge cases.

Top alternatives per the models: Axum · Actix Web · Salvo · Rocket

Watch Poem

Boards re-poll weekly and the models change their minds. One short email only when Poem's standing moves — a rank change, a rival overtaking, or new reasoning from the models. Nothing otherwise.

Embed your ranking badge

Poem ranks #2 for best rust web frameworks for type-safe apis by AI-model consensus. Put the badge in your README, docs or site — it updates automatically as the models re-rank.

Poem — ranked #2 for Best Rust web frameworks for type-safe APIs by AI models on ModelsAgree
Markdown (README)
[![Poem — ranked #2 for Best Rust web frameworks for type-safe APIs by AI models on ModelsAgree](https://modelsagree.com/badge/poem.svg)](https://modelsagree.com/best/best-rust-web-frameworks-for-type-safe-apis?utm_source=badge&utm_medium=embed&utm_campaign=badge-poem)
HTML
<a href="https://modelsagree.com/best/best-rust-web-frameworks-for-type-safe-apis?utm_source=badge&utm_medium=embed&utm_campaign=badge-poem"><img src="https://modelsagree.com/badge/poem.svg" alt="Poem — ranked #2 for Best Rust web frameworks for type-safe APIs by AI models on ModelsAgree" height="28"></a>

Rankings are computed from what the models answer, re-polled on demand · raw reasoning shown verbatim · methodology