Skip to main content
Model ID

API Usage

You can interact with the Gemma 4 26B A4B model through our OpenAI-compatible APIs. Below are examples showing how to use the model.

API Examples

Generate a response using the chat completions endpoint.

API Examples

Generate a model response using the chat endpoint of Gemma 4 31B.

Shell

example for function call

Python