Run Gemma 3 27B as a private API
The largest Gemma 3 model. Served as text only on BitsRun.
- Made by
- Parameters
- 27.4B
- Licence
- Gemma Terms of Use
- Context
- 131,072 tokensBitsRun serves up to 65,536
- Tool calling
- No (Ollama version)
- Cheapest GPU
- NVIDIA L4, $0.95/h
This model can also read images, but BitsRun serves it as text only for now.
Deploy Gemma 3 27B in one command
Install the bitsrun command line, sign in, then:
bitsrun deploy gemma3:27b --keyBitsRun picks the NVIDIA L4, starts the model on the first request and puts it back to sleep after 2 minutes without requests. The Ollama name needs no Hugging Face token. Prefer clicks? Paste the same name into New endpoint in the dashboard and select Check model.
Then call it like any OpenAI-compatible API, with the URL and key the command prints:
curl https://<endpoint-id>.endpoint.bitsrun.com/v1/chat/completions \
-H "Authorization: Bearer $BITSRUN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gemma3:27b", "messages": [{"role": "user", "content": "Hello"}]}'How much VRAM Gemma 3 27B needs
Memory needed is what the runtime must have free to start: the weights, the working memory for the conversation and the runtime itself. We use the same rules as the model sizer in the dashboard.
| Version | Weights | Memory needed | Cheapest GPU | Context there | Speed (est.) |
|---|---|---|---|---|---|
Ollama gemma3:27b (Q4)gemma3:27b | 17 GB | 23 GB | NVIDIA L4, $0.95/h | 8,960 tokens | about 10 tok/s |
GGUF Q8_0hf:unsloth/gemma-3-27b-it-GGUF:Q8_0 | 29 GB | 36 GB | NVIDIA L40S, $3.20/h | 33,280 tokens | about 18 tok/s |
Original BF16 (safetensors on vLLM)hf:google/gemma-3-27b-it | about 55 GB | 69 GB | 4x NVIDIA L4, $8.52/h | 44,544 tokens | about 8 tok/s |
File sizes read from the Ollama library and Hugging Face on 2026-11-14; "about" means estimated from the parameter count. Context is for one request at a time. Speed is a single-request estimate from GPU memory bandwidth; serving several requests at once raises total throughput. Try other sizes in the VRAM calculator.
Measured on BitsRun
- NVIDIA L40S, llama.cpp, Q4: 37 tok/s; 129 tok/s total with 4 requests at once. Measured 2026-11-01.
What it costs to run Gemma 3 27B
You pay $0.95 an hour for the NVIDIA L4, counted per second, only while the endpoint is awake: answering requests and during the idle time you choose (60 seconds to 1 hour). Starting up is free.
| Busy each day | Per month (30 days) |
|---|---|
| 1 hour | $28.51 |
| 3 hours | $85.54 |
| 8 hours | $228.10 |
| 24 hours (all day) | $684.29 |
Busy all day? Always-on keeps the GPU ready with no cold starts for $1,180 a month. See pricing.
Good to know
- The first request after the endpoint sleeps waits while the model wakes: seconds to about 40 seconds on a GPU that ran recently, about 2 to 4 minutes on a new one. How cold starts work.
- Try it locally first with
ollama run gemma3:27b. When you need it as an API, deploy the same name. - The original Hugging Face repo is gated: accept the licence on Hugging Face and add your token before deploying it. Gated repos.
- Licence: Gemma Terms of Use. Read it on the model card before you ship a product.
Frequently asked questions
- How much GPU memory does Gemma 3 27B need?
- Ollama gemma3:27b (Q4) has 17 GB of weights and needs about 23 GB of GPU memory to start, so it fits an NVIDIA L4 (24 GB).
- How much does it cost to run Gemma 3 27B as an API?
- On BitsRun it runs on an NVIDIA L4 at $0.95 an hour, billed per second only while it is awake. At 3 busy hours a day that is about $85.54 a month. Waking up is never billed.
- Can Gemma 3 27B call tools?
- Not with the Ollama version: its chat template has no tool format. It still serves normal chat.
- Is my data private when I run Gemma 3 27B on BitsRun?
- Yes. Each endpoint is yours alone, and prompts and outputs are never logged or stored.
Run Gemma 3 27B on your own endpoint
Sign up with your email, add $10 of credit and deploy from an Ollama name or a Hugging Face repo. An L4 costs $0.95 an hour, billed per second only while your model is awake. Waking up is never billed, and credit you buy does not expire.
Similar models
- Gemma 3 4BClassification and extraction, Short replies at low cost, Multilingual textNVIDIA L4, $0.95/h
- Gemma 3 12BWriting and rewriting, Multilingual support, SummariesNVIDIA L4, $0.95/h
- Qwen3 8BChatbots and support assistants, Agents that call tools, A cheap default on one L4NVIDIA L4, $0.95/h
- Qwen3 14BBetter answers on one L4, Coding and reasoning, AgentsNVIDIA L4, $0.95/h