# Ternary Bonsai 2.5 27B Uncensored

Ternary Bonsai 2.5 27B Uncensored is an uncensored open-weight model built on Ternary Bonsai 2.5 27B, post-trained to stop refusing, so it answers what the original would decline. It reads text. It can reason before it answers, at the effort you ask for. The Inference API serves it on the Private tier, at one price whoever runs the request.

- Model id: `prism-ml/ternary-bonsai-2.5-27b-uncensored`
- Lab: Morse-AI
- Price: $0.15 / $0.50 per 1M input / output tokens
- Context: 256K tokens
- Privacy tiers: Private
- Uncensored: yes
- Page: https://trymorse.ai/inference/models/prism-ml/ternary-bonsai-2.5-27b-uncensored

In the collection: [Best Open Source LLM for Coding | Morse](https://trymorse.ai/inference/collections/coding)

## Each tier

| Tier | Input | Output | Cached input | Context | Max output |
| --- | --- | --- | --- | --- | --- |
| Private | $0.15 | $0.50 | $0.025 | 256K | 32K |

## Settings

| Setting | Request field | Value |
| --- | --- | --- |
| Model | `model` | "prism-ml/ternary-bonsai-2.5-27b-uncensored" |
| Privacy tier | `provider.min_privacy` | "private", the most private tier it's served on (Private) |
| Reasoning effort | `reasoning_effort` | "none", "minimal", "low", "medium", "high", "xhigh", or "max" |
| Longest reply | `max_tokens` | up to 32,768 tokens |
| Context | - | 256K tokens of input and output together |
| Tools | `tools` | supports tool calls |

## Call it

Base URL: https://inference.trymorse.ai/v1. Read the key from the MORSE_API_KEY environment variable.

### Python

```python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://inference.trymorse.ai/v1",
    api_key=os.environ["MORSE_API_KEY"],
)

reply = client.chat.completions.create(
    model="prism-ml/ternary-bonsai-2.5-27b-uncensored",
    messages=[{"role": "user", "content": "Why is the sky blue?"}],
)
```

### TypeScript

```ts
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://inference.trymorse.ai/v1",
  apiKey: process.env.MORSE_API_KEY,
});

const reply = await client.chat.completions.create({
  model: "prism-ml/ternary-bonsai-2.5-27b-uncensored",
  messages: [{ role: "user", content: "Why is the sky blue?" }],
});
```

### cURL

```bash
curl https://inference.trymorse.ai/v1/chat/completions \
  -H "Authorization: Bearer $MORSE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "prism-ml/ternary-bonsai-2.5-27b-uncensored",
    "messages": [{ "role": "user", "content": "Why is the sky blue?" }]
  }'
```

## Questions

### Will Ternary Bonsai 2.5 27B Uncensored answer what other models refuse?

Yes. Ternary Bonsai 2.5 27B Uncensored is an uncensored open-weight model built on Ternary Bonsai 2.5 27B, post-trained to stop refusing, so it answers what the original would decline.

### What is Ternary Bonsai 2.5 27B Uncensored's context length?

262,144 tokens (256K) of input and output together, and it writes up to 32,768 tokens in one reply.

### What can I use the Ternary Bonsai 2.5 27B Uncensored API for?

Teams use Ternary Bonsai 2.5 27B Uncensored, uncensored and private on Morse with zero data retention, for cybersecurity, agent security, AI and ML research, and training data. They test and defend their own systems and AI agents, and build the training sets, eval suites, and classifiers other models refuse to write.

### How much does the Ternary Bonsai 2.5 27B Uncensored API cost?

$0.15 per million input tokens, $0.50 per million output tokens, and $0.025 per million cached input tokens, the same on every privacy tier and whichever provider runs the request.

### Can I use Ternary Bonsai 2.5 27B Uncensored in Claude Code, Codex, or the OpenAI SDK?

Yes. Point any OpenAI SDK at https://inference.trymorse.ai/v1 with your Morse API key and the model id prism-ml/ternary-bonsai-2.5-27b-uncensored. Morse also speaks Anthropic's Messages format, so Claude Code, Codex, Cline, and OpenCode work through it; each has a setup page in the docs. It supports tool calls.

### Who can read my prompts to Ternary Bonsai 2.5 27B Uncensored?

It depends on the privacy tier your request names. Private: Vetted providers bound by contract or published policy to keep nothing. The provider processes the prompt and never stores it or trains on it.
