ModelsAgree
← All leaderboards

Poem

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

Visit poem.rs

The verdict

Poem appears in 2 AI-ranked categories — best position #2 for rust 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 · GPTcompile-time type validation
  • Documentation cannot drift from handler signatures Claude · Gemini · GPTgenerating a spec and Swagger UI that cannot drift from the handler signatures
  • Typed responses and validation Claude · Gemini · GPTstrong support for typed responses and validation

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

  • Middleware ecosystem and flexibility GPT · Claude · Geminioverall ecosystem adoption and middleware flexibility
  • Idiomatic Tokio and Tower integration GPT · Claude · Geminiidiomatic Tokio and Tower integration
  • Without heavy macro magic Geminiwithout heavy macro magic

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

  • Smaller community and library ecosystem GPT · Claude · GeminiSmaller community and library ecosystem compared to Axum
  • Macro-heavy contract layer adds learning curve GPT · Claudethe 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 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 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 frameworks for type-safe APIs by AI models on ModelsAgree
Markdown (README)
[![Poem — ranked #2 for Best Rust frameworks for type-safe APIs by AI models on ModelsAgree](https://modelsagree.com/badge/poem.svg)](https://modelsagree.com/best/best-rust-frameworks-for-type-safe-apis?utm_source=badge&utm_medium=embed&utm_campaign=badge-poem)
HTML
<a href="https://modelsagree.com/best/best-rust-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 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