Nex-N2.5-Mini
Nex-N2.5 is an agentic model built to turn goals into working, verified outcomes.
- Context Window
- 262K
- In
- $0.028per million tokens
- Out
- $0.111per million tokens
Nex-AGI
nex-agi/ nex-n2.5-miniSpecifications
In$0.028
Out$0.111
- Context Window
- 262K
- Modalities
- text
- Price
- $0.028 in · $0.111 out, per million tokens
- Model ID
- nex-agi/nex-n2.5-mini
Quick start
nex-agi/nex-n2.5-mini
$0.028 in · $0.111 out, per million tokens
import OpenAI from 'openai'
const client = new OpenAI({
apiKey: process.env.HANZO_API_KEY,
baseURL: 'https://api.hanzo.ai/v1'
})
const response = await client.chat.completions.create({
model: 'nex-agi/nex-n2.5-mini',
messages: [{ role: 'user', content: 'Hello!' }]
})
console.log(response.choices[0].message.content)
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="nex-agi/nex-n2.5-mini",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
curl https://api.hanzo.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HANZO_API_KEY" \
-d '{
"model": "nex-agi/nex-n2.5-mini",
"messages": [{"role": "user", "content": "Hello!"}]
}'
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: "nex-agi/nex-n2.5-mini",
Messages: []openai.ChatCompletionMessage{
{Role: openai.ChatMessageRoleUser, Content: "Hello!"},
},
},
)
fmt.Println(resp.Choices[0].Message.Content)
}
More from Nex-AGI
View all Nex-AGI models →$0.50Bill a month
Nex-N2.5-Pro costs 2.8× more for this mix.
Nex-N2.5-Mini$0.50262K
Nex-N2.5-Pro$1.39262K
Use Nex-N2.5-Mini via Hanzo AI
One API key. Every major model. OpenAI-compatible. Start free.

