Ship a Full-Stack App with One Prompt

Copy this prompt into your AI coding agent, or open it in one below.

Give this to your AI Create a to-do list app using Puter.js

Coding manually? see the guide

Prism ML: Ternary Bonsai 27B

This model is no longer available.

Add AI to your application with Puter.js.

Explore Other Models

Model Card

Ternary Bonsai 27B is PrismML's ternary-weight build of Qwen3.6 27B, compressing the model to roughly 1.71 bits per weight while retaining about 95% of full-precision quality.

Across a 15-benchmark suite covering knowledge, reasoning, math, coding, instruction following, tool calling, and vision, it averages 80.49 in thinking mode, including 99.20 on MATH-500, 93.90 on HumanEval+, 82.75 on LiveCodeBench, and 74.41 on BFCL v3 for tool calling. It also handles vision input, scoring 68.96 on MMMU-Pro.

The model supports a 262K-token context window and structured JSON output, making it suited for long-document analysis, coding agents, and tool-calling workflows. PrismML also offers a 1-bit variant of Bonsai 27B with a smaller footprint; the ternary build trades some of that compression for higher accuracy across the same benchmark suite.

Context Window 262K

tokens

Max Output 262K

tokens

Input Cost $0

per million tokens

Output Cost $0

per million tokens

Release Date Jul 16, 2026

 

Code Example

Add AI to your app with the Puter.js AI API — no API keys or setup required.

// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';

puter.ai.chat("Explain quantum computing in simple terms").then(response => {
    document.body.innerHTML = response.message.content;
});
<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.chat("Explain quantum computing in simple terms").then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>

Frequently Asked Questions

How do I use Ternary Bonsai 27B?

You can access Ternary Bonsai 27B by Prism ML through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required. You can also use it with Python or cURL via Puter's OpenAI-compatible API.

Is Ternary Bonsai 27B free?

Yes, it is free if you're using it through Puter.js. With the User-Pays Model, you can add Ternary Bonsai 27B to your app at no cost — your users pay for their own AI usage directly, making it completely free for you as a developer.

What is the pricing for Ternary Bonsai 27B?
Ternary Bonsai 27B costs $0 per 1M input tokens and $0 per 1M output tokens.
Price per 1M tokens
Input$0
Output$0
Who created Ternary Bonsai 27B?

Ternary Bonsai 27B was created by Prism ML and released on Jul 16, 2026.

What is the context window of Ternary Bonsai 27B?

Ternary Bonsai 27B supports a context window of 262K tokens. For reference, that is roughly equivalent to 524 pages of text.

What is the max output length of Ternary Bonsai 27B?

Ternary Bonsai 27B can generate up to 262K tokens in a single response.

Does it work with React / Vue / Vanilla JS / Node / etc.?

Yes — the Ternary Bonsai 27B API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.

Get started with Puter.js

Add AI to your application without worrying about API keys or setup.

Explore Models View Tutorials