badtheorylabs / BTL-3-Compact

huggingface.co
Total runs: 97
24-hour runs: 7
7-day runs: 0
30-day runs: -11
Model's Last Updated: July 24 2026
text-generation

Introduction of BTL-3-Compact

Model Details of BTL-3-Compact

BTL-3 Compact

A complete 27B agentic coding model in one 8.39 GB native GGUF

92.2% overall behavioral retention · 43.16 tok/s measured on RTX PRO 6000

Full BTL-3 · Runtime source · Bad Theory Labs · Discord

Overview

BTL-3 Compact is the portable native edition of BTL-3. It packages the complete text model—including the compressed decoder, vocabulary matrices, output correction, and behavior repair—into a single 8,392,369,600-byte GGUF .

The runtime consumes the packed representation directly. It does not download, load, or reconstruct the original BF16 checkpoint.

Highlights
  • Complete Qwen3.6-27B-derived text model in 8.39 GB decimal / 7.82 GiB .
  • Full 64-layer mixed AVQ2/UniSVQ representation with targeted precision islands and compact behavioral corrections.
  • 92.2% overall conditional retention on a fresh 100-turn tool-contract gate authored after compression choices were frozen.
  • 83/100 absolute compact accuracy against a full-precision teacher that scored 90/100 on the same sealed gate.
  • Exact native CUDA and Metal execution with no persistent dense reconstruction.
  • OpenAI-compatible local server plus LM Studio and Ollama CLI integrations.
  • Verified macOS arm64 package and a clearly separated DGX Spark CUDA preview.
Model specification
Item Specification
Model lineage Qwen3.6-27B → BTL-3 RL-0013
Scope Text-only coding, reasoning, and tool use
Layers 64
Model file model/BTL-3-Compact-AVQ2.gguf
Deployed model bytes 8,392,369,600
Deployed model size 8.39 GB / 7.82 GiB
Architectural context 262,144 tokens
Packed tensors 2,416
Runtime BTL packed llama.cpp
License Apache-2.0 model, MIT runtime

Usable context depends on device memory, KV cache, and runtime workspace. Start with 4K on a 16 GB Mac, 16K on a 12–16 GB GPU, or 32K on a 24 GB GPU, then increase the window after measuring headroom.

Measured retention

The fresh gate contains 100 turns balanced across single, parallel, sequential, parallel-multiple, and abstention behavior. It is an internal contract-retention evaluation, not a public frontier benchmark.

Metric Result
Full-precision teacher 90/100
BTL-3 Compact 83/100
Conditional retention 92.2% (83/90)
Single-call retention 100%
Parallel-call retention 100%
Sequential-call retention 100%
Abstention retention 100%

The complete protocol and category report are included in evidence/compact-validation.md .

Native performance
Device Prompt processing Generation Runtime status
RTX PRO 6000 Blackwell 96 GB 84.70 tok/s 43.16 tok/s Exact GGUF, full CUDA offload
Apple M2 16 GB 2.30 tok/s 2.48 tok/s Exact GGUF, Metal compatibility smoke

The RTX result is the mean of three native runs with a 512-token prompt and 128 generated tokens. The M2 measurement is a compatibility smoke on the entry-level 16 GB system, not a performance projection for newer Apple hardware.

Runtime support
Target Status Package
macOS arm64 / Apple Metal Verified runtimes/supported/BTL-3-Compact-macos-arm64
Linux arm64 / NVIDIA CUDA / DGX Spark Preview runtimes/preview/BTL-3-Compact-linux-arm64-cuda
OpenAI-compatible HTTP Verified Native btl3-server
LM Studio Supported through included generator integrations/btl3-native
Ollama CLI Supported through included bridge integrations/ollama

Stock Ollama and the stock LM Studio GGUF engine do not decode AVQ2 directly. The included integrations start or connect to BTL's native runner while preserving the familiar client interface.

Quickstart
Install the verified macOS package
python3 tools/install_consumer_bundle.py \
  --runtime runtimes/supported/BTL-3-Compact-macos-arm64 \
  --model model/BTL-3-Compact-AVQ2.gguf
Start the server directly
BTL3_MODEL="$PWD/model/BTL-3-Compact-AVQ2.gguf" \
BTL3_CTX_SIZE=4096 \
  runtimes/supported/BTL-3-Compact-macos-arm64/bin/btl3-server
Call the OpenAI-compatible API
curl http://127.0.0.1:8080/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "BTL-3",
    "messages": [
      {
        "role": "user",
        "content": "Write a retrying fetch helper and include tests."
      }
    ],
    "stream": true
  }'
Representation

The release combines:

  • packed AVQ2 decoder tensors;
  • affine INT4 tensors and two measured INT4 demotions;
  • selected higher-precision islands;
  • packed embedding and output matrices;
  • a rank-32 output correction;
  • a compact behavior adapter.

All 2,416 tensor payloads were byte-verified during export. Native CUDA parity was checked against the reference representation, and the exact exported GGUF subsequently completed autoregressive generation on CUDA and Metal.

Artifact integrity
Artifact Value
File model/BTL-3-Compact-AVQ2.gguf
Bytes 8,392,369,600
SHA-256 2ddf9527620a17a2a6739d184a7096c45712092e6589128792ec6254e94dc30c

Verify the complete release directory:

shasum -a 256 -c SHA256SUMS

RELEASE_MANIFEST.json records the exact model identity and separates verified runtimes from preview packages.

Intended use
  • local coding and debugging;
  • private repository and terminal agents;
  • structured single, sequential, and parallel tool use;
  • offline or self-hosted OpenAI-compatible inference;
  • consumer and workstation deployments where the BF16 model is impractical.
Operational guidance

Run generated code and tool calls in a sandbox. Require explicit confirmation before destructive, privileged, financial, or otherwise high-impact actions.

License and citation

The model artifact is Apache-2.0. The included runtime is MIT-licensed; see the packaged licenses and third-party notices.

@software{btl3_compact_2026,
  title  = {BTL-3 Compact: A Native 8.39 GB Agentic Coding Model},
  author = {Bad Theory Labs},
  year   = {2026},
  url    = {https://huggingface.co/badtheorylabs/BTL-3-Compact}
}

For questions and release updates, visit Bad Theory Labs or join the community Discord .

Runs of badtheorylabs BTL-3-Compact on huggingface.co

97
Total runs
7
24-hour runs
17
3-day runs
0
7-day runs
-11
30-day runs

More Information About BTL-3-Compact huggingface.co Model

More BTL-3-Compact license Visit here:

https://choosealicense.com/licenses/apache-2.0

BTL-3-Compact huggingface.co

BTL-3-Compact huggingface.co is an AI model on huggingface.co that provides BTL-3-Compact's model effect (), which can be used instantly with this badtheorylabs BTL-3-Compact model. huggingface.co supports a free trial of the BTL-3-Compact model, and also provides paid use of the BTL-3-Compact. Support call BTL-3-Compact model through api, including Node.js, Python, http.

badtheorylabs BTL-3-Compact online free

BTL-3-Compact huggingface.co is an online trial and call api platform, which integrates BTL-3-Compact's modeling effects, including api services, and provides a free online trial of BTL-3-Compact, you can try BTL-3-Compact online for free by clicking the link below.

badtheorylabs BTL-3-Compact online free url in huggingface.co:

https://huggingface.co/badtheorylabs/BTL-3-Compact

BTL-3-Compact install

BTL-3-Compact is an open source model from GitHub that offers a free installation service, and any user can find BTL-3-Compact on GitHub to install. At the same time, huggingface.co provides the effect of BTL-3-Compact install, users can directly use BTL-3-Compact installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

BTL-3-Compact install url in huggingface.co:

https://huggingface.co/badtheorylabs/BTL-3-Compact

Url of BTL-3-Compact

Provider of BTL-3-Compact huggingface.co

badtheorylabs
ORGANIZATIONS

Other API from badtheorylabs

huggingface.co

Total runs: 582
Run Growth: -42
Growth Rate: -7.69%
Updated:August 07 2026
huggingface.co

Total runs: 354
Run Growth: -691
Growth Rate: -195.20%
Updated:August 07 2026
huggingface.co

Total runs: 70
Run Growth: 7
Growth Rate: 9.86%
Updated:July 24 2026