Skip to content

Get a response from Gemini

This API returns a response from Gemini. DataForSEO and Gemini API provide this through Longwave. Published rates start at $0.0002 per call in standard queue mode (DataForSEO).

Add to Longwave

Get a response from Gemini with your agent

Paste this into Claude Code or a terminal. Then run /mcp to sign in.

providers
2
lowest price
$0.20/1k calls

Providers compared

Provider Price Access
DataForSEO Get a response from Gemini (queued) dataforseo.openapi.post.v3.ai_optimization.gemini.llm_responses.task_post
2 more variants
  • Get a response from Gemini (live) $0.0006 per call dataforseo.openapi.post.v3.ai_optimization.gemini.llm_responses.live
  • Get a response from Gemini (queued result) Result retrieval or metadata endpoint; no separate published per-call fee. Paid tasks are billed when submitted. dataforseo.openapi.get.v3.ai_optimization.gemini.llm_responses.task_get.id
$0.0002 per call Standard queue; per task: $0.0002 + $0.01 advance payment. Rate is per submitted task or billing block, not per batched HTTP envelope. The numeric price is the base fee; add the second published component for the additional billing quantity or model usage specified above. Your key
Gemini API google-ai.content.generate The selected model and usage determine the charge; no single per-call price applies to this function. Your key

Prices are each vendor's published rate. Functions marked “No key needed” are billed at that rate in Longwave credits, with no markup. Functions marked “Your key” are billed to your own vendor account.

Run it

In Claude Code, Codex, Cursor or ChatGPT, add the Longwave MCP server once, then ask for the result. In Longwave, ask in any thread.

Questions people ask

Which providers can get a response from Gemini?

Through Longwave: DataForSEO and Gemini API. The table above compares their prices and access. To use one in particular, name it to your agent or give its function id.

Do I need an API key?

Providers marked "Your key" need your own key, added once in Longwave settings. Providers marked "Connect account" need you to sign in to that account.

Get a response from Gemini in Longwave

Ask any Longwave thread for the result, or add Longwave to Claude Code, Codex, Cursor or ChatGPT.

Add to Longwave