CodeLlama 7B Instruct Hf is an open-source chat model created by Meta AI. It is an instruction-tuned language model that takes in and outputs text, designed for general code synthesis and understanding tasks.
Input
Output
Context
100K
Max Output
-
Parameters
6.7B
Input Modalities
Output Modalities
Some values come from web research and may be incorrect. Report incorrect data
None the catalog can show from stated facts or measured scores.
Download 13.5 GB · Runs on vLLM v0.32.0 · 3 GGUF builds
| Precision | Weights | One request at 33K tokens | Smallest GPU that fits |
|---|---|---|---|
| FP16 / BF16 | 12.6 GB | 16.6 GB | 1x NVIDIA GeForce RTX 3090 (24 GB) |
| INT8 | 6.28 GB | 10.1 GB | 1x NVIDIA T4 (16 GB) |
| INT4 | 3.14 GB | 6.76 GB | 1x NVIDIA T4 (16 GB) |
Computed by Inferbase from the 6,738,546,688 parameters in the creator's Hugging Face repository; one request adds its KV cache, activations and framework overhead, with the layer layout estimated from the parameter count.
Public resources
Specification sources
As of Nov 10, 2026.
Answered from the facts on this page, with their sources.
CodeLlama 7B Instruct Hf has a context window of 100,000 tokens (source: Web research). A provider may serve less; Inferbase routes on what each provider serves.
Yes. CodeLlama 7B Instruct Hf is an open-weight model under the Llama2 license. You can download and self-host it within the license terms.
CodeLlama 7B Instruct Hf has 6,738,546,688 parameters (6.7B), as stated in the creator's Hugging Face repository.
CodeLlama 7B Instruct Hf accepts Text and produces Text. The Capabilities card lists the API features it supports, such as function calling and structured output.
No benchmark source has published a result for CodeLlama 7B Instruct Hf yet, so it is shown as unmeasured, not estimated.
Not on Inferbase Managed today. Add your own provider key or endpoint that serves CodeLlama 7B Instruct Hf, and Inferbase runs it on your account with the same routing and logs.
The weights take 12.6 GB at FP16 / BF16, 6.3 GB at INT8, 3.1 GB at INT4, computed from the 6,738,546,688 parameters its creator publishes. Each request adds its KV cache and the framework's overhead. The hardware section shows one request and the smallest GPU that fits; the GPU planner sizes it for your context length and traffic.
Start on the free plan with 5,000 requests a month, no card required.