Compatible Z.ai Models
You can import large language models from Hugging Face and OCI Object Storage buckets into OCI Generative AI, create endpoints for those models, and use them in the Generative AI service.
Z.ai GLM
The Z.ai GLM-5.2-FP8 model is optimized for long-horizon coding, agentic workflows, and efficient large-context processing. This text-to-text model supports a 1M-token context and is designed for long-context reasoning and coding tasks.
| Hugging Face Model ID | Model Capability | Recommended Dedicated AI Cluster Unit Shapes |
|---|---|---|
| zai-org/GLM-5.2-FP8 | TEXT_TO_TEXT |
|
Important
- For imported models, you can use the native context length specified by the model provider. However, the effective maximum context length is limited by the underlying hardware setup that you select for the hosting dedicated AI clusters in OCI Generative AI. To take full advantage of a model's native context length, you might need to provision more hardware resources.
- Use the fine-tuned models only if they match the compatible base model's transformer version and have a parameter count within ±10% of the original.
- For available hardware and steps on how to deploy the imported models, see Managing Imported Models.