Nex-N2-Pro

Model Information

Display Name: Nex-N2-Pro

API Model ID: nex-agi/nex-n2-pro

Category: Image To Text

Description: Nex-N2-Pro is an agentic mixture-of-experts model from Nex AGI, with 17B active parameters out of 397B total, built on the Qwen3.5 architecture. It accepts text and image input over a 262K-token context window and is aimed at coding and tool-driven workflows. **Key Features:** - 262,144-token context window - Up to 262K output tokens - Multimodal input: text and image - Function/tool calling - Optional reasoning traces (can be turned off) - Prompt caching for cheaper repeated context **Best For:** - Agentic coding and tool orchestration - Long-context work over large codebases - Tasks mixing screenshots or diagrams with text **Note:** this endpoint does not support structured outputs / JSON schema response formats.

Context Window: 262,144 tokens

Max Output: 262,144 tokens

How to Use This Model

To use Nex-N2-Pro via the HInow.ai API, use the model ID: nex-agi/nex-n2-pro

API Request Example (Chat/Text)


POST https://api.hinow.ai/v1/chat/completions
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "model": "nex-agi/nex-n2-pro",
  "messages": [
    {"role": "user", "content": "Your message here"}
  ]
}
              

API Request Example (Image Generation)


POST https://api.hinow.ai/v1/images
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "model": "nex-agi/nex-n2-pro",
  "prompt": "Your image description here"
}
              

Pricing

  • input: $1.25
  • output: $5.00
  • cached: $0.125

Available Parameters

  • max_tokens: Max tokens to generate, including reasoning (Options: 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144)
  • temperature: Sampling temperature
  • top_p: Nucleus sampling probability mass
  • top_k: Top-k sampling cutoff
  • frequency_penalty: Penalizes repeated tokens
  • tools: Function/tool definitions for agentic workflows
  • tool_choice: Controls whether the model calls a tool (Options: auto, none, required)

Quick Reference

To use this model, set: "model": "nex-agi/nex-n2-pro"

Featured: No

Documentation: https://hinow.ai/models/nex-agi/nex-n2-pro

API Endpoint: https://api.hinow.ai/v1

Back to Models

Nex-N2-Pro

nex-agi/nex-n2-pro

$1.25 / $5.00
per 1M tokens (in/out)

About

Nex-N2-Pro is an agentic mixture-of-experts model from Nex AGI, with 17B active parameters out of 397B total, built on the Qwen3.5 architecture. It accepts text and image input over a 262K-token context window and is aimed at coding and tool-driven workflows.

Key Features:

  • 262,144-token context window
  • Up to 262K output tokens
  • Multimodal input: text and image
  • Function/tool calling
  • Optional reasoning traces (can be turned off)
  • Prompt caching for cheaper repeated context

Best For:

  • Agentic coding and tool orchestration
  • Long-context work over large codebases
  • Tasks mixing screenshots or diagrams with text

Note: this endpoint does not support structured outputs / JSON schema response formats.

Capabilities

Image To TextText To Text
Context262K tokens
Max Output262K tokens

Parameters

max_tokens

Max tokens to generate, including reasoning

5121024204840968192163843276865536131072262144
temperature

Sampling temperature

top_p

Nucleus sampling probability mass

top_k

Top-k sampling cutoff

frequency_penalty

Penalizes repeated tokens

tools

Function/tool definitions for agentic workflows

tool_choice

Controls whether the model calls a tool

autononerequired

Code Examples

curl -X POST https://api.hinow.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $HINOW_API_KEY" \
  -d '{
    "model": "nex-agi/nex-n2-pro",
    "messages": [
      {
        "role": "user",
        "content": [
          {"type": "text", "text": "Describe this image"},
          {"type": "image_url", "image_url": {"url": "https://example.com/image.jpg"}}
        ]
      }
    ],
    "parameters": {
      "max_tokens": "512",
      "temperature": "",
      "top_p": "",
      "top_k": "",
      "frequency_penalty": "",
      "tools": "",
      "tool_choice": "auto"
    }
  }'