gorilla openfunctions v2 needs about 9.2 GB of memory at Q4_K_M (a 4.7 GB file) with an 8K context window, so it fits on a 12 GB GPU. This repository has 15 quants, from 3.2 GB (Q2_K) to 7.7 GB (Q8_0).
Gorilla OpenFunctions v2 – 6.91B parameter LLM with function‑calling support
Gorilla OpenFunctions v2 is a 6.91B parameter model built on the deepseek coder architecture. It extends chat completion to generate executable API calls in multiple languages. The model is released under the Apache‑2.0 license.
Good at
- Function calling across Python, Java, JavaScript, and REST
- Parallel and multiple function execution
- Relevance detection for chat vs function requests
Limits
- No vision support
- Context length limited to 4096 tokens
- Requires at least 7.7 GB VRAM for Q2_K at 8k context
Best for
- API‑driven chatbot development
- Automated workflow orchestration
- Testing function‑calling APIs
Who it’s for. Developers building chat interfaces that need to invoke external APIs directly from natural language. The model is suitable for projects that require precise function signatures and multi‑language support.
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| Q2_K | 3.2 GB | 5.7 GB | Fits | Get file → | |
| IQ3_XS | 3.5 GB | 6.0 GB | Fits | Get file → | |
| IQ3_S | 3.6 GB | 6.1 GB | Fits | Get file → | |
| Q3_K_S | 3.6 GB | 6.1 GB | Fits | Get file → | |
| IQ3_M | 3.8 GB | 6.3 GB | Fits | Get file → | |
| Q3_K_M | 4.0 GB | 6.5 GB | Fits | Get file → | |
| Q3_K_L | 4.2 GB | 6.8 GB | Fits | Get file → | |
| IQ4_XS | 4.3 GB | 6.8 GB | Fits | Get file → | |
| Q4_0 | 4.5 GB | 7.0 GB | Fits | Get file → | |
| Q4_K_S | 4.5 GB | 7.0 GB | Fits | Get file → | |
| Q4_K_M | 4.7 GB | 7.2 GB | Tight | Get file → | |
| Q5_K_S | 5.3 GB | 7.8 GB | Tight | Get file → | |
| Q5_K_M | 5.4 GB | 7.9 GB | Tight | Get file → | |
| Q6_K | 6.2 GB | 8.7 GB | Too big | Get file → | |
| Q8_0 | 7.7 GB | 10.3 GB | Too big | Get file → |
For 8 GB VRAM, use Q2_K (3.21 GB, 7.7 GB memory) or IQ3_XS (3.49 GB, 8 GB memory). If 12 GB VRAM is available, Q8_0 (7.74 GB, 12.3 GB memory) offers the highest quality. Memory estimates are approximate.
What GPU do you need for gorilla openfunctions v2?
These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.
- 4 GB VRAM: no quant fits at an 8K context.
- 6 GB VRAM: no quant fits at an 8K context.
- 8 GB VRAM: the best quant that fits is IQ3_XS (3.5 GB file, about 8.0 GB in use).
- 12 GB VRAM: the best quant that fits is Q6_K (6.2 GB file, about 10.7 GB in use).
- 16 GB VRAM: the best quant that fits is Q8_0 (7.7 GB file, about 12.3 GB in use).
Which gorilla openfunctions v2 quant should you choose?
Q4_K_M is the usual starting point for gorilla openfunctions v2: it balances file size and quality well. Here it is a 4.7 GB file.
The Q8_0 file is 7.7 GB, about 1.6 times the size of Q4_K_M. It keeps the weights closer to the original, which only matters if you have the memory to spare.
If memory is tight, the smallest file is Q2_K at 3.2 GB, with the quality trade-offs that come with fewer bits. Use it only when memory is very tight. Expect a clear drop in quality, which is usually worse on small models and easier to live with on large ones.
New to quant names? Read GGUF quantization explained.
Specifications
Architecture from the GGUF header
Source
Frequently asked questions about gorilla openfunctions v2
How much VRAM does gorilla openfunctions v2 need?
About 9.2 GB at Q4_K_M with an 8K context window. That is the 4.7 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.
Can I run gorilla openfunctions v2 on an 8 GB GPU?
Yes, with IQ3_XS: the 3.5 GB file needs about 8.0 GB at 8K context. Larger quants in this repository do not fit in 8 GB.
What is the file size of gorilla openfunctions v2 GGUF?
It depends on the quant: Q2_K is 3.2 GB, IQ3_XS is 3.5 GB, IQ3_S is 3.6 GB, Q3_K_S is 3.6 GB, IQ3_M is 3.8 GB, Q3_K_M is 4.0 GB and 9 more.
What context length does gorilla openfunctions v2 support?
The GGUF header lists a trained context length of 4,096 tokens (4K). The KV cache grows with the context you use: about 4.0 GB at 8K and 2.0 GB at 4K.
Where can I download gorilla openfunctions v2 GGUF?
The files are on Hugging Face in the mradermacher/gorilla-openfunctions-v2-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.
What license does gorilla openfunctions v2 use?
Hugging Face lists the license as apache-2.0. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.
Can I run Gorilla OpenFunctions v2 on 8 GB VRAM?
Yes, the Q2_K quant requires 7.7 GB VRAM at 8k context, which fits within an 8 GB GPU. Other quants up to IQ3_XS also fit.
Does the model support image inputs?
No, the model does not have vision capabilities and only processes text.
What license applies to this model?
The model is released under the Apache‑2.0 license, allowing free use and modification.