⚡ Zen LM
Models

zen4-mini

Fast and efficient 8B dense model with 40K context.

zen4-mini

Fast and Efficient

Lightweight model optimized for speed and cost efficiency. 8B dense transformer -- the best value in the Zen lineup.

Specifications

PropertyValue
Model IDzen4-mini
Parameters8B
ArchitectureDense
Context Window40K tokens
Tierpro
Input Price$0.60 / 1M tokens
Output Price$0.60 / 1M tokens

Capabilities

  • Ultra-fast inference for real-time applications
  • Strong quality-to-cost ratio
  • 40K context window
  • Instruction following and chat
  • Good baseline for prototyping and development

API Usage

curl https://api.hanzo.ai/v1/chat/completions \
  -H "Authorization: Bearer $HANZO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "zen4-mini",
    "messages": [{"role": "user", "content": "Explain quicksort in one paragraph."}]
  }'
from hanzoai import Hanzo

client = Hanzo(api_key="hk-your-api-key")

response = client.chat.completions.create(
    model="zen4-mini",
    messages=[{"role": "user", "content": "Explain quicksort in one paragraph."}],
)
print(response.choices[0].message.content)

See Also

On this page