CodeLlama 13B Instruct Hf is an open-source chat model developed by Meta AI. It is an instruct-tuned variant of the Code Llama family, designed for general code synthesis and understanding tasks. The model takes in and outputs text, and is intended for code completion, infilling, and instruction-based interactions.
Input
Output
Context
100K
Max Output
500
Parameters
13B
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 26.0 GB · Runs on vLLM v0.32.0
| Precision | Weights | One request at 33K tokens | Smallest GPU that fits |
|---|---|---|---|
| FP16 / BF16 | 24.2 GB | 29.8 GB | 1x NVIDIA A100 SXM 40GB (40 GB) |
| INT8 | 12.1 GB | 17.1 GB | 1x NVIDIA GeForce RTX 3090 (24 GB) |
| INT4 | 6.06 GB | 10.7 GB | 1x NVIDIA T4 (16 GB) |
Computed by Inferbase from the 13,016,028,160 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 13B Instruct Hf has a context window of 100,000 tokens and a maximum output of 500 tokens (source: Web research). A provider may serve less; Inferbase routes on what each provider serves.
Yes. CodeLlama 13B Instruct Hf is an open-weight model under the Llama2 license. You can download and self-host it within the license terms.
CodeLlama 13B Instruct Hf has 13,016,028,160 parameters (13B), as stated in the creator's Hugging Face repository.
CodeLlama 13B 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 13B 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 13B Instruct Hf, and Inferbase runs it on your account with the same routing and logs.
The weights take 24.2 GB at FP16 / BF16, 12.1 GB at INT8, 6.1 GB at INT4, computed from the 13,016,028,160 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.