---
title: Use Gemini in WorkBuddy via RunAPI — MCP Guide | RunAPI
description: Call Google Gemini from WorkBuddy through the RunAPI MCP server. Gemini 3.5 Flash, 3.x Pro, 2.5 Pro — one key, one MCP config, no Google Cloud project.
url: https://runapi.ai/workbuddy-gemini.md
canonical: https://runapi.ai/workbuddy-gemini
locale: en
site: RunAPI
image: https://runapi.ai/assets/opengraph-bfaaa0f0.png
alternates:
  en: https://runapi.ai/workbuddy-gemini
  zh-CN: https://runapi.ai/zh-CN/workbuddy-gemini
  es: https://runapi.ai/es/workbuddy-gemini
  ja: https://runapi.ai/ja/workbuddy-gemini
  de: https://runapi.ai/de/workbuddy-gemini
  fr: https://runapi.ai/fr/workbuddy-gemini
  pt-BR: https://runapi.ai/pt-BR/workbuddy-gemini
  ko: https://runapi.ai/ko/workbuddy-gemini
  it: https://runapi.ai/it/workbuddy-gemini
  nl: https://runapi.ai/nl/workbuddy-gemini
  pl: https://runapi.ai/pl/workbuddy-gemini
  tr: https://runapi.ai/tr/workbuddy-gemini
  zh-TW: https://runapi.ai/zh-TW/workbuddy-gemini
  zh-HK: https://runapi.ai/zh-HK/workbuddy-gemini
  ar: https://runapi.ai/ar/workbuddy-gemini
  x-default: https://runapi.ai/workbuddy-gemini
model: gemini
---

> HTML version: https://runapi.ai/workbuddy-gemini
> Site index for agents: https://runapi.ai/llms.txt


# Use Gemini in WorkBuddy.

Google Gemini is available through RunAPI — Gemini 3.5 Flash for sub-100ms first-token latency, 3.x Pro for complex reasoning, and 2.5 Pro for production workloads with a 1M token context window. WorkBuddy speaks MCP natively, so the same runapi MCP server and RUNAPI_API_KEY that power GPT also call Gemini. No Google Cloud project, no service account, no Vertex AI setup.

