Skip to main content

Web Search Overview

Helicone Gateway supports web search for Anthropic models, allowing Claude to search the internet and provide up-to-date information with citations. This feature is enabled by appending :online to the model name, following the same pattern as OpenRouter.

How it Works

When you append :online to an Anthropic model name (e.g., claude-3-5-sonnet-20241022:online), Helicone automatically:
  1. Enables the web search tool for the request
  2. Routes the request to Anthropic with the appropriate web search configuration
  3. Returns the response with citations formatted as annotations

Quick Start

Advanced Configuration

You can customize the web search behavior by including a plugins parameter in your request body:

Plugin Options

Response Format

When web search is used, the response includes annotations with citation information:

Understanding Annotations

  • url: The source URL of the cited information
  • title: The title of the source page
  • content: The relevant excerpt from the source
  • start_index: Character position where the citation begins in the response
  • end_index: Character position where the citation ends in the response

Pricing

Web search requests are billed at standard Anthropic rates plus any additional costs for web search usage. The usage statistics include: