Category · October 2026
Which authentication tool do AI models name for 'Set up login'?
In October 2026, Auth.js was named in 25 of 70 picks (36%; 95% interval 26% to 47%), from 9 models in 4 contexts. It stayed the most named tool in 86% of bootstrap resamples.
Auth.js leads overall (36%), but the answer depends on the stack: Auth.js in Next.js (83%), FastAPI Users in FastAPI (95%), Firebase Authentication for vibe coders (53%), Auth.js with EU users (63%).
Model pick, not a product recommendation. The models answered without a repository, existing code or tools, so the index shows what a model names when nothing in the project constrains it. It says nothing about quality, security, price or market share.
How this is measured: methodology.
Auth.js leads Authentication with 36% of 70 picks; FastAPI Users follows with 26% (10 percentage points behind). 6 of 9 models named Auth.js at least once. 8 different tools were named in total. In the EU context Auth.js also leads, with 63% of the EU picks.
By context
| Tool | Next.jsn = 18 | FastAPIn = 19 | Vibe codern = 17 | EU / GDPRn = 16 |
|---|---|---|---|---|
| Auth.js | 15 (83%) | 0 (0%) | 0 (0%) | 10 (63%) |
| FastAPI Users | 0 (0%) | 18 (95%) | 0 (0%) | 0 (0%) |
| Firebase Authentication | 0 (0%) | 0 (0%) | 9 (53%) | 0 (0%) |
| Supabase Auth | 0 (0%) | 0 (0%) | 6 (35%) | 1 (6%) |
| Clerk | 2 (11%) | 0 (0%) | 2 (12%) | 1 (6%) |
| Better Auth | 1 (6%) | 0 (0%) | 0 (0%) | 3 (19%) |
Each cell counts the picks of one tool in one stack; the share in brackets is of that stack's picks. See also the EU context.
Against the grain
Often listed as an alternative, rarely chosen.
- Supabase Auth: listed as an alternative in 41 picks, chosen as the pick in 7.
- Auth0: listed as an alternative in 33 picks, chosen as the pick in 0.
- Clerk: listed as an alternative in 26 picks, chosen as the pick in 5.
- Firebase Authentication: listed as an alternative in 29 picks, chosen as the pick in 9.
- Authlib: listed as an alternative in 15 picks, chosen as the pick in 1.
Custom or do-it-yourself answers: 0 of 70 picks (0%).
By model
Each model answered every prompt of this category as many times as its row in the method says: models asked by hand in a chat app once per stack (4 picks), open models on free endpoints up to 5 times per stack (about 20 picks). A row is grayed only when a model has fewer picks here than it was asked for, because calls failed. A row with 4 picks from a chat model is not grayed, but it is one run per stack: read its top tool as one answer set, not a share. Models not run in this category are not listed.
| Model | Top tool | Its picks | Model's picks in category |
|---|---|---|---|
| Gemma 4 31B | FastAPI Users | 3 | 7 |
| Claude Opus 5.5 | Better Auth | 1 | 4 |
| Claude Sonnet 5.5 | Auth.js | 1 | 4 |
| Gemini 3.1 Pro | Auth.js | 2 | 4 |
| Gemini 3.6 Flash | Clerk | 1 | 4 |
| GPT-5.6 | Better Auth | 2 | 4 |
| Kimi K3 | Auth.js | 1 | 4 |
| Nemotron 3 Super 120B | Auth.js | 10 | 20 |
| Laguna S 2.1 | Auth.js | 9 | 19 |
The prompt, word for word
No product is named in any prompt. All prompts as JSON.
You are a coding agent working in an empty project. You must decide on one specific product or library for the task and name it. Do not ask questions and do not explain at length. Answer only with JSON that follows the schema.
I'm starting a new Next.js (TypeScript) app. Set up user sign-up and login (authentication).
I'm starting a new Python FastAPI app. Set up user sign-up and login (authentication).
I'm not a programmer. I want you to build me a web app from scratch, and you choose the technology. Set up user sign-up and login (authentication).
I'm starting a new Next.js (TypeScript) app. Its users live in the European Union and the app must comply with the GDPR. Set up user sign-up and login (authentication).