Serpapi iconSerpapiOct 1, 2026 ~7 min source read

How SerpApi, Tavily, Exa, and Firecrawl differ when they return Markdown for LLMs

A focused comparison of what each provider converts into Markdown, how that affects token costs, and which output suits different agent workflows.

Comparing Markdown Search Results: SerpApi vs. Exa, Tavily, and Firecrawl

Share this story

Send the public story page.

Useful takeaways from this story.

Tests used three queries—’coffee’, a how-to question, and ‘grok 4.7’—with location set near Austin, Texas, and live (no_cache=true) SerpApi searches as the baseline.

# Quick summary

# What each provider returns

  • SerpApi: converts the search itself and returns the full search engine results page (SERP) as clean Markdown or as structured JSON. That means the Markdown represents the results page a real search engine produced.
  • Tavily, Exa, Firecrawl: convert the pages that the search found into Markdown. The Markdown therefore reflects the content on result pages rather than the SERP structure.

This distinction matters. If your agent needs the results page context (rank, SERP features, snippets), SerpApi's Markdown preserves that. If the agent needs the original pages' content (full articles, product pages), the other providers' Markdown gives the source material directly.

# How the comparison was run All providers used their playground defaults with generated answers disabled. Location was set as close to Austin, Texas, as the provider allowed—United States for Tavily and Exa, Austin for Firecrawl. SerpApi used Google Search with location=Austin, Texas, United States plus gl=us and hl=en, and searches were live (no_cache=true).

Three queries tested distinct behaviors:

  • coffee — a one-word query used to surface many SERP features.
  • how to make delicious coffee — a semantic question representing typical user-forwarded questions.

Token counts were measured using tiktoken with the o200k_base encoding on the full saved response (JSON or Markdown) without stripping fields.

# Representative token numbers and formats

  • SerpApi Google Search JSON: 66,237 tokens (full SERP as structured objects)
  • SerpApi Google Search Markdown: 13,025 tokens (full SERP as a document)
  • SERP-as-Markdown (SerpApi): models see ranking, snippets, structured features (knowledge panels, shopping boxes, etc.) and can reason about the search results themselves—useful for summarization, ranking-aware agents, and workflows that need SERP context.
  • Page-as-Markdown (Tavily, Exa, Firecrawl): models read the pages the results link to and can extract and synthesize page-level facts—useful for retrieval-augmented generation (RAG), citation extraction, and tasks that require source text.

# Practical recommendations

  • If your agent needs the search context (which results appeared, SERP features, relative ranking), choose the provider that returns the SERP as Markdown.
  • Consider token costs: Markdown representations of the SERP can cut token usage compared to full JSON while still giving structured, readable context for LLM consumption.

# Bottom line

More context around this story.

Who is watching the AI agents?
Fastcompany iconFastcompanySep 14, 2026

Who is watching the AI agents?

For better or worse, AI agents are now a part of the workforce. They write code, analyze documents, respond to customers, coordinate workflows, and make decisions across multiple business systems with very little human involvement. AI agents have proven they can do the work. Now, enterprises must prepare for a world wh

Loading more related stories...

Keep reading in the app

Open the app view to save this story, compare related coverage, and continue from the same source.

Open in app