# VertexAI

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/llms/vertexai/VertexAI)

Google Vertex AI large language models.

## Signature

```python
VertexAI()
```

## Extends

- `_VertexAICommon`
- `BaseLLM`

## Properties

- `model_name`
- `tuned_model_name`

## Methods

- [`is_lc_serializable()`](https://reference.langchain.com/python/langchain-community/llms/vertexai/VertexAI/is_lc_serializable)
- [`get_lc_namespace()`](https://reference.langchain.com/python/langchain-community/llms/vertexai/VertexAI/get_lc_namespace)
- [`validate_environment()`](https://reference.langchain.com/python/langchain-community/llms/vertexai/VertexAI/validate_environment)
- [`get_num_tokens()`](https://reference.langchain.com/python/langchain-community/llms/vertexai/VertexAI/get_num_tokens)

## ⚠️ Deprecated

Deprecated since version 0.0.12.

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/llms/vertexai.py#L206)