Skip to the page

Vertex AI grounding with your search API

Live web at $1 per 1,000.

Grounding with Google Search on Vertex AI, now Gemini Enterprise Agent Platform, costs $14 per 1,000 grounding queries past 5,000 free a month. Grounding with your search API takes any endpoint that answers Google's SIMPLE_SEARCH schema.

SpecStream answers that schema at https://api.specstream.ai/vertex/search. Set it as the endpoint of externalApi and your SpecStream key as apiKeyString. Gemini grounds in the live web at $1 per 1,000 searches, with no gateway to deploy.

SpecStream is the live web data engine for teams and agents. Its Search API scores 97.9 F-score on all 1,000 SimpleQA Verified questions. A new account gets $10 of credit, no card, which covers 10,000 searches.

New accounts get $10 of credit, no card. It covers 10,000 searches.

Web grounding sources for Gemini on Vertex AI, from each company's own pages on Nov 12, 2026

SpecStreamGrounding with Google SearchWeb Grounding for EnterpriseGrounding with ParallelGrounding with Exa
Price per 1,000$1 per 1,000 searches of up to 10 results$14 per 1,000 grounding queries on Gemini 3 and Gemini 4. $35 per 1,000 grounding prompts on Gemini 2.0 and 2.5$14 per 1,000 grounding queries, on the same price line as Google SearchFrom $1 per 1,000 requests on Parallel's Search API$7 per 1,000 auto searches on Exa's API
Free to start$10 of credit, no card, which covers 10,000 searches5,000 grounding queries a month5,000 grounding queries a month, counted with Google SearchUp to $80 at sign up and $5 a month on Parallel's own plans$10 in credits on sign up, up to 2,500 Lite searches
Who bills youSpecStream, from a prepaid balance that never expiresGoogle, on your Cloud billGoogle, on your Cloud billGoogle Cloud Marketplace, or Parallel on your own Parallel keyExa, on your own Exa key
How you connectexternalApi with api_spec SIMPLE_SEARCH, https://api.specstream.ai/vertex/search as endpoint and your key as apiKeyStringA grounding tool built into the Gemini requestA grounding tool built into the Gemini requestSubscribe on Google Cloud Marketplace, or bring your own Parallel API keyGet an API key from Exa's site and put it in the request
What answers the searchThe whole live web, read at the moment of the call. 97.9 F-score on all 1,000 SimpleQA Verified questions, 978 correctGoogle's web indexA web index for highly regulated industries, with compliance controlsParallel's search API over billions of web pagesExa's search API
When a search is billedEach search. A call stopped by a 429 is not chargedOnly when a grounding prompt returns at least one source URLOnly when a grounding prompt returns at least one source URLPer request on Parallel's price listPer request. The base price covers the first 10 results

Why Vertex AI users ground Gemini with SpecStream

The other web grounding sources on Vertex AI, and what each costs

How SpecStream scores

The same numbers as the benchmarks page, from the official tasks and scorers.

How to ground Gemini on Vertex AI with SpecStream

1. Create a key under Agents & API in the SpecStream workspace. A new account gets $10 of credit, no card, which covers 10,000 searches. Turn on zero_retention on the key if your searches must leave no trace.

2. Check the key from a terminal with the call Gemini sends. A 200 with a JSON array of snippet and uri means Gemini will get the same.

curl "https://api.specstream.ai/vertex/search?key=$SPECSTREAM_API_KEY" -H "Content-Type: application/json" -d '{"query": "test"}'

3. In your Gemini request, add a retrieval tool with externalApi: api_spec set to SIMPLE_SEARCH, endpoint set to the address below, and your key in apiAuth.apiKeyConfig.apiKeyString.

https://api.specstream.ai/vertex/search

4. Send a question about something that happened today. The answer's groundingMetadata lists the uri of each result Gemini used.

5. Each search shows up in your SpecStream request log with its price.

Frequently asked questions

Something we didn't answer? Talk to a human

How do I ground Gemini on Vertex AI with my own search API?
Add a retrieval tool with externalApi, api_spec SIMPLE_SEARCH, your endpoint and your key as apiKeyString. With https://api.specstream.ai/vertex/search as the endpoint, each search costs $0.001.
How much does Grounding with Google Search cost on Vertex AI?
$14 per 1,000 grounding queries on Gemini 3 and Gemini 4 after 5,000 free a month, and $35 per 1,000 grounding prompts on Gemini 2.0 and 2.5 past the free daily prompts. SpecStream costs $1 per 1,000 searches on every supported model.
What must a search API return for Vertex AI grounding?
A JSON array of objects, each with snippet and uri, and an empty array when nothing matches. Gemini sends POST with {"query": "..."} and the key as key= in the address. SpecStream answers in exactly that form.
Do I need API Gateway or Cloud Run to use grounding with my search API?
No. Google's guide sets up API Gateway for a search you host yourself. SpecStream's endpoint is public and checks the key Gemini adds, so there is nothing to deploy.
Can I use SpecStream and Google Search grounding together?
Yes. A Gemini request takes up to 10 grounding sources, so SpecStream can sit beside Grounding with Google Search, Vertex AI Search or Elasticsearch in the same request.
Which Gemini models support grounding with your search API?
Google's grounding page lists models from Gemini 2.5 Flash and Gemini 2.5 Pro to Gemini 3.1 Pro, Gemini 3.8 Flash and Gemini 4 Carbon. SpecStream answers every one of them at the same $1 per 1,000 searches.

Sources

SpecStream wrote this page. The setup comes from Google's grounding docs, and each provider's figure from that company's own page.

  1. Google Cloud, Grounding with your search APIdocs.cloud.google.com/vertex-ai/generative-ai/docs/grounding/grounding-with-your-search-api, read Nov 12, 2026
  2. Google Cloud, Grounding overviewdocs.cloud.google.com/vertex-ai/generative-ai/docs/grounding/overview, read Nov 12, 2026
  3. Google Cloud, Agent Platform pricingcloud.google.com/vertex-ai/generative-ai/pricing, read Nov 12, 2026
  4. Google Cloud, Grounding with Parallel Web Searchdocs.cloud.google.com/vertex-ai/generative-ai/docs/grounding/grounding-with-parallel, read Nov 12, 2026
  5. Google Cloud, Grounding with Exa web searchdocs.cloud.google.com/vertex-ai/generative-ai/docs/grounding/grounding-with-exa, read Nov 12, 2026
  6. Parallel pricingparallel.ai/pricing, read Nov 12, 2026
  7. Exa pricingexa.ai/docs/admin/pricing, read Nov 12, 2026
  8. SpecStream benchmarksspecstream.ai/benchmarks, read Nov 12, 2026
  9. SpecStream pricingspecstream.ai/pricing, read Nov 12, 2026
  10. SpecStream for agentsspecstream.ai/agents.md, read Nov 12, 2026