Skip to main content
Ollama ExplorerBeta
local

codellama

A large language model that can use text prompts to generate and discuss code.

7.1M pulls199 tagsSource updated Jul 18, 202416K max context

Quick start

ollama run codellama:latest

Runnable variants

Memory is a rough file-size estimate; context length, runtime and GPU offload change it.

12 of 199 matching variants shown.

13bTypelocalInputstextDigest9f438cb9cd58Download7.4 GBParameters13bQuantizationUnknownContext16KEst. memory≈ 9.5 GB
ollama run codellama:13b
13b-codeTypelocalInputstextDigest61b6aa1b3d0fDownload7.4 GBParameters13bQuantizationUnknownContext16KEst. memory≈ 9.5 GB
ollama run codellama:13b-code
13b-code-fp16TypelocalInputstextDigestd2d1857cd78aDownload26 GBParameters13bQuantizationFP16Context16KEst. memory≈ 30.5 GB
ollama run codellama:13b-code-fp16
13b-code-q2_KTypelocalInputstextDigest15030cfe1222Download5.4 GBParameters13bQuantizationQ2_KContext16KEst. memory≈ 7.5 GB
ollama run codellama:13b-code-q2_K
13b-code-q3_K_LTypelocalInputstextDigestba5706a5838bDownload6.9 GBParameters13bQuantizationQ3_K_LContext16KEst. memory≈ 9 GB
ollama run codellama:13b-code-q3_K_L
13b-code-q3_K_MTypelocalInputstextDigest89cf92af026fDownload6.3 GBParameters13bQuantizationQ3_K_MContext16KEst. memory≈ 8.5 GB
ollama run codellama:13b-code-q3_K_M
13b-code-q3_K_STypelocalInputstextDigest19a8f7d27f99Download5.7 GBParameters13bQuantizationQ3_K_SContext16KEst. memory≈ 7.5 GB
ollama run codellama:13b-code-q3_K_S
13b-code-q4_0TypelocalInputstextDigest61b6aa1b3d0fDownload7.4 GBParameters13bQuantizationQ4_0Context16KEst. memory≈ 9.5 GB
ollama run codellama:13b-code-q4_0
13b-code-q4_1TypelocalInputstextDigest57327f6dcb54Download8.2 GBParameters13bQuantizationQ4_1Context16KEst. memory≈ 10.5 GB
ollama run codellama:13b-code-q4_1
13b-code-q4_K_MTypelocalInputstextDigest0aa12f0144e3Download7.9 GBParameters13bQuantizationQ4_K_MContext16KEst. memory≈ 10 GB
ollama run codellama:13b-code-q4_K_M
13b-code-q4_K_STypelocalInputstextDigest87379a37e4aaDownload7.4 GBParameters13bQuantizationQ4_K_SContext16KEst. memory≈ 9.5 GB
ollama run codellama:13b-code-q4_K_S
13b-code-q5_0TypelocalInputstextDigest1a8f4c7a3c5fDownload9.0 GBParameters13bQuantizationQ5_0Context16KEst. memory≈ 11.5 GB
ollama run codellama:13b-code-q5_0

Related models