Vibeleaderboard
← All Intel
Intel / article

Introducing Web Search Via The Api

Source
openrouter.ai
Author
OpenRouter
Date

Context

OpenRouter's web-search option changes a request by adding retrieved web results to the before the answers. In its January 2025 announcement, the service passes the user's prompt to the search provider Exa, which runs searches and summarizes the results. Those results are merged into a system message placed ahead of the user's message, with default instructions to cite sources as links. Developers switch this on with the web plugin or by appending :online to a model name, and can change the number of results (five by default) and replace the text. The model is not modified: it answers from input that now includes search results.

Terms in this piece · Glossary
  • Prompt — Information or instructions supplied to a model; in a chat, the request you type is often called your prompt.
  • Model — A computational system that uses learned patterns to produce an output from information supplied to it.
  • Instruction — A statement in the context that tells the model how to behave or what to do; module 3's first layer.
  • Retrieval — Selecting evidence relevant to the current request.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source openrouter.ai
More from OpenRouter
Recommended reads