GLM models on Gemini Enterprise Agent Platform offer fully managed and serverless
models as APIs. To use a GLM model on Agent Platform, send
a request directly to the Agent Platform API endpoint. Because
GLM models use a managed API, there's no need to provision or
manage infrastructure.

You can stream your responses to reduce the end-user latency perception. A
streamed response uses *server-sent events* (SSE) to incrementally stream the
response.

### GLM 5.2


GLM 5.2 is a model from GLM built for long-horizon agentic and coding tasks, with a 1M-token context window.
[Go to the GLM 5.2 model card](https://console.cloud.google.com/agent-platform/publishers/zai-org/model-garden/glm-5.2-maas)

## Use GLM models


For managed models, you can use curl commands to send requests to the
Gemini Enterprise Agent Platform endpoint using the following model names:

- For GLM 5.2, use `glm-5.2-maas`


To learn how to make streaming and non-streaming calls to GLM models, see
[Call open model APIs](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/maas/call-open-model-apis.md.txt).

To use a self-deployed Gemini Enterprise Agent Platform model:

1. Navigate to the [Model Garden console](https://console.cloud.google.com/agent-platform/model-garden).
2. Find the relevant Gemini Enterprise Agent Platform model.
3. Click **Enable** and complete the provided form to get the necessary commercial use licenses.


For more information about deploying and using partner models, see
[Deploy a partner model and make prediction requests](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-garden/use-models.md.txt#deploy_a_partner_model_and_make_prediction_requests).

## GLM model region availability


GLM models are available in the following regions:

| Model | Regions |
|---|---|
| GLM 5.2 | - `global` |

## What's next


Learn how to [Call open model APIs](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/maas/call-open-model-apis.md.txt).