Nex-N2-Pro

Nex-agiMCP Tool CallReasoning
nex-agi/nex-n2-proOpen Weights

Open agentic MoE model (397B total, 17B active) for coding, tool use, and research workflows

Benchmark Pricing$0.50 / 1M in$2.50 / 1M out$0.25 cache read
Context: 262,144 tokens•Max Output: 262,144 tokens•Released: 2026-06-02

TECHNICAL SPECIFICATIONS

Context Window262,144262.1K tokens
Max Output262,144262.1K tokens
LicenseOpen SourceSelf-hostable
Input Modalities
TextVision
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ Nex-N2-Pro natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.

MCP Context Window Recommendations

With a context capacity of 262,144 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.

API CALL INVOCATION EXAMPLE

// Example: Calling Nex-N2-Pro via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.NEX-AGI_API_KEY,
});

const response = await client.chat.completions.create({
  model: "nex-agi/nex-n2-pro",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

1 providers
SiliconFlownex-agi/Nex-N2-Pro
$0.50 / $2.50$0.25 cache

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.

Prompt Caching Active

This model supports prompt caching at $0.25 / 1M tokens, saving up to 50% on repetitive MCP tool definitions and system instructions.