How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible embeddings server:
llama serve -hf metacortex-ai/metacortex-models:Q4_K_M --embeddings
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible embeddings server:
llama serve -hf metacortex-ai/metacortex-models:Q4_K_M --embeddings
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app
# Start a local OpenAI-compatible embeddings server:
./build/bin/llama serve -hf metacortex-ai/metacortex-models:Q4_K_M --embeddings
Quick Links

metacortex-models

Model files used by metacortex-ai for on-device AI with receipt-based attestation.

This repository hosts the exact files that the agent runs. It publishes an authoritative SHA-256 reference hash for each file for the receipt model verification feature.

The repository holds two model sets:

  • LiteRT-LM (.litertlm): Gemma 4 chat models and three EmbeddingGemma 2 models, served with litert-lm.
  • GGUF (.gguf): Qwen3.5 chat models and EmbeddingGemma 300M, served with llama-server.

LiteRT-LM models

Each file is an unmodified copy of the upstream file at the listed revision. The upstream repositories can replace a file later, so the pinned revision identifies the exact source.

File Type Size Upstream source Upstream revision
gemma-4-E2B-it-gpu.litertlm Chat 2.3 GB litert-community/gemma-4-E2B-it-litert-lm 2e12bfd
gemma-4-E4B-it-gpu.litertlm Chat 3.3 GB litert-community/gemma-4-E4B-it-litert-lm f254b5b
gemma-4-12B-it-gpu.litertlm Chat 6.2 GB litert-community/gemma-4-12B-it-litert-lm 689ac18
gemma-4-26B-A4B-it-gpu.litertlm Chat 16.4 GB litert-community/gemma-4-26B-A4B-it-litert-lm dc5b6f6
gemma-4-31B-it-gpu.litertlm Chat 19.8 GB litert-community/gemma-4-31B-it-litert-lm f8141e5
embeddinggemma-2-text-270m.litertlm Embedding (text) 165 MB litert-community/embeddinggemma-2-text-270m-litert-lm 9be6e8b
embeddinggemma-2-text-vision-440m.litertlm Embedding (text, vision) 388 MB litert-community/embeddinggemma-2-text-vision-440m-litert-lm 538e657
embeddinggemma-2-740m.litertlm Embedding 485 MB litert-community/embeddinggemma-2-740m-litert-lm 66011bd

SHA-256 checksums

d3cfec6ae2e027a994e51366d44dbf522ec7531a4a35fbbfcd3e9cc9b927afc1  gemma-4-E2B-it-gpu.litertlm
ea168f5a601b543e02712f9381f26b06ddc7d4cbe2406410387c82d69b995a60  gemma-4-E4B-it-gpu.litertlm
ee487447dccb5f24aab4f29b03f3088f08b6ad84f01420ca3d899df87e3f774b  gemma-4-12B-it-gpu.litertlm
9a321665dcac4ce322ffd974c2f0e2ddbc51c90a346fcae83c4d3470e698cd1d  gemma-4-26B-A4B-it-gpu.litertlm
a01a9bc1a569a39a5b872aaf959521af2fefdc234164db9209d24c4d844eed96  gemma-4-31B-it-gpu.litertlm
2d079ee2f6f066b1f368e8d7c819f55214eaef1d0513b312321901f30ab286fb  embeddinggemma-2-text-270m.litertlm
92dcbea108899e5d6e30d919b0744f90d9967e80c67a4ab5503ac16d54f62eb0  embeddinggemma-2-text-vision-440m.litertlm
e7a8a2204b91e0f96e92960e84a09a89212e1633dcb7575a9bf3378b4df77f4c  embeddinggemma-2-740m.litertlm

Usage with litert-lm

# Register the chat model in the local litert-lm registry
uvx --from litert-lm==0.18.0 litert-lm import gemma-4-E4B-it-gpu.litertlm gemma-4-E4B-it-gpu

# Start the OpenAI-compatible server
uvx --from litert-lm==0.18.0 litert-lm serve --host 127.0.0.1 --port 9379

GGUF models

File Parameters Quantization Size Upstream Source
Qwen3.5-2B-Q4_K_M.gguf 2B Q4_K_M 1.2 GB unsloth/Qwen3.5-2B-GGUF
Qwen3.5-2B-Q8_0.gguf 2B Q8_0 2.0 GB unsloth/Qwen3.5-2B-GGUF
Qwen3.5-4B-Q4_K_M.gguf 4B Q4_K_M 2.6 GB unsloth/Qwen3.5-4B-GGUF
Qwen3.5-4B-Q8_0.gguf 4B Q8_0 4.2 GB unsloth/Qwen3.5-4B-GGUF
Qwen3.5-9B-Q4_K_M.gguf 9B Q4_K_M 5.3 GB unsloth/Qwen3.5-9B-GGUF
Qwen3.5-9B-Q8_0.gguf 9B Q8_0 8.9 GB unsloth/Qwen3.5-9B-GGUF
Qwen3.5-27B-Q4_K_M.gguf 27B Q4_K_M 16 GB unsloth/Qwen3.5-27B-GGUF
Qwen3.5-27B-Q8_0.gguf 27B Q8_0 27 GB unsloth/Qwen3.5-27B-GGUF
embeddinggemma-300m-qat-Q8_0.gguf 300M Q8_0 313 MB ggml-org/embeddinggemma-300m-qat-q8_0-GGUF

SHA-256 checksums

aaf42c8b7c3cab2bf3d69c355048d4a0ee9973d48f16c731c0520ee914699223  Qwen3.5-2B-Q4_K_M.gguf
1b04acba824817554f4ce23639bc8495ff70453b8fcb047900c731521021f2c1  Qwen3.5-2B-Q8_0.gguf
00fe7986ff5f6b463e62455821146049db6f9313603938a70800d1fb69ef11a4  Qwen3.5-4B-Q4_K_M.gguf
10cc391b403021dd11c614679d2fd92f611c3681d29e29651b717316965d61e1  Qwen3.5-4B-Q8_0.gguf
03b74727a860a56338e042c4420bb3f04b2fec5734175f4cb9fa853daf52b7e8  Qwen3.5-9B-Q4_K_M.gguf
809626574d0cb43d4becfa56169980da2bb448f2299270f7be443cb89d0a6ae4  Qwen3.5-9B-Q8_0.gguf
84b5f7f112156d63836a01a69dc3f11a6ba63b10a23b8ca7a7efaf52d5a2d806  Qwen3.5-27B-Q4_K_M.gguf
6b0a101b0a86697fe11eabcc1a7db72699a9f3d4b18b6a1ac75ea3fb2c26c450  Qwen3.5-27B-Q8_0.gguf
6fa0c02a9c302be6f977521d399b4de3a46310a4f2621ee0063747881b673f67  embeddinggemma-300m-qat-Q8_0.gguf

Usage with llama-server

# Chat model
llama-server --model Qwen3.5-9B-Q4_K_M.gguf --jinja --reasoning-format deepseek -ngl 99

# Embedding model
llama-server --model embeddinggemma-300m-qat-Q8_0.gguf --embedding --pooling mean -c 2048

Purpose

A user computes the SHA-256 of the model file on the device and compares it with the hash published here. If the hashes match, the model file on disk is genuine and unmodified. For GGUF models, each metacortex-ai receipt carries this hash in the gguf_sha256 field.

This does not prove that this specific model generated the response -- only that an unmodified copy of the model exists on the device.

License

Each file keeps the license of its upstream repository:

  • LiteRT-LM files (Gemma 4, EmbeddingGemma 2) and Qwen3.5 GGUF files: Apache-2.0.
  • embeddinggemma-300m-qat-Q8_0.gguf: Gemma Terms of Use.
Downloads last month
1,181
GGUF
Model size
0.3B params
Architecture
gemma-embedding
Hardware compatibility
Log In to add your hardware

4-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support