# Kai — Use via Hanzo AI API

> Hanzo&#x27;s decision model, which answers typed questions at /v1/decisions rather than a chat turn. Access via Hanzo&#x27;s OpenAI-compatible API. Get started free.

[Models](https://hanzo.ai/models)/[Hanzo](https://hanzo.ai/models/hanzo)/kai-1.4

# Kai

[Hanzo](https://hanzo.ai/models/hanzo)

Hanzo&#x27;s decision model, which answers typed questions at /v1/decisions rather than a chat turn.

decision

[Get API Key](https://platform.hanzo.ai/api-keys)[View Docs](https://docs.hanzo.ai)[Try in Chat](https://hanzo.ai/chat)

## Specifications

Modalities

decision

Price

…

Status

available

Category

kai

Model ID

kai-1.4

## Quick Start

Instant Guest API Keyguest_temp_key

No account or sign up required

Test right now from your terminal. No credentials needed:

cURL · instant guest request

Copy

```
curl https://api.hanzo.ai/v1/chat/completions \ -H "Authorization: Bearer guest_temp_key" \ -d &#x27;{"model": "zen-free", "messages": [{"role": "user", "content": "hello"}]}&#x27;
```

TypeScript

```
import OpenAI from &#x27;openai&#x27; const client = new OpenAI({ apiKey: process.env.HANZO_API_KEY, baseURL: &#x27;https://api.hanzo.ai/v1&#x27; }) const response = await client.chat.completions.create({ model: &#x27;kai-1.4&#x27;, messages: [{ role: &#x27;user&#x27;, content: &#x27;Hello!&#x27; }] }) console.log(response.choices[0].message.content)
```

Python

```
from openai import OpenAI client = OpenAI( api_key=os.environ["HANZO_API_KEY"], base_url="https://api.hanzo.ai/v1" ) response = client.chat.completions.create( model="kai-1.4", messages=[{"role": "user", "content": "Hello!"}] ) print(response.choices[0].message.content)
```

cURL

```
curl https://api.hanzo.ai/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $HANZO_API_KEY" \ -d &#x27;{ "model": "kai-1.4", "messages": [{"role": "user", "content": "Hello!"}] }&#x27;
```

Go

```
package main import ( "context" "fmt" "os" "github.com/sashabaranov/go-openai" ) func main() { cfg := openai.DefaultConfig(os.Getenv("HANZO_API_KEY")) cfg.BaseURL = "https://api.hanzo.ai/v1" client := openai.NewClientWithConfig(cfg) resp, _ := client.CreateChatCompletion(context.Background(), openai.ChatCompletionRequest{ Model: "kai-1.4", Messages: []openai.ChatCompletionMessage{ {Role: openai.ChatMessageRoleUser, Content: "Hello!"}, }, }, ) fmt.Println(resp.Choices[0].Message.Content) }
```

## More from Hanzo

[Enso900KHanzo&#x27;s proprietary frontier model — Opus-class reasoning by default with 1M-context overflow.](https://hanzo.ai/models/hanzo/enso)[Enso900KRoutes each request to one tier by the reasoning depth it asks for: enso-flash at off, none, minimal, low, default; enso-pro at medium, high; enso-ultra at xhigh, max. It bills at the price of the tier that answers; the price shown is a request&#x27;s that states no depth. When nothing pays for that tier it answers on enso-free, at no charge, and says so.](https://hanzo.ai/models/hanzo/enso-auto)[Enso Flash900KFast, economical Enso tier for high-volume, low-latency everyday work, with 1M-context overflow.](https://hanzo.ai/models/hanzo/enso-flash)[enso-free1M](https://hanzo.ai/models/hanzo/enso-free)[enso-pro1M](https://hanzo.ai/models/hanzo/enso-pro)[Enso Ultra1MAdaptive fan-out — probes a task-appropriate model, escalates to a top-K panel only when needed, then verifies-then-selects the best answer.](https://hanzo.ai/models/hanzo/enso-ultra)

[View all Hanzo models →](https://hanzo.ai/models/hanzo)

## Use Kai via Hanzo AI

One API key. Every major model. OpenAI-compatible. Start free.

[Get Free API Key](https://platform.hanzo.ai/api-keys)[Browse All Models](https://hanzo.ai/models)
