Web search
Add plugins: [{ "id": "web" }] or append :online to the model id. We search the web for the last user message, give the model the results and return them as url_citation annotations. Each search is billed at the price on the Models page.
curl https://api.ultragpt.pro/v1/chat/completions \
-H "Authorization: Bearer $ULTRAGPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-4.7:online",
"messages": [{ "role": "user", "content": "What happened in AI this week?" }]
}'