developers · reference · shipped
Models & Inference
Flagship model family: Bonsai 2.5 & Bonsai 2
Aitherium's primary hosted and local reasoning family is Bonsai — ternary-quantized GGUF models built for high capability at a fraction of standard FP16/INT4 VRAM footprints.
- Hosted flagship (
aither-bonsai, wire IDbonsai2-27b): Bonsai 2.5 27B (PQ2_0, ~2.1 bits/weight, hybrid 27B architecture with 48 Gated DeltaNet + 16 full-attention layers, 262,144 native training context) paired with a nativeQ8_0multimodal vision projector (mmproj). Supports structured reasoning before answering, OpenAI-format tool calling, and native image understanding. - Hosted free / fast lane (
aither-small, wire IDbonsai2-4b): Bonsai 2 4B (PTQ1_0+mmproj-Q8_0), handling anonymous free-tier chat, fast triage, decisions, and lightweight vision failover. - Stable wire IDs: The hosted 27B lane runs Bonsai 2.5 27B weights while keeping the
stable gateway ID
aither-bonsaiand catalog IDbonsai2-27bso existing scripts andadkprofiles upgrade cleanly without breaking.
The Bonsai 2 self-host ladder (Apache-2.0)
Every tier in the local ladder is Apache-2.0 licensed, SHA-256 verified on download, and served
from Aitherium's first-party CDN (https://weights.aitherium.com/) and Hugging Face
(prism-ml/Ternary-Bonsai-2-*-gguf):
Catalog ID (adk models list) | Generation & Params | Quantization | Weight Size | Min RAM / VRAM (adk) | Runtime | Capabilities & Role |
|---|---|---|---|---|---|---|
bonsai2-27b (hosted: Bonsai 2.5 27B) | Bonsai 2.5 / 2 (27B hybrid) | PQ2_0 (CUDA/Metal) / PTQ1_0 (CPU/Vulkan) + mmproj-Q8_0 | 5.67–6.71 GiB | 11.1 GB | prism-llama.cpp (>= prism-b12128) | Flagship chat, reasoning, tool calling, agents, native vision |
bonsai2-9b | Bonsai 2 (9B) | PTQ1_0 | 1.90 GB | 3.7 GB | prism-llama.cpp (>= prism-b12128) | Chat, tool calling, and reasoning on 4–11 GB GPUs |
bonsai2-4b | Bonsai 2 (4B) | PTQ1_0 (+ optional mmproj-Q8_0) | 905 MB | 1.8 GB | prism-llama.cpp (>= prism-b12128) | Fast chat, triage, decisions, vision on 2–4 GB GPUs |
bonsai2-2b | Bonsai 2 (2B) | PTQ1_0 | 409 MB | 900 MB | prism-llama.cpp (>= prism-b12128) | Ladder floor: phone-class GPU or plain CPU |
Legacy Bonsai 1 weights (bonsai-27b, bonsai-8b, bonsai-4b, bonsai-1.7b) are superseded
and off the default ladder, though still pullable explicitly with adk models pull.
Runtime requirement: prism-llama.cpp
Critical: Bonsai 2 and Bonsai 2.5 ternary GGUFs (
PQ2_0/PTQ1_0) require the PrismMLllama.cppbuild (>= prism-b12128with Hadamard v2 kernels). Stockllama.cpploads the file without warning and emits gibberish, and vLLM cannot loadPQ2_0/PTQ1_0weights.
Use adk bonsai-local so the CLI downloads the matching prism-llama.cpp binary and verifies
weight checksums automatically:
pip install awdk
adk bonsai-local # downloads verified weights + prism-llama.cpp, serves OpenAI /v1
adk models list # inspect local catalog & hardware fit
adk bonsai-local binds to loopback (http://127.0.0.1:8090/v1) and serves model id
bonsai-local (default 8,192 context window, single concurrency slot). Recommended sampling
defaults for Bonsai 2.5 27B are temperature=1.0, top_p=0.95, top_k=20, with flash
attention and quantized KV cache enabled.
Public hosted gateway models
Call the hosted OpenAI-compatible inference API at https://mcp.aitherium.com/v1 (also
reachable at https://gateway.aitherium.com/v1). Send the public gateway model ID below —
local adk models list IDs (such as bonsai2-27b) are backend catalog IDs and return 400
on the public gateway.
| Public Model ID | Minimum Tier | Context Window | Meter Rate (Aitherium tok / 1K LLM tok) | Backing Model & Behavior |
|---|---|---|---|---|
aither-small | Free (incl. anonymous) | 8,192 | 1 | Free/anonymous lane → Bonsai 2 4B (bonsai2-4b), fallback to Bonsai 2.5 27B |
aither-bonsai | Starter | 16,384 (32,768 unified) | 2 | Bonsai 2.5 27B (bonsai2-27b): reasoning, tool calling, native vision |
aither-orchestrator | Starter | 32,768 | 3 | Backward-compatible alias → Bonsai 2.5 27B (bonsai2-27b) |
aither-deliberate | Starter | 32,768 | 3 | Two-pass structured deliberation (structure → answer) over Bonsai 2.5 27B |
aither-vision | Pro | 16,384 | 8 | Dedicated vision/OCR → Gemma 4 12B (gemma4-12b) with Bonsai 2.5 27B failover |
aither-coding | Pro | 32,768 | 5 | High-context coding route → DeepSeek V4 Flash |
aither-reasoning | Pro | 32,768 | 10 | Deep reasoning route → DeepSeek V4 Flash |
See live plan details at https://aitherium.com/pricing or GET https://api.aitherium.com/api/pricing.
Compatibility aliases & migration table
Older integrations keep working via transparent stand-ins, while new code should use the current model IDs directly:
| Legacy / Compatibility ID | Current Status | Backing / Replacement | Recommended Action |
|---|---|---|---|
aither-small | Active (free lane) | Stood in by Bonsai 2 4B (replaces retired 3B Ollama lane) | Keep for keyless/free calls; upgrade to aither-bonsai for 27B reasoning |
aither-orchestrator | Compatibility alias | Stood in by Bonsai 2.5 27B (overflows to DeepSeek V4 Flash or Bonsai 2 4B; replaces legacy 8B vLLM lane) | Migrate new clients to aither-bonsai |
aither-orchestrator-tuned, aither-orchestrator-v7 | Retired | Replaced by Bonsai 2.5 27B | Switch to aither-bonsai |
nomic-embed-text | Rewritten transparently | Routed to aither-code-embed (1024-dim) | Update requests to model: "aither-code-embed" |
deepseek-chat, deepseek-reasoner | Rewritten transparently | Routed to current DeepSeek V4 Flash lane | Use aither-coding or aither-reasoning on the public gateway |
Self-hosters who explicitly want the legacy 8B GGUF can still opt in via
adk models pull orchestrator (Q8_0, 8.3 GB) or adk models pull orchestrator-q4 (4.8 GB).
Vision, embeddings, audio & Media Forge
Multimodal vision
- Bonsai 2.5 27B (
aither-bonsai) & Bonsai 2 4B (aither-small): Native image input via standard OpenAIimage_urlcontent parts (mmproj-Q8_0). - Gemma 4 12B (
aither-vision, cataloggemma4-12b): Apache-2.0 dense 12B multimodal model (Q4_K_M7.3 GB +mmproj-F16) for dedicated high-accuracy OCR and visual reasoning, with automatic failover to Bonsai 2.5 27B.
Embeddings (POST /v1/embeddings)
aither-code-embed(aither-code-embed-0.6b, Apache-2.0): Distilled 0.6B code & text embedder (Q8_0GGUF, 639 MB), 1024 dimensions, LAST-token pooling, 512-token maximum input, asymmetric (prepend task instruction to queries; index documents plain).- Accepts up to 256 strings per batch (max 32,000 characters each). Free across all tiers.
- Multimodal retrieval also supports CLIP ViT-L/14 (768-dim) for image, audio, video, and PDF indexing.
Speech-to-text & text-to-speech
- STT (
POST /v1/audio/transcriptions): OpenAI-compatible transcription backed byfaster-distil-whisper-large-v3. - TTS (
POST /v1/audio/speech):- Kokoro-82M (ONNX Runtime, multi-voice
kokoro:<voice_id>) for hosted synthesis. aither-voice(Piper/VITS en-US ONNX, 61 MB, MIT) for zero-cloud on-device speech viaadk models pull aither-voiceandawvoice --voice local:aither.
- Kokoro-82M (ONNX Runtime, multi-voice
Image & video generation (Media Forge)
Hosted media generation runs on Media Forge (https://mediaforge.aitherium.com /
https://forge.aitherium.com) with commercial-safe SDXL checkpoints (Juggernaut-XL-v9,
RealVisXL_V4.0, sdxl_lightning_4step, waiIllustriousSDXL_v140,
sd_xl_base_1.0_inpainting_0.1; note flux1-dev-fp8 is non-commercial only), Sana fast
image/video synthesis, LTX-Video 2.3 13B, and Wan 14B video pipelines.
OpenAI-compatible extensions
POST https://mcp.aitherium.com/v1/chat/completions accepts standard OpenAI payloads plus
Aitherium extensions:
- Tool calling: Standard
toolsfunction schemas andtool_choice("auto","none","required", or{"type": "function", "function": {"name": "..."}}). - Streaming SSE:
stream: trueemitschat.completion.chunkdeltas including incrementaltool_calls,reasoning_contentdeltas, and final token usage whenstream_options: {"include_usage": true}is set. - Reasoning / thinking control: Pass
chat_template_kwargs: {"enable_thinking": true}(orfalseto suppress chain-of-thought). Reasoning tokens appear inreasoning_contentso downstream parsers stay clean. - Structured outputs & sampling:
response_format({"type": "json_object"}orjson_schema),logprobs+top_logprobs,temperature,top_p,top_k,min_p,min_tokens,frequency_penalty,presence_penalty,stop,seed. - Honest routing provenance (
aither_route): Responses discloseserved_byandcross_model. Lanes markedno_substitute(includingaither-bonsai) return an explicit refusal when unavailable rather than silently falling back to a third-party cloud model. - Structured deliberation (
aither-deliberate): Responses include anaither_deliberationobject withanalysisandviablealongside the final OpenAIchoices[0].message.content.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://mcp.aitherium.com/v1",
api_key=os.environ["AITHER_API_KEY"],
)
reply = client.chat.completions.create(
model="aither-bonsai",
messages=[{"role": "user", "content": "Explain ternary quantization in 3 bullets."}],
extra_body={"chat_template_kwargs": {"enable_thinking": True}},
)
print(reply.choices[0].message.content)
In-browser & multi-backend runtimes
-
In-browser WebGPU (
@aitherium/awbonsai): Run Bonsai directly inside a browser tab with explicit user consent — zero server round-trips, public binary format, verifiable WGSL kernels, and KV-centering:npm install @aitherium/awbonsai -
Local single-node Bonsai (
adk bonsai-local): Managedprism-llama.cppserver with SHA-256 weight verification and an OpenAI-compatible loopback/v1API. -
Standalone multi-backend router (
awrouter, BUSL-1.1): OpenAI-compatible fleet router with failover and context fitting across localprism-llama.cpp, Ollama, vLLM, and hosted endpoints:pip install "awrouter[serve]"