zeekay commited on
Commit
2e1b367
·
verified ·
1 Parent(s): 9870ca4

Update Zen4 Coder Flash model card — API-only

Browse files
Files changed (1) hide show
  1. README.md +13 -19
README.md CHANGED
@@ -12,39 +12,33 @@ license: apache-2.0
12
 
13
  # Zen4 Coder Flash
14
 
15
- **Zen LM by Hanzo AI** — Ultra-fast code generation model. 30B parameter MoE optimized for real-time coding assistance.
16
 
17
  ## Specs
18
 
19
  | Property | Value |
20
  |----------|-------|
21
- | Parameters | 30B MoE |
22
  | Context Length | 131K tokens |
23
  | Architecture | Zen MoDE (Mixture of Distilled Experts) |
24
  | Generation | Zen4 |
25
 
26
  ## API Access
27
 
28
- This model is served via the Hanzo AI API. Weight downloads are not available for this model tier.
29
-
30
- ```bash
31
- curl https://api.hanzo.ai/v1/chat/completions \
32
- -H "Authorization: Bearer $HANZO_API_KEY" \
33
- -H "Content-Type: application/json" \
34
- -d '{
35
- "model": "zen4-coder-flash",
36
- "messages": [{"role": "user", "content": "Hello"}],
37
- "max_tokens": 1024
38
- }'
39
- ```
40
 
41
- Get your API key at [console.hanzo.ai](https://console.hanzo.ai) — $5 free credit on signup.
 
42
 
43
- ## Pricing
 
 
 
 
 
 
44
 
45
- | Tier | Input | Output |
46
- |------|-------|--------|
47
- | Standard | See [pricing](https://zenlm.org) | See [pricing](https://zenlm.org) |
48
 
49
  ## License
50
 
 
12
 
13
  # Zen4 Coder Flash
14
 
15
+ **Zen LM by Hanzo AI** — Fast, efficient code generation model. Optimized for rapid iteration, autocomplete, and lightweight tasks.
16
 
17
  ## Specs
18
 
19
  | Property | Value |
20
  |----------|-------|
21
+ | Parameters | 20B |
22
  | Context Length | 131K tokens |
23
  | Architecture | Zen MoDE (Mixture of Distilled Experts) |
24
  | Generation | Zen4 |
25
 
26
  ## API Access
27
 
28
+ This model is served exclusively via the Hanzo AI API. Weight downloads are not available for this model tier.
 
 
 
 
 
 
 
 
 
 
 
29
 
30
+ ```python
31
+ from openai import OpenAI
32
 
33
+ client = OpenAI(base_url="https://api.hanzo.ai/v1", api_key="YOUR_KEY")
34
+ response = client.chat.completions.create(
35
+ model="zen4-coder-flash",
36
+ messages=[{"role": "user", "content": "Hello"}],
37
+ )
38
+ print(response.choices[0].message.content)
39
+ ```
40
 
41
+ Get your API key at [console.hanzo.ai](https://console.hanzo.ai) — $5 free credit on signup.
 
 
42
 
43
  ## License
44