Overview
This is a self-hosted deployment of the Bonsai 2 27B large language model. It runs as a single GPU-powered EC2 instance allowing you to keep your data private and leverage unlimited tokens. Access to the model is via HTTP on port 8080. Once the instance is powered on, the server requires 1 minute to load the LLM before it is ready to serve requests. Highlights of the Bonsai model include:
-
Ternary g128 weights at a true 1.72 bits per weight. This image serves the PQ2_0 packing (2.13 bits per weight, 7.21 GB) together with the optional Q8_0 vision projector.
-
Derived from Qwen3.8-27B: 27.36B parameters, hybrid attention (about 75% linear and 25% full attention), SwiGLU MLP, RoPE, and RMSNorm. The model supports a 262,144-token context. This image uses a 16,384-token context so the weights and cache fit on one 24 GB GPU.
-
Thinking mode is on by default. The model card's thinking-mode sampling is temperature 1.0, top_p 0.95, and top_k 20.
-
The model card reports a 84.78 average across 14 thinking-mode benchmarks, 98.2% of the FP16 reference, with math, coding, and tool-calling scores close to that baseline.
-
Apache 2.0 license. These files need Prism ML's llama.cpp fork; stock llama.cpp and Ollama cannot run them.
Highlights
- Data security, privacy, and confidentiality
- Predictable cost
- Unlimited usage of a dedicated model
Details
Features and programs
Financing for AWS Marketplace purchases
Pricing
Free trial
Dimension | Cost/hour |
|---|---|
g5.xlarge Recommended | $0.09 |
Dimensions summary
Top-of-mind questions for buyers
Vendor refund policy
Refunds may be considered on a per-case basis. Please contact us at support@salientengineering.com for inquiries.
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
Ubuntu security updates through 2026-11-17. The AWS kernel is 7.0.0-1017. On GPU images the matching NVIDIA open kernel module was installed in the same update, then linux and NVIDIA packages were held again so a later unattended upgrade cannot split the driver from the kernel. Application behavior is unchanged.
Additional details
Usage instructions
- Deploy the EC2 instance, configure the Security Group to only allow inbound port 22 and 8080 from your trusted IP address(es)
- After the instance is powered on, allow 1 minute for the server to load the LLM before sending requests.
- Access the Bonsai 2 27B model via the llama.cpp server exposed on port 8080 for HTTP.
Test via HTTP with: curl -X POST http://<PUBLIC_IP>:8080/v1/chat/completions -H 'Content-Type: application/json' -d '{"model":"Ternary-Bonsai-2-27B","messages":[{"role":"user","content":"In one sentence, explain what a large language model is capable of."}]}'
Resources
Vendor resources
Support
Vendor support
The Salient Engineering support team can be reached at: support@salientengineering.com
Our team is happy to assist with deployment and configuration issues.
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.
