Perplexity Sonar model responses
Live Perplexity LLM Responses endpoint allows you to retrieve structured responses from a specific Perplexity AI model, based on the input parameters. Needs user prompt and model name. Served by DataForSEO.
Inputs
- User prompt
- Prompt for the AI model required field the question or task you want to send to the AI model; you can specify up to…Required · user_prompt
- Model name
- Name of the AI model required field model_nameconsists of the actual model name and version name; if the basic model… (sonar)Required · model_name
- Max output tokens
- Maximum number of tokens in the AI response optional field minimum value: 1 maximum value: 4096; default value: 2048;…Optional · max_output_tokens
- Temperature
- Randomness of the AI response optional field higher values make output more diverse lower values make output more…Optional · temperature
- Top p
- Diversity of the AI response optional field controls diversity of the response by limiting token selection minimum…Optional · top_p
- Tag
- User-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task…Optional · tag
Pricing
- Price
- Usage based, at the cost the provider reports for the call
- Billing
- Billed at the cost the provider reports for the call, never above $100. Your agent sees the maximum before running.
- Price checked
- 10 October 2026
Call
Your agent reads the schema and the price with inspect_tool before it runs the tool.
- MCP call
- cURL command
- TypeScript
- Tool ID
Alternatives
Playbooks that use it
Connect your agent to 2,400+ tools for free
Sign in with Google or GitHub. No card required.