SpecPair launched in April 2026 with 42,878 head-to-head tech product comparisons, each with a written verdict, category scores, and a clear winner recommendation. Building that many comparisons by hand would take a team of writers years. We built them in weeks using Claude by Anthropic as the generation backbone, with a pipeline designed around editorial quality control.
How We Built 42,000 Tech Comparisons with Claude
By SpecPair Editorial ·
This post describes exactly how the pipeline works. We publish this because Google's guidelines on AI content are clear: transparency matters, and quality matters more than how content is produced. We agree with both points.
The data layer
Every comparison starts with verified spec data. We collect product specifications from three sources:
- Manufacturer-published data sheets (Apple's tech specs pages, Samsung's product pages, Sony's spec PDFs)
- Cross-reference databases (GSMArena for phones, Notebookcheck for laptops, RTINGS for TVs)
- Official press releases for newly announced products
Specs are stored in a PostgreSQL database (hosted on Railway) using Drizzle ORM. Each product has a structured JSON spec object with category-specific fields: display, performance, camera, battery, and more. This structured data is the input to the AI pipeline, not scraped web content.
Pair generation
We generate comparison pairs within each product category. Every phone is compared to every other phone; every laptop to every other laptop. With 625 products across 6 categories, that produces 42,878 unique pairs (combinatorial: n choose 2 per category).
Pairs are stored in alphabetical slug order to prevent duplicates. A canonical URL redirect ensures that "samsung-galaxy-s25-ultra-vs-apple-iphone-16-pro-max" redirects to the alphabetically-sorted canonical form.
Verdict generation
Each comparison verdict is generated by Claude Haiku 4.5 (for standard pairs) or Claude Sonnet 4.6 (for flagship matchups). The prompt enforces:
- 150-250 word verdicts that name a winner and cite specific spec differences
- No em-dashes (a common AI writing tell)
- No filler phrases ("In the world of...", "When it comes to...", "Let's dive in...")
- Specific numbers (battery capacity in mAh, display brightness in nits, processor model names)
- Clear recommendation ("Buy X if you need Y; buy Z if you need W")
The model also returns structured scoring: a 10-point score per category (display, performance, camera, battery, value) and an overall winner designation. These are stored as JSON and rendered as score bars on the comparison page.
Quality control
Every verdict is reviewed before publication. The review process checks for:
- Factual accuracy: Does the verdict cite specs that actually exist in our database?
- Hallucinations: Did the model invent a feature or spec that neither product has?
- Winner consistency: Does the declared winner match the category score totals?
- Style compliance: No em-dashes, no AI tells, no hedging without specifics?
- Recommendation clarity: Does the verdict actually help someone decide?
Verdicts that fail review are regenerated with the same prompt. The regeneration rate is low (under 5%) because the structured prompt and verified spec inputs constrain the model effectively.
The tech stack
- Next.js 14 (App Router) for the site
- Drizzle ORM + PostgreSQL on Railway for data
- Claude API (Haiku 4.5 + Sonnet 4.6) for verdict generation
- Tailwind CSS + custom design tokens for styling
- ISR (Incremental Static Regeneration) with 24-hour revalidation for comparison pages
The entire pipeline runs on a single Railway instance. Build time for the full site is under 3 minutes. Pages are generated on-demand and cached, so the 42K+ comparison pages do not all need to be pre-rendered at build time.
Why we disclose this
Most sites using AI to generate content either hide it or use euphemisms ("enhanced by advanced technology"). We name the specific models we use (Claude Haiku 4.5 and Sonnet 4.6) and describe the full pipeline at /methodology.
There are two reasons:
Credibility: If a reader discovers your content is AI-generated and you hid it, you lose all trust. If you disclosed it upfront, you demonstrated confidence in your quality control.
Google's guidelines: Google's 2024 guidance on AI-generated content states that automated content is fine as long as it provides value and is not designed to manipulate search rankings. Our comparisons provide genuine value (real spec data, clear recommendations) and our methodology page demonstrates editorial oversight.
What we learned
Structured inputs produce better outputs. Feeding Claude a JSON spec object (with specific fields like battery_capacity, display_brightness, processor_model) produces more accurate verdicts than feeding it a product name and asking it to "compare."
Constraints improve quality. Banning em-dashes and AI filler phrases in the prompt forces the model to write more concretely. The output reads less like "AI content" and more like "a person who has actually read the spec sheet."
42,000 verdicts is not 42,000 copies of the same thing. Each comparison has unique spec data, unique score breakdowns, and a verdict that references specific differences between two specific products. The template is consistent; the content is not.
Cost is manageable. Generating 42,878 verdicts with Haiku 4.5 cost approximately $12. That is less than a single hour of a freelance tech writer's time.
Try it
Pick any two products and see the comparison yourself:
- iPhone 16 Pro Max vs Galaxy S25 Ultra
- MacBook Pro 14 M4 Pro vs Dell XPS 14
- AirPods Max vs Sony WH-1000XM5
Or browse all 42,878 comparisons at specpair.com/search.
Spec data verified from manufacturer sources. Analysis AI-assisted and editorially reviewed. Our methodology.