- [Get API Key](https://runapi.ai/login)
- [Read the docs](https://runapi.ai/docs/guides)

one RunAPI key · MCP one-click connect · no Google Cloud project needed

### Prompt

```text
Use the runapi MCP server to send a chat request to Gemini.

Requirements:
- Call the RunAPI chat tool exposed by the runapi MCP server
- Set model to "gemini-3.5-flash"
- Ask: "Explain the difference between gRPC and REST in three sentences."
- Set temperature to 0.7 and max_tokens to 256
- Show me the assistant reply and the token usage counts

```

### MCP Config

```bash
{
  "mcpServers": {
    "runapi": {
      "url": "https://runapi.ai/mcp",
      "transport": "streamable_http",
      "headers": {
        "Authorization": "Bearer $RUNAPI_API_KEY"
      }
    }
  }
}

```

### Response

```json
{
  "model": "gemini-3.5-flash",
  "content": "gRPC uses HTTP/2 and Protocol Buffers for strongly-typed, multiplexed RPC calls with built-in code generation. REST uses JSON payloads and relies on URL paths and HTTP verbs for resource semantics. gRPC is faster for service-to-service calls; REST is simpler to debug and more widely supported by browsers.",
  "finish_reason": "stop",
  "usage": {
    "prompt_tokens": 34,
    "completion_tokens": 71,
    "total_tokens": 105
  }
}

```

## Use Gemini in WorkBuddy in three steps

1. **Register the RunAPI MCP server** - Set RUNAPI_API_KEY in the environment that launches WorkBuddy, then add an MCP server named runapi pointing at https://runapi.ai/mcp over streamable HTTP. No Google Cloud credentials, no service account JSON — the RunAPI key is all Gemini needs. `export RUNAPI_API_KEY=runapi_xxx
# MCP server: runapi → https://runapi.ai/mcp
`
2. **Prompt the workbench agent** - Type a natural-language request into WorkBuddy and name the model — gemini-3.5-flash for speed, gemini-2.5-pro for long-context reasoning. WorkBuddy fills the model and messages arguments of the RunAPI chat tool and sends the call. `model: gemini-3.5-flash`
3. **Read the tool result** - The MCP tool returns the reply synchronously with token usage counts. Switch to GPT or Claude in your next prompt without touching the config — every model behind the runapi server shares the same key and tool shape. `usage.total_tokens: 105`

## Gemini tool parameters on the RunAPI MCP server

| Parameter | Type | Description |
| --- | --- | --- |
| `model` | `string` | Required. gemini-3.5-flash, gemini-2.5-flash, gemini-2.5-pro, gemini-3-flash-preview, or gemini-3.1-pro-preview. |
| `messages` | `array` | Required. Array of message objects with role (system, user, assistant) and content fields. WorkBuddy builds this from your prompt. |
| `temperature` | `number` | Optional. Sampling temperature between 0 and 2. Lower values produce more deterministic output. Default varies by model. |
| `max_tokens` | `integer` | Optional. Maximum number of tokens to generate in the response. |
| `top_p` | `number` | Optional. Nucleus sampling threshold between 0 and 1. Alternative to temperature for controlling output randomness. |
| `tools` | `array` | Optional. Tool definitions for function calling. Gemini returns tool_calls in the assistant message, which WorkBuddy processes like any other tool result. |

## What is Gemini on WorkBuddy?

Google Gemini is available through RunAPI without a Google Cloud project, service account, or Vertex AI setup. WorkBuddy reaches it through the same runapi MCP server and RUNAPI_API_KEY used for GPT and Claude. Gemini 3.5 Flash gives you sub-100ms first-token latency for real-time agent loops, while Gemini 2.5 Pro handles long-context tasks with its 1M token context window and thinking mode for complex reasoning.

## Gemini use cases

- **Multimodal analysis from the workbench** - Send images, PDFs, audio files, or video frames alongside text prompts for Gemini to analyze, describe, or extract structured data — all handled natively through one tool call.
- **Long document analysis with 1M token context** - Feed entire codebases, legal document sets, or research paper collections into Gemini 2.5 Pro's 1M token context window for analysis and summarization without chunking or retrieval pipelines.
- **Real-time agent loops with Flash** - Use Gemini 3.5 Flash for speed-sensitive tool-calling chains where sub-100ms first-token latency matters more than peak reasoning quality. Cost per million tokens is among the lowest in the catalog.

## Gemini + WorkBuddy questions

### Can I use Google Gemini in WorkBuddy without a Google Cloud project?

Yes. RunAPI provides Gemini access through its MCP server. You only need a RUNAPI_API_KEY — no Google Cloud project, no service account JSON, no Vertex AI billing setup.

### What is the difference between Gemini Flash and Pro — when should I use each?

Flash (gemini-3.5-flash) is fastest and cheapest — best for real-time agent loops, classification, and tool-calling chains. Pro (gemini-2.5-pro) handles complex reasoning, long-context analysis, and multi-step tasks where accuracy matters more than speed.

### How is Gemini billed through RunAPI?

Pay-per-token with no monthly subscription or minimum spend. Input and output tokens are metered separately, and Gemini Flash rates are among the lowest in the RunAPI catalog. Check the RunAPI pricing page for current rates.

### Can I switch between Gemini and GPT in the same WorkBuddy session?

Yes. Both go through the same runapi MCP server and API key. Name a different model in your next prompt — gemini-3.5-flash, gpt-5.5, or any other catalog model — and WorkBuddy changes only the model argument of the tool call.

### Does Gemini through RunAPI support function calling and tool use?

Yes. Define tools in the request and Gemini returns tool_calls in the assistant message. WorkBuddy processes these the same way it handles tool calls from GPT or Claude.


- [WorkBuddy setup guide →](https://runapi.ai/workbuddy.md) - Not connected yet? Start with the RunAPI MCP setup guide for WorkBuddy.
- [Gemini models →](https://runapi.ai/models/gemini.md) - See all Gemini variants, pricing tiers, and API documentation.

## Try Gemini in WorkBuddy today.

Get a free RunAPI key, register the MCP server, and start chatting with Gemini 3.5 Flash — no Google Cloud project required.

[Browse models →](https://runapi.ai/models.md)

---

## More from RunAPI

- [Home](https://runapi.ai/.md)
### Product
- [Model Catalog](https://runapi.ai/models.md)
- [Pricing](https://runapi.ai/pricing.md)
- [Providers](https://runapi.ai/models#all-models)
### Developers
- [Documentation](https://runapi.ai/docs/guides)
- [SDKs](https://runapi.ai/sdk.md)
- [CLI](https://runapi.ai/cli.md)
- [MCP Server](https://runapi.ai/mcp.md)
- [x402](https://runapi.ai/x402.md)
### Guides
- [Claude Code vs Cursor](https://runapi.ai/claude-code-vs-cursor.md)
- [Cursor API Setup](https://runapi.ai/cursor-api-setup.md)
- [RunAPI vs OpenRouter](https://runapi.ai/openrouter-alternative.md)
### Company
- [Enterprise](https://runapi.ai/contact.md)
- [Contact](https://runapi.ai/contact.md)
### Legal
- [Terms](https://runapi.ai/terms.md)
- [Privacy](https://runapi.ai/privacy.md)
- [Site index for agents](https://runapi.ai/llms.txt)

Contact: contact@runapi.ai

## Structured data

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/icon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "SoftwareApplication",
    "name": "RunAPI Gemini for WorkBuddy",
    "applicationCategory": "DeveloperApplication",
    "description": "Call Google Gemini from WorkBuddy through the RunAPI MCP server. Gemini 3.5 Flash, 3.x Pro, 2.5 Pro — one key, one MCP config, no Google Cloud project.",
    "url": "https://runapi.ai/workbuddy-gemini"
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "FAQPage",
    "mainEntity": [
      {
        "@type": "Question",
        "name": "Can I use Google Gemini in WorkBuddy without a Google Cloud project?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Yes. RunAPI provides Gemini access through its MCP server. You only need a RUNAPI_API_KEY — no Google Cloud project, no service account JSON, no Vertex AI billing setup."
        }
      },
      {
        "@type": "Question",
        "name": "What is the difference between Gemini Flash and Pro — when should I use each?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Flash (gemini-3.5-flash) is fastest and cheapest — best for real-time agent loops, classification, and tool-calling chains. Pro (gemini-2.5-pro) handles complex reasoning, long-context analysis, and multi-step tasks where accuracy matters more than speed."
        }
      },
      {
        "@type": "Question",
        "name": "How is Gemini billed through RunAPI?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Pay-per-token with no monthly subscription or minimum spend. Input and output tokens are metered separately, and Gemini Flash rates are among the lowest in the RunAPI catalog. Check the RunAPI pricing page for current rates."
        }
      },
      {
        "@type": "Question",
        "name": "Can I switch between Gemini and GPT in the same WorkBuddy session?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Yes. Both go through the same runapi MCP server and API key. Name a different model in your next prompt — gemini-3.5-flash, gpt-5.5, or any other catalog model — and WorkBuddy changes only the model argument of the tool call."
        }
      },
      {
        "@type": "Question",
        "name": "Does Gemini through RunAPI support function calling and tool use?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Yes. Define tools in the request and Gemini returns tool_calls in the assistant message. WorkBuddy processes these the same way it handles tool calls from GPT or Claude."
        }
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "HowTo",
    "name": "How to use Gemini in WorkBuddy via RunAPI",
    "description": "Register RunAPI as an MCP server in WorkBuddy, prompt the workbench agent to call the Gemini chat tool, and read the returned reply.",
    "step": [
      {
        "@type": "HowToStep",
        "position": 1,
        "name": "Register the RunAPI MCP server",
        "text": "Set RUNAPI_API_KEY in the environment that launches WorkBuddy, then add an MCP server named runapi pointing at https://runapi.ai/mcp over streamable HTTP. No Google Cloud credentials, no service account JSON — the RunAPI key is all Gemini needs.",
        "url": "https://runapi.ai/workbuddy-gemini#how-step-1"
      },
      {
        "@type": "HowToStep",
        "position": 2,
        "name": "Prompt the workbench agent",
        "text": "Type a natural-language request into WorkBuddy and name the model — gemini-3.5-flash for speed, gemini-2.5-pro for long-context reasoning. WorkBuddy fills the model and messages arguments of the RunAPI chat tool and sends the call.",
        "url": "https://runapi.ai/workbuddy-gemini#how-step-2"
      },
      {
        "@type": "HowToStep",
        "position": 3,
        "name": "Read the tool result",
        "text": "The MCP tool returns the reply synchronously with token usage counts. Switch to GPT or Claude in your next prompt without touching the config — every model behind the runapi server shares the same key and tool shape.",
        "url": "https://runapi.ai/workbuddy-gemini#how-step-3"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://runapi.ai/"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "RunAPI Gemini for WorkBuddy",
        "item": "https://runapi.ai/workbuddy-gemini"
      }
    ]
  }
]
```
