Skip to main content
Core.Today
|
BraveFastHigh

Brave LLM Context

Web search for AI agents from Brave's independent index - returns pre-extracted, relevance-ranked snippets per source, sized to a token budget, ready to drop into an LLM prompt. 12 credits per request.

12 credits
per request
Snippets pre-extracted per source - no scraping step
Token budget controls (total and per URL)
Brave's independent web index
Freshness filters and Goggles re-ranking

Run it right now

Test this model instantly in the Console Playground โ€” no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Quick Start

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "brave/llm-context",
  "input": {
    "q": "latest AI video generation models",
    "country": "US",
    "search_lang": "en",
    "maximum_number_of_tokens": 4096
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
qstringYes-The search query (max 600 characters, 75 words).
countrystringNoUSCountry the results come from (ALL for worldwide).
search_langstringNoenSearch language, e.g. ko, en, ja, en-gb, zh-hans.
countintegerNo-Search results considered for context selection (1-50, default 20).
maximum_number_of_urlsintegerNo-Max distinct URLs in the context (1-50, default 20).
maximum_number_of_tokensintegerNo-Approximate max tokens in the context (1024-32768, default 8192).
maximum_number_of_snippetsintegerNo-Max text snippets in the context (1-256, default 50).
maximum_number_of_tokens_per_urlintegerNo-Max tokens per URL (512-8192, default 4096).
maximum_number_of_snippets_per_urlintegerNo-Max snippets per URL (1-100, default 50).
context_threshold_modestringNo-Relevance threshold for including content - strict keeps less, lenient keeps more.
disabledstrictlenientbalanced
freshnessstringNo-Page age filter - pd (24h), pw (7 days), pm (31 days), py (365 days) or YYYY-MM-DDtoYYYY-MM-DD.
safesearchstringNo-Adult content filtering.
offmoderatestrict
spellcheckbooleanNotrueSpell-check the query and search with the correction.
gogglesarrayNo-Up to 3 Goggles (URL or inline definition) to re-rank results.
enable_source_metadatabooleanNofalseAdd site name, favicon, thumbnail and description to sources.

Common Parameters

Common parameters used when calling POST /v1/predictions.

ParameterTypeRequiredDefaultDescription
modelstringYes-Model identifier
inputobjectYes-Object containing the model-specific parameters from the table above
output_folderstringNo-Folder path for output files (max 256 chars, '..' not allowed)
webhook_urlstringNo-Webhook URL to call on completion
is_publicbooleanNofalseIf true, output files are also available via permanent public URLs

Examples

Basic request

A typical request with the most common options.

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "brave/llm-context",
  "input": {
    "q": "latest AI video generation models",
    "country": "US",
    "search_lang": "en",
    "maximum_number_of_tokens": 4096
  }
}'

Tips & Best Practices

1The result is the provider's JSON as-is (grounding, sources)
2Links in the result point to the original pages - nothing is copied to your storage
3Pass grounding.generic[].snippets straight into your prompt; tune maximum_number_of_tokens to your context window

Use Cases

RAG context for chatbots and agents
Citation-backed answers
Research agents with a fixed token budget