~/talk

REST in Peace? GraphQL vs REST in the Age of Agentic AI

Talkat apidays India 2026 · 2026-08-19..08-20· [graphql, ai-assisted-development]
slides:none on file

Benchmarks compare REST and GraphQL by building identical backends on Supabase Postgres, a Streamlit UI and an agent using GPT‑4 via OpenAI, measuring token use, tool-call round trips and accuracy. Results vary by query: one test shows GraphQL doing 2 calls and consuming 35,000 tokens while REST answers in one call with 77 tokens but GraphQL later wins some atomic retrievals (fewer tokens) and loses on accuracy. Round trips average 4–5 and sometimes spike to 30. Conclusion: outcome depends on queries, tool definitions and response compression strategies.

AI-written summary · about

  1. 0:00Introduction
  2. 3:58REST vs GraphQL benchmark setup
  3. 9:54Experiment results
  4. 16:08API strategy recommendations
  5. 22:06Benchmark framework & takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.