Meta AI's Llama 2 13B Hf is a chat model capable of function calling, JSON mode, reasoning, streaming, and text generation, with a context window of 4,096 tokens. It is genuinely best at dialogue use cases, having been fine-tuned for such applications.
Input
Output
Context
4K
Max Output
2K
Parameters
13B
Input Modalities
Output Modalities
Loading capabilities…
Estimates based on INT8 quantization at up to 32K context. A count above one assumes tensor parallelism across the cards. Actual requirements vary by framework and configuration.
The creator's other models in the catalog, with their context, size and license where published.
Put this model beside its alternatives on the same evidence, or go back to the full catalog.
Answered from the entry's own fields: context, license, modalities, evidence, serving and the memory to self-host.
Llama 2 13B Hf advertises a context window of 4,096 tokens, with a maximum output of 2,048 tokens in a single response. The figure is the creator's published maximum; a given host may serve less, and the gateway routes on what each host actually serves.
Yes. Llama 2 13B Hf is an open-weight model released under the Llama2 license, so the weights can be downloaded and self-hosted within that license's terms.
Llama 2 13B Hf accepts Text and produces Text. The capabilities card on this page lists which API features each deployment honours, such as function calling and structured output, with the source each was checked against.
No published benchmark result for Llama 2 13B Hf is in the catalog yet, so the model is shown as unmeasured. It is not ranked or estimated; the router treats it as unknown for every task until a suite measures it.
Not on the managed pool today; Llama 2 13B Hf is listed for reference and comparison. Connect your own provider key or endpoint that serves it and the gateway runs it on your account, with routing decisions recorded the same way.
About 13.1 GB at INT8 for the weights and a default context, from the catalog's 13B parameter count; FP16 needs roughly twice that, and long contexts or many concurrent requests add KV cache on top. The GPU section on this page lists cards that hold it, and the capacity planner sizes it for your context length and traffic.
Fields collected from public registries, host APIs and benchmark publishers, each tagged with its source.
Last updated: Aug 28, 2026
One gateway in front of every model, with your policies applied and every decision on record. Start with $5 of credit and 5,000 routing decisions a month, no card required.