> ## Documentation Index
> Fetch the complete documentation index at: https://docs.phidata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Gemini - VertexAI

## Example

<CodeGroup>
  ```python agent.py theme={null}
  from phi.agent import Agent
  from phi.model.vertexai import Gemini

  agent = Agent(
      model=Gemini(id="gemini-1.5-flash"),
      show_tool_calls=True,
      markdown=True,
  )

  agent.print_response("What is the stock price of NVDA and TSLA")
  ```
</CodeGroup>

## Gemini Params

<Snippet file="model-vertexai-params.mdx" />

`VertexAI` is a subclass of the [Model](/reference/model/base) class and has access to the same params.
