Create chat completion with Gemma 3.4B IT
LLMs
Gemma 3 4B API
Create a chat completion for given messages with streaming support
POST
Create chat completion with Gemma 3.4B IT
Authorizations
JWT token for authentication
Body
application/json
Array of messages in the conversation
Model identifier
Available options:
google/gemma-3-4b-it Whether to stream the response
Sampling temperature
Required range:
0 <= x <= 2Maximum number of tokens to generate
Required range:
1 <= x <= 4096Nucleus sampling parameter
Required range:
0 <= x <= 1Sequences where the API will stop generating