Online Variant

Real-time web search with :online

The :online variant enables real-time web search capabilities for any model on OpenRouter.

Usage

Append :online to any model ID:

1{
2 "model": "openai/gpt-4o:online"
3}

This is a shortcut for using the web plugin, and is exactly equivalent to:

1{
2 "model": "openrouter/auto",
3 "plugins": {
4 "web": {}
5 }
6}

Details

The Online variant incorporates relevant web search results into model responses, providing access to real-time information and current events. This is particularly useful for queries that require up-to-date information beyond the model’s training data.

For more details, see: Web Search