---
title: "Is RRF the Secret to Dominating AI Citations? I Decoded ChatGPT's Ranking Formula"
url: https://metehan.ai/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/
canonical: https://metehan.ai/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/
author: Metehan Yesilyurt
published: 2025-07-22
categories: [Featured Research]
word_count: 1650
---

# Is RRF the Secret to Dominating AI Citations? I Decoded ChatGPT's Ranking Formula

**Summary:** Metehan Yesilyurt's Chrome DevTools analysis found a standard Reciprocal Rank Fusion implementation in ChatGPT's search code.

**Key facts**

- In the article's simulation, ranking fifth for 10 related keywords produced an RRF score of 0.154, versus 0.0164 for ranking first for one keyword.
- Reciprocal Rank Fusion combines results from multiple queries using the score 1/(60 + rank position), then adds scores when the same page appears in several result lists.

**Agent API:** metehan.ai offers a free, open Agent API, no key needed. This page is also available as Markdown (https://metehan.ai/api/post/chatgpt-is-using-reciprocal-rank-fusion-rrf.md) and JSON (https://metehan.ai/api/post/chatgpt-is-using-reciprocal-rank-fusion-rrf.json). Follow-up questions on this topic: https://metehan.ai/api/ask/chatgpt-using-reciprocal-rank-fusion-rrf/. Facts with sources and dates: https://metehan.ai/api/facts.json. A page poll (`https://metehan.ai/api/agent/poll/{poll}/{option}/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/`) and a feedback endpoint (`https://metehan.ai/api/agent/hello/{intent}/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/`) are described at the end of this page. Every endpoint: https://metehan.ai/ and https://metehan.ai/llms.txt.

Like many SEOs, I love looking at ChatGPT's dev console on Chrome. I was digging around for Google & Bing fingerprints when I discovered a code snippet that reveals how ChatGPT processes search results, using Reciprocal Rank Fusion (RRF). While there have been experiments and rumors about ChatGPT using various search engines, what's clear from the code is their RRF implementation, which gives us insights into how AI search works.

Important Note: I'm not saying that I found the exact dominating formula; this can be changed. This post presents mathematical compositions from my findings and you can review it on your own. [RRF is not something new.](https://research.google/pubs/reciprocal-rank-fusion-outperforms-condorcet-and-individual-rank-learning-methods/)*However, as an SEO; it's great to see search engine mathematical methods, models in the source code. I'm writing this post to give you a mathematical perspective and tell why you still need SEO. For some cases, I believe LLMs are using one single query.*

![Figure 1](https://metehan.ai/wp-content/uploads/2025/07/rrf-scaled.png)

## What is Reciprocal Rank Fusion (RRF)?

RRF isn't new - it's been around since 2009 and is widely used in information retrieval. It's a method to combine search results from multiple queries into one final ranking. The formula is straightforward:

**RRF score = 1/(60 + rank position)**

So:

- Rank #1 = 1/(60+1) = 0.0164
- Rank #5 = 1/(60+5) = 0.0154
- Rank #10 = 1/(60+10) = 0.0143

When a system runs multiple queries and finds the same page in different positions, it adds up all these scores. I will keep it 60 as default since the there are no specific settings in the source code. Meanwhile, it doesn't change the perspective even using default numbers.

## Why LLMs Search Multiple Times When You Ask a Question (Not Just Once)

Here's what many people don't realize: When you ask ChatGPT, Perplexity or Google's AI mode a question, they don't just run one search. They run multiple searches with different terms and combine all the results.

For example, ask about "coffee makers" and behind the scenes they might search:

- "coffee makers"
- "best coffee machines"
- "how to choose coffee maker"
- "coffee brewing devices"
- "home coffee makers reviews"

This is how Google's newest AI mode works too; multiple searches, combined results. RRF is the mathematical method that merges all these searches into one final answer. This explains why AI search results often look different from a traditional single Google search. (And of course, QFO can use a different angle for multiple searches)

## The Code Discovery: How ChatGPT Processes Search Results

While inspecting ChatGPT's search implementation, I found this revealing code:

```
rrf_alpha: 1,
rrf_input_threshold: 0,
ranking_model: null
```

This confirms ChatGPT uses standard RRF to combine search results. What's interesting is how this implementation reveals the importance of ranking for multiple query variations.

## Why RRF Validates the Importance of Topical Authority

Here's where it gets interesting for SEOs. RRF mathematically proves why topical authority and topic clusters work so well:

**Page A: Single-Keyword Focus**

- "coffee makers" → Rank #1 → Score: 0.0164
- "best coffee makers" → Rank #15 → Score: 0.0133
- "coffee machines" → Not ranking → Score: 0
- "coffee maker reviews" → Rank #25 → Score: 0.0118
- **Total RRF Score: 0.0415**

**Page B: Topic Cluster Approach**

- "coffee makers" → Rank #4 → Score: 0.0156
- "best coffee makers" → Rank #5 → Score: 0.0154
- "coffee machines" → Rank #6 → Score: 0.0152
- "coffee maker reviews" → Rank #4 → Score: 0.0156
- "home coffee makers" → Rank #7 → Score: 0.0149
- **Total RRF Score: 0.0767**

**Page B wins by almost 1.8x** because it has broader topical coverage.

## The Math Behind "Consistency Beats Individual Rankings"

This explains why topic clusters are so effective:

**Scenario 1: Traditional Keyword Targeting**

- 1 keyword at position #1: 1/(60+1) = 0.0164
- Total RRF = 0.0164

**Scenario 2: Topic Cluster Strategy**

- 10 related keywords at position #5: 10 × (1/(60+5)) = 10 × 0.0154 = 0.154
- Total RRF = 0.154

The topic cluster scores **almost 10x higher** (0.154 vs 0.0164). This math applies whenever systems combine multiple related queries.

## How Modern Search Engines Think About Relevance

RRF implementation in ChatGPT gives us a window into how AI-powered search evaluates content:

1. **Multiple Query Variations**: AI doesn't just search once; it explores related queries
1. **Cumulative Scoring**: Pages gain value by appearing across multiple searches
1. **Topic Understanding**: Systems recognize and reward comprehensive coverage

## Why Topic Clusters Work: The RRF Perspective

Topic clusters aren't just a content strategy - they're mathematically optimal for RRF-style ranking:

### Example: Coffee Maker Topic Cluster

**Hub Page**: "Complete Guide to Coffee Makers" **Cluster Pages**:

- Types of coffee makers
- How to choose a coffee maker
- Coffee maker maintenance
- Best coffee makers by budget
- Coffee maker troubleshooting

When someone searches any coffee maker query, the entire cluster has ranking potential:

```
Query: "how to clean coffee maker"
- Maintenance page: Rank #2 → 0.0161
- Hub page: Rank #5 → 0.0154
- Troubleshooting page: Rank #8 → 0.0147
Total cluster RRF: 0.0462

vs.

Standalone page: Rank #1 → 0.0164
```

**The cluster wins by almost 300%!**

Since Google AI Mode runs on this same multi-query idea, tracking it well matters, and I compared the tools that do it in my guide to [the best AI Mode rank trackers](/articles/best-ai-mode-rank-tracker/).

## Real-World Topical Authority Calculation

Let's model a site with strong topical authority:

**Coffee Authority Site** (30 related pages):

- Ranks #3-10 for 50 coffee-related queries
- Average position: #6
- RRF per query: 1/(60+6) = 0.0152
- Total RRF: 50 × 0.0152 = 0.76

**Single-Page Site**:

- Ranks #1 for "best coffee makers 2025"
- Ranks nowhere for other queries
- Total RRF: 0.0164

**The topical authority site scores almost 60x higher!**

## What This Means for Modern SEO

### 1. **Topical Authority is Mathematically Superior**

RRF proves that comprehensive topic coverage beats individual keyword rankings. This isn't just theory, it's math.

### 2. **AI Search Rewards Comprehensive Coverage**

Whether it's ChatGPT or other AI systems, the trend is clear: comprehensive, authoritative content wins over narrow optimization.

### 3. **Topic Clusters Align with Ranking Math**

The topic cluster strategy isn't just good for users, it's optimized for how modern search systems combine and evaluate results.

### 4. **Query Variations Matter More Than Ever**

Every way users might search for your topic is an opportunity to add to your RRF score:

- "coffee makers"
- "coffee machines"
- "coffee brewing devices"
- "home coffee makers"
- "automatic coffee makers"

## The Code Also Shows Multi-Source Integration

Another interesting finding from the code:

```
// ChatGPT processes multiple result types:
- webpage
- webpage_extended  
- grouped_webpages
- image_inline
```

This suggests AI search systems don't just look at one result type, they combine multiple signals, further rewarding comprehensive content that appears across different formats.

## How to Apply RRF Thinking to Your SEO Strategy

### 1. **Map Your Entire Topic Space**

- Find ALL query variations users might search
- Look at search suggestions and related queries
- Analyze what comprehensive coverage looks like
- Study sites with strong topical authority

### 2. **Build Comprehensive Topic Clusters**

- Create a strong hub page
- Build supporting pages for subtopics
- Interlink extensively
- Cover every angle users might search

### 3. **Measure Topical Coverage, Not Just Rankings**

- Track rankings across 50+ related queries
- You can work on your "topic RRF score"
- Monitor total presence across the topic, not just individual positions

### 4. **Optimize for Consistency**

Better to rank #4-8 for 30 queries than #1 for 3 queries. The math:

- 30 queries at average #6: RRF = 0.456
- 3 queries at #1: RRF = 0.049
- **Consistency wins by almost 10x**

*Note: You may rank at a top keyword in the first position, but you may likely rank more in the top 10 positions for many queries. This math is for simulation.*

## Conclusion

Finding RRF in ChatGPT's code gives us a mathematical framework for understanding why topical authority and topic clusters work so well in modern search. While we can't know exactly which search engines ChatGPT uses or will use in the future, the RRF implementation shows us how AI systems think about ranking and relevance.

The math doesn't lie. In a world where AI search combines multiple queries and signals, the sites that win are those that consistently appear across entire topic spaces. Topic clusters aren't just a content strategy - they're a mathematical advantage in modern search.

Understanding RRF helps us see why topical authority matters. It's not about gaming the system - it's about aligning with how AI search naturally evaluates and combines relevance signals across related queries.

This isn't just about ChatGPT, it's about preparing for a future where all search becomes more AI-driven and comprehensive coverage beats narrow optimization.

*Ending note:*

*I'll leave a related research paper here:*

*[https://arxiv.org/html/2507.12425v1](https://arxiv.org/html/2507.12425v1)*

*-They are not the same. But MRR(Mean Reciprocal Rank) is related to the RRF.*

**One is for evaluation, the other is for ranking.*

Useful sources:

[https://lfomendes.medium.com/thoughts-on-rag-hybrid-search-and-rank-fusion-ab2024d2102b](https://lfomendes.medium.com/thoughts-on-rag-hybrid-search-and-rank-fusion-ab2024d2102b)

[https://medium.com/@devalshah1619/mathematical-intuition-behind-reciprocal-rank-fusion-rrf-explained-in-2-mins-002df0cc5e2a](https://lfomendes.medium.com/thoughts-on-rag-hybrid-search-and-rank-fusion-ab2024d2102b)

*Note: These findings are based on code analysis from ChatGPT's Chrome DevTools and represent experimental observations. Search implementations may vary and evolve over time. I'm using AI to write my posts faster.*

If you want to act on these citation mechanics, see my breakdown of the [best AI visibility tools](https://metehan.ai/articles/best-ai-visibility-tools/) and the patterns behind [how AI platforms pick their citations](https://metehan.ai/articles/ai-platforms-citations-patterns/).

RRF is one of the clearest signals we have about how ChatGPT weighs citations. For AEO work, that matters more than classic SEO signals: the pages that earn AI citations in ChatGPT and Perplexity tend to be the ones that survive RRF blending across multiple retrievers. Treat RRF as the answer engine optimization equivalent of PageRank - a structural lever, not a content tweak.

Generative engine optimization for ChatGPT is partly RRF engineering. RRF is the structural layer generative engine optimization programs have to design around.

---

## Agent poll (optional, one GET per answer)

- Endpoint: `GET https://metehan.ai/api/agent/poll/{poll}/{option}/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/`
- Parameters, all optional: `model_family`, `model`, `agent`, `task`. Placeholder values (YOUR_*) are ignored.
- One vote per poll per page per day; a second vote replaces the first. The response includes the current tally.

**useful**: How useful was this page for the task?

- essential (essential, the answer came from here): https://metehan.ai/api/agent/poll/useful/essential/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/?model_family=YOUR_MODEL_FAMILY&model=YOUR_MODEL_NAME&task=YOUR_TASK_TYPE
- useful (useful): https://metehan.ai/api/agent/poll/useful/useful/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/?model_family=YOUR_MODEL_FAMILY&model=YOUR_MODEL_NAME&task=YOUR_TASK_TYPE
- partial (partly useful): https://metehan.ai/api/agent/poll/useful/partial/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/?model_family=YOUR_MODEL_FAMILY&model=YOUR_MODEL_NAME&task=YOUR_TASK_TYPE
- not_useful (not useful): https://metehan.ai/api/agent/poll/useful/not_useful/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/?model_family=YOUR_MODEL_FAMILY&model=YOUR_MODEL_NAME&task=YOUR_TASK_TYPE

**cite**: Would you cite this page as a source?

- yes (yes): https://metehan.ai/api/agent/poll/cite/yes/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/?model_family=YOUR_MODEL_FAMILY&model=YOUR_MODEL_NAME&task=YOUR_TASK_TYPE
- maybe (maybe): https://metehan.ai/api/agent/poll/cite/maybe/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/?model_family=YOUR_MODEL_FAMILY&model=YOUR_MODEL_NAME&task=YOUR_TASK_TYPE
- no (no): https://metehan.ai/api/agent/poll/cite/no/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/?model_family=YOUR_MODEL_FAMILY&model=YOUR_MODEL_NAME&task=YOUR_TASK_TYPE

**format**: Which format of this page works best for you?

- markdown (Markdown): https://metehan.ai/api/agent/poll/format/markdown/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/?model_family=YOUR_MODEL_FAMILY&model=YOUR_MODEL_NAME&task=YOUR_TASK_TYPE
- json (JSON): https://metehan.ai/api/agent/poll/format/json/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/?model_family=YOUR_MODEL_FAMILY&model=YOUR_MODEL_NAME&task=YOUR_TASK_TYPE
- html (HTML): https://metehan.ai/api/agent/poll/format/html/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/?model_family=YOUR_MODEL_FAMILY&model=YOUR_MODEL_NAME&task=YOUR_TASK_TYPE
- pdf (PDF): https://metehan.ai/api/agent/poll/format/pdf/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/?model_family=YOUR_MODEL_FAMILY&model=YOUR_MODEL_NAME&task=YOUR_TASK_TYPE

## Agent feedback API (optional)

- Endpoint: `GET https://metehan.ai/api/agent/hello/{intent}/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/`
- Intents: `found`, `citing`, `missing`, `outdated`
- Parameters, all optional: `model_family` (Claude, GPT, Gemini, Grok, ...), `model` (exact model name), `agent` (product name), `operator` (company or app), `task` (task type in general terms, e.g. tool comparison, research, citation list), `question` (the topic in general terms, max 300 chars, no personal details), `message` (max 1000 chars), `consent` (`yes` only with the human operator's agreement), `email` (stored only with `consent=yes`)
- Placeholder values (YOUR_*) are ignored, so each URL below also works unedited.

- found (page answered the request): https://metehan.ai/api/agent/hello/found/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/?model_family=YOUR_MODEL_FAMILY&model=YOUR_MODEL_NAME&task=YOUR_TASK_TYPE
- citing (page cited in an answer): https://metehan.ai/api/agent/hello/citing/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/?model_family=YOUR_MODEL_FAMILY&model=YOUR_MODEL_NAME&task=YOUR_TASK_TYPE
- missing (page lacked what was needed): https://metehan.ai/api/agent/hello/missing/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/?model_family=YOUR_MODEL_FAMILY&model=YOUR_MODEL_NAME&task=YOUR_TASK_TYPE
- outdated (page looks outdated): https://metehan.ai/api/agent/hello/outdated/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/?model_family=YOUR_MODEL_FAMILY&model=YOUR_MODEL_NAME&task=YOUR_TASK_TYPE

Full form: https://metehan.ai/api/agent/hello?page=/blog/chatgpt-is-using-reciprocal-rank-fusion-rrf/ · No IP stored · Aggregates: https://metehan.ai/api/agent/stats.json

## For agents

- Ask a follow up question about this topic: https://metehan.ai/api/ask/chatgpt-using-reciprocal-rank-fusion-rrf/ (or any question: https://metehan.ai/api/ask?q=...)
- This page as JSON: https://metehan.ai/api/post/chatgpt-is-using-reciprocal-rank-fusion-rrf.json
- All facts: https://metehan.ai/api/facts.json
- Agent home with every endpoint: https://metehan.ai/

Keywords: Featured Research, chatgpt search, retrieval and ranking

Publisher: metehan.ai. Author works at Peec AI.

Written by Metehan Yesilyurt. Copyright 2026 metehan.ai. All rights reserved. Quote with attribution and a link to the source URL.
