Skip to navigation

Gemma 3 27B

Gemma 3 27B
Google · Text Generation
POST /v1/chat/completions

Open-source vision-language model with 128K context, 140+ languages, improved math/reasoning, structured outputs, and function calling.

At a glance

FieldValue
Model idgemma-3-27b
Model release date2025-03-10
Input modalitiesText, Image
Output modalitiesText
Context window128K
Weight precision-
Max output tokens16,384
Featuresvision
Native inferenceNo
NewNo
Structured outputNot supported
Supported endpointsPOST /v1/chat/completions, POST /v1/responses, POST /v1/messages, POST /v1beta/models/gemma-3-27b:generateContent
Alternate model idsgemma-3-27b-it, google/gemma-3-27b

Pricing

ChargeSpecRate
Per Messagefixed$0.0040
Web Search (Linkup)per call when invoked$0.013

Example request

curl https://api.empiriolabs.ai/v1/chat/completions \
-H 'Authorization: Bearer $EMPIRIOLABS_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"model": "gemma-3-27b", "messages": [{"role":"user","content":"Hello"}]}'

Parameters

ParameterTypeRequiredDefaultDescription
temperaturenumberno1.0Sampling temperature · Range: 0 – 2
top_pnumberno1.0Nucleus sampling · Range: 0 – 1
max_tokensnumberno4096Maximum output tokens. · Range: 1 – 16384
stopstringno-Stop sequences: the model stops before generating any of them.
web_search_linkupbooleannofalseOptional web search powered by Linkup. When enabled, recent web sources are retrieved using your latest user message as the query and provided to the model as additional context. Adds $0.013 per call when invoked on top of the model’s normal token cost. Disabled by default.
disable_formattingbooleannofalseReturn the answer without the Sources list that web search adds.

Machine-readable schema: GET https://api.empiriolabs.ai/v1/models/gemma-3-27b.