LLM Responses Gemini: Overview
LLM Responses Gemini API enables generation of structured responses from Gemini, based on your specified input parameters. You can use this API to discover how Gemini responds to queries about your brand, product, competitors, or any other target keywords and topics.
The endpoints of this API include:
• LLM Responses Gemini endpoint retrieves structured responses from a specific Gemini AI model, based on your input parameters.
• LLM Responses Gemini Models endpoint provides a list of available Gemini AI models you can use with LLM Responses Gemini endpoint.
To find answers on common questions about DataForSEO APIs and find guidance on most efficient use, visit our Help Center.
Methods
The cost of using LLM Responses Gemini API depends on the selected method and priority of task execution. Available methods and priorities are described below.
DataForSEO has two main methods to deliver the results: Standard and Live.
If your system requires delivering instant results, the Live method is the best solution for you. Unlike the Standard method, this method doesn’t require making separate POST and GET requests to the corresponding endpoints.
If you don’t need to receive data in real-time, you can use the Standard method of data retrieval. This method requires making separate POST and GET requests, but it’s more affordable. Using this method, you can retrieve the results after our system collects them.
Alternatively, you can specify pingback_url or postback_url when setting a task, and we will notify you on completion of tasks or send them to you respectively.
If you need to set several tasks, you can receive the list of id for all completed tasks using ‘Tasks Ready’ endpoint, and then collect the results of each separate task using ‘Task GET’ endpoint.
You can send up to 2000 API calls per minute. Contact us if you would like to raise the limit. Note that the maximum number of Live requests that can be sent simultaneously is limited to 30 per account for each platform in the LLM Responses.
Execution time for tasks set using the Live method is currently up to 120 seconds. Tasks set using the Standard method may take up to 72 hours to complete.
Cost
The cost can be calculated on the Pricing page. You can check your spending in your account dashboard or by making a separate call to the User Data endpoint
You can test LLM Responses Gemini API for free using DataForSEO Sandbox.
