LLMTR / llmtr/gemma-4

Gemma 4 - access through LLMTR

A first-party model hosted in Turkey, so prompts stay on LLMTR infrastructure rather than being routed to a third party. It supports a 128K context, image input and function calling, which makes it a local default for internal assistants, document analysis and tool-using agent flows. Send images as base64 `data:image/...` URLs; remote https URLs are not supported. Repeated prompts return from the prefix cache at a discount and far faster. The model runs on our own hardware and that capacity is shared. On an idle box a 256-token answer comes back in about 8 seconds (roughly 30 tokens per second); at busy times the same work can take several times longer, and the production average is around 7 tokens per second. Long prompts add a cost of their own: a 20,000-token prompt that misses the prefix cache spends about 45 seconds before generation even starts, while a repeat of the same prompt returns from the cache both cheaper and far faster. Use `stream: true`, cap the answer with `max_tokens` when you do not need the full length, and raise your client read timeout to at least 300 seconds; the 60-second default in most HTTP clients is not enough for this model.

Technical specifications

Canonical IDllmtr/gemma-4
ProviderLLMTR
Context window131,072 tokens
OperationsCHAT_COMPLETIONS
Modalitiestext, image

Pricing

An 8% platform margin applies to credit top-ups; model usage prices are not separately marked up.

OperationMetricUnitPrice
CHAT_COMPLETIONSINPUT_TEXTPER_1M_TOKENS$2.00
CHAT_COMPLETIONSCACHE_READPER_1M_TOKENS$0.500000
CHAT_COMPLETIONSOUTPUT_TEXTPER_1M_TOKENS$5.00

Example usage

With existing OpenAI SDK flows, change only the base URL and model identifier.

curl https://llmtr.com/v1/chat/completions   -H "Authorization: Bearer llmtr-your_key"   -H "Content-Type: application/json"   -d '{"model":"llmtr/gemma-4","messages":[{"role":"user","content":"Hello"}]}'

Guides about this model

Related models