Choosing a mode for cost vs speed

When to use the standard queue, the priority queue or live, with worked costs for common workloads.
Open as Markdown
On this page

The three modes return the same data. Pick by who's waiting and how fresh the answer has to be.

You needUseGoogle SERP price per 10 resultsDefault cache window
Scheduled work: daily rank tracking, weekly audits, large research runsStandard queue (task_post, priority: 1)$0.000546 hours
Results within the hour from fresher data, without a person waiting on the responsePriority queue (task_post, priority: 2)$0.001081 hour
A person or an agent waiting on this responseLive (.../live/...)$0.0018none

Worked costs

Prices from Pricing and billing, assuming every task returns results:

WorkloadStandard queuePriority queueLive
500 keywords, top 10, daily for 30 days (15,000 tasks)$8.10$16.20$27.00
500 keywords, top 100, daily for 30 days (10 units each)$81.00$162.00$270.00
20 Maps searches × 49 grid points, weekly for 4 weeks (3,920 tasks)$2.1168$4.2336$7.056
1,000 chat_gpt prompts, base fee only, before tokens$0.18$0.54$0.54

Rules of thumb

  • Default to the standard queue for anything on a schedule. Results normally come back well before the next run, and repeat queries within 6 hours can be answered from the shared cache.
  • Use priority when the next step in your pipeline is waiting, but no person is.
  • Use live for interactive tools and for agents answering a user. Keep live arrays short; every task runs before the response is sent.
  • Need fresh data in the standard queue? Send max_age: 0 on those tasks. You keep the standard price and skip the cache.
  • llm_responses in the queue runs through model providers' batch processing (Beta). It's the cheapest way to track many prompts, but answers can take hours to arrive; a batch that isn't back after 24 hours is re-run normally.
  • Endpoints without queues (Pages, products, photos, ads) are live only. Control their cost with max_level and max_cost instead.

Cost controls that apply in every mode

  • max_cost caps one task, including any upgrade.
  • auto_upgrade: false keeps queued SERP tasks at the queue price: if the included sources fail, the task fails at $0 instead of falling back to the live source.
  • depth sets how many organic results you pay for, in pages of 10.