Nex-N2.5-Mini API

nex-agi/nex-n2.5-mini
Nex-N2.5-Mini is Nex AGI’s smallest multimodal agent model, good at visual computer use, browsing, tool use, and structured reasoning from text
Context
262K tokens
Input
$0.034385 / 1M tokens
Output
$0.13754 / 1M tokens
Released
Sep 8, 2026

How to use Nex-N2.5-Mini API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to nex-agi/nex-n2.5-mini.
import requests

r = requests.post(
    "https://api.aimlapi.com/v1/chat/completions",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "nex-agi/nex-n2.5-mini",
      "messages": [
        {
          "role": "user",
          "content": "Hello!"
        }
      ]
    },
)
print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/chat/completions", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "nex-agi/nex-n2.5-mini",
    "messages": [
      {
        "role": "user",
        "content": "Hello!"
      }
    ]
  }),
});
console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/chat/completions \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"nex-agi/nex-n2.5-mini","messages":[{"role":"user","content":"Hello!"}]}'

OpenAI-compatible — swap the base URL and it works with your existing SDK.

Nex-N2.5-Mini API Pricing

TypePrice
Input
$0.034385 / 1M tokens
Output
$0.13754 / 1M tokens
Cached input
$0.0034385 / 1M tokens

Cached input is billed at a tenth of the fresh-input rate, which matters for agent loops that re-send the same long prefix every turn.

Nex-N2.5-Mini vs other models

ModelInputOutputContextBest for
Nex-N2.5-Mini
This page
$0.034385 / 1M tokens
$0.13754 / 1M tokens
262K tokens
Multimodal reasoning
$0.103155 / 1M tokens
$0.34385 / 1M tokens
262K tokens
Agentic workflows and structured output

Frequently asked questions

It accepts text and image input. It produces text output.

Yes. The model is multimodal and can take image input for visually grounded tasks.

Yes. The model supports function calling, including tool use.

Yes. It supports structured outputs via a JSON schema response format.

It runs in three reasoning modes: non-thinking, adaptive thinking by default, and high thinking.

It is targeted at computer use, web browsing, and agentic coding. The model is described as exploring codebases, making multi-file edits, running commands, and checking results through visual feedback.

Yes. It is described as the smallest model in Nex AGI's Nex-N2.5 family.

The documented input types are text and image, and the output type is text.

It is listed as a multimodal agentic model with reasoning, streaming, structured output, and vision capabilities.

Start building with Nex-N2.5-Mini

Get API Key
1000+ models, one API.