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

# Google

> TypeScript API reference for the google llm provider.

<Card title="Usage guide" icon="book" href="/plugins/llm/google" horizontal>
  Setup, environment variables, and Python/JavaScript/Go usage examples.
</Card>

## GoogleLLM

Create an LLM instance configured for Google Gemini.

```ts theme={null}
import { GoogleLLM } from '@zeroruntime/js-sdk/inference';  // same fields, through the gateway, no vendor key
import { GoogleLLM } from '@zeroruntime/js-sdk/plugins';  // direct to the vendor, with your key
```

### Options

<ParamField path="model" type="string" default="gemini-2.5-flash-lite" />

<ParamField path="temperature" type="number" default="0.7" />

<ParamField path="tool_choice" type="'auto' | 'required' | 'none'" default="auto" />

<ParamField path="max_output_tokens" type="number | null" default="8192" />

<ParamField path="top_p" type="number | null" default="null" />

<ParamField path="top_k" type="number | null" default="null" />

<ParamField path="presence_penalty" type="number | null" default="null" />

<ParamField path="frequency_penalty" type="number | null" default="null" />

<ParamField path="vertexai" type="boolean" default="false" />

<ParamField path="vertexai_config" type="Record<string, any> | null" default="null" />

<ParamField path="thinking_budget" type="number | null" default="0" />

<ParamField path="seed" type="number | null" default="null" />

<ParamField path="safety_settings" type="any[] | null" default="null" />

<ParamField path="http_options" type="any | null" default="null" />

<ParamField path="thinking_level" type="string | null" default="null" />

<ParamField path="include_thoughts" type="boolean | null" default="null" />
