PrismML models
2 models · one OpenAI-compatible API
2 PrismML models are on OpenCheap, each at its own price per 1M tokens. The cheapest to call is Ternary Bonsai2 9B, at $0.08 per 1M input tokens and $0.13 per 1M output tokens. The largest context is Ternary Bonsai 2 27B's, 262K tokens. Prices are per 1M input / output tokens, as of 2026-11-23 22:44 UTC.
Every PrismML model
Price per 1M tokens, input / output
Call any PrismML model
Every model from PrismML is called the same way: point the OpenAI SDK at https://api.opencheap.si/v1 with your OpenCheap key and pass the model id, for example opencheap/ternary-bonsai-2-27b. Each request goes to the cheapest healthy provider of that model, and every answer reports what it cost in usage.cost. You pay per token from one prepaid balance, and credits never expire.
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/ternary-bonsai-2-27b",
messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)