Back to Models
nex-agi/nex-n2-5-mini

Nex-N2.5-Mini

Global: Nex AGI Nex-N2.5-Mini - agentic coding model, free to try

262,144 tokens
Input: ¥0/M
Output: ¥0/M

Specifications

Modalities

Input
text
Output
text

Max Output Tokens

235,929

Reasoning Configuration

Default
Thinking on (effort: high)
Selectable effort levels
high
medium
none
Turning thinking off
Possible (reasoning.enabled: false)

How to control thinking, and what it costs

Code Examples

curl https://api.fastmetal.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "nex-n2.5-mini-free",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

How Nex-N2.5-Mini actually answers

Real responses to our standard prompts, recorded on FastMetal.

Count the number of 'r's in 'strawberry'

Count the number of 'r's in 'strawberry'. Explain your reasoning step by step.

The word **“strawberry”** has **3** letter **“r”**s. Step by step: 1. Write out the letters: **s t r a w b e r r y** 2. Find each **r**: - The 3rd letter is **r** - The 8th letter is **r** - The 9th letter is **r** So, there are **3** “r”s in **“strawberry.”**
1.7s response228 output tokens

Debug This Error

I'm getting the following error in my Node.js application: TypeError: Cannot read properties of undefined (reading 'map') at UserList (/app/components/UserList.js:12:25) at renderWithHooks (/app/node_modules/rea…

The error means this line is failing: ```js users.map(...) ``` `users` is `undefined` when `UserList` renders, but `.map()` only works on arrays. That usually happens because: 1. `UserList` is rendered without a `users` prop: ```jsx <UserList /> ``` 2. The parent passes `undefined`: ```jsx const [users, setUsers] = useState(undefined); ``` 3. Async data has not loaded yet, so `users` is still undefined. 4. Your API response is shaped differently than expected. --- ## Quick fix: default to an empty array ```jsx function UserList({ users = [] }) { return ( <ul> {users.map(user => ( <li key={user.id}>{user.name}</li> ))} </ul> ); } ``` Then render it…
5.5s response926 output tokens

Code Review

Please review the following Python function and suggest improvements for readability, performance, and best practices: def get_data(url, retries=3): import requests import time for i in range(retries):…

Here are the main improvements I’d suggest: - Move imports to module level. - Avoid bare `except:`; it catches programming errors, `KeyboardInterrupt`, etc. - Use `raise_for_status()` instead of manually checking `status_code`. - Use specific exception handling for HTTP errors, request errors, JSON errors, etc. - Add retry backoff instead of fixed sleeps. - Validate that the JSON response has the expected shape. - Prefer `item.get("active") is True` over `item["active"] == True`. - Consider logging failures instead of silently returning `[]`. Example improved version that preserves the original behavior of returning `[]` on failure: ```python import logging import time from typing import…
68.1s response9845 output tokens

Compare these answers side by side with other models →

Frequently asked questions

How much does the Nex-N2.5-Mini API cost?
On FastMetal, Nex-N2.5-Mini is billed per token in yen: ¥0 per 1M input tokens and ¥0 per 1M output tokens, before tax. Usage is drawn from a prepaid balance; there is no subscription or monthly fee.
Can I call Nex-N2.5-Mini with the OpenAI SDK?
Yes. Point base_url at https://api.fastmetal.ai/v1 and pass "nex-n2.5-mini-free" as the model; existing OpenAI-style code works unchanged, including streaming, tool calls and structured output.
What is the context window of Nex-N2.5-Mini?
262,144 tokens, shared between the prompt and the response.
What do I need to try Nex-N2.5-Mini?
Create an account and add credit; the model is then available both in the browser chat and over the API. There is no contract or minimum spend.

Try Nex-N2.5-Mini right now

Nex-N2.5-Mini is available on FastMetal through one API key. Start in the browser, or call it from the OpenAI SDK.