All tools
get-llm-responsestarterLLM Mentions & AI Visibility

Get Llm Response Tool

Query an AI model (ChatGPT, Claude, Gemini, Perplexity) via DataForSEO and get its structured response. Useful for analyzing how AI models respond to SEO-related queries.

Workflow guide: Reference & Utilities

Parameters

NameTypeRequiredDescription
llm_typestringrequiredType of LLM to query. Must be one of: 'claude', 'gemini', 'chat_gpt', 'perplexity'.
user_promptstringrequiredThe question or task to send to the AI model. Max 500 characters.
model_namestringrequiredName and version of the AI model (e.g. "gpt-4o", "claude-3-5-sonnet"). Use the LLM models reference endpoint to discover available models.
temperaturenumberoptionalRandomness of the AI response (0-2). Higher values produce more diverse output.
top_pnumberoptionalDiversity of the AI response (0-1). Controls token selection diversity.
web_searchbooleanoptionalEnable web search for current information. When enabled, the AI model can access and cite current web information.
use_reasoningbooleanoptionalInclude the model's chain-of-thought reasoning in the response. For Claude and Gemini, set to true. For ChatGPT, reasoning is applied automatically.

Plan access

Available on the starter tier and above. Live tools draw from your team's monthly credit budget at parity with upstream API cost (1 credit ≈ $0.001).

See plans