---
title: Nex AGI: Nex N2 Pro API | Text Generation | ModelsLab
description: Build with Nex AGI: Nex N2 Pro API by Nex Agi. Text generation, chat, code, and reasoning. Pay-per-use. Free tier.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/nex-agi/nex-agi-nex-n2-pro.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/nex-agi/nex-agi-nex-n2-pro.md
type: product
component: Playground/LLM/Index
generated_at: 2026-06-30T00:04:51.229593Z
---

Nex AGI: Nex-N2-Pro
---

 [LLMs.txt](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/nex-agi-nex-n2-pro/llms.txt) [.md](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/nex-agi/nex-agi-nex-n2-pro.md)

Nex AGI: Nex-N2-Pro
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### Nex AGI: Nex-N2-Pro

nex-agi nex-agi-nex-n2-pro

Copy model ID

PricingInput $0.25 / 1M tokens

Output $1.00 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster)

[#### open\_router/Meta: Llama 3.2 3B Instruct

meta-llama-llama-3.2-3b-instruct

From $0.19/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/meta-llama-llama-3.2-3b-instruct)

[#### open\_router/Anthropic: Claude Opus 4.8 (Fast)

anthropic-claude-opus-4.8-fast

From $30.00/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/anthropic-claude-opus-4.8-fast)

[#### open\_router/Google: Gemini 2.5 Pro Preview 06-05

google-gemini-2.5-pro-preview

From $5.63/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemini-2.5-pro-preview)

[#### open\_router/Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview)

google-gemini-3.1-flash-image-preview

From $1.75/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemini-3.1-flash-image-preview)

[#### open\_router/Amazon: Nova Micro 1.0

amazon-nova-micro-v1

From $0.09/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/amazon-nova-micro-v1)

[#### deepseek/DeepSeek R1 Distill Qwen 14B

deepseek-ai-DeepSeek-R1-Distill-Qwen-14B

From $1.60/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/deepseek/deepseek-ai-DeepSeek-R1-Distill-Qwen-14B)

[#### open\_router/Amazon: Nova Pro 1.0

amazon-nova-pro-v1

From $2.00/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/amazon-nova-pro-v1)

[#### open\_router/Magnum v4 72B

anthracite-org-magnum-v4-72b

From $4.00/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/anthracite-org-magnum-v4-72b)

[#### open\_router/Qwen: Qwen3 235B A22B Instruct 2507

qwen-qwen3-235b-a22b-2507

From $0.10/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-235b-a22b-2507)

[#### together\_ai/Kimi K2.6 Fp4

moonshotai-Kimi-K2.6

From $2.85/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/moonshotai-Kimi-K2.6)

[#### open\_router/Amazon: Nova Premier 1.0

amazon-nova-premier-v1

From $7.50/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/amazon-nova-premier-v1)

[#### open\_router/Z.ai: GLM 4.7

z-ai-glm-4.7

From $1.07/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/z-ai-glm-4.7)

[#### open\_router/ByteDance Seed: Seed-2.0-Lite

bytedance-seed-seed-2.0-lite

From $1.13/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/bytedance-seed-seed-2.0-lite)

[#### meta/Llama 3.1 Nemotron 70B Instruct HF

nvidia-Llama-3.1-Nemotron-70B-Instruct-HF

From $0.88/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta/nvidia-Llama-3.1-Nemotron-70B-Instruct-HF)

[#### open\_router/Z.ai: GLM 5.2

z-ai-glm-5.2

From $1.97/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/z-ai-glm-5.2)

[#### open\_router/Qwen2.5 Coder 32B Instruct

qwen-qwen-2.5-coder-32b-instruct

From $0.83/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen-2.5-coder-32b-instruct)

[#### together\_ai/OpenAI GPT-OSS 120B

openai-gpt-oss-120b

From $0.09/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/openai-gpt-oss-120b)

[#### together\_ai/Meta Llama 3 8B Instruct Lite

meta-llama-Meta-Llama-3-8B-Instruct-Lite

From $0.10/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/meta-llama-Meta-Llama-3-8B-Instruct-Lite)

Open Source Alternatives
---

Explore open-source models that offer similar capabilities with full transparency and flexibility

 [View all open source models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llm&provider=open-source-models)

[MU

Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/uncensored-chat)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Modelslab: Uncensored Chat

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/uncensored-chat)

About Nex AGI: Nex-N2-Pro
---

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 and produces...

### Technical Specifications

Model IDnex-agi-nex-n2-pro

CategoryLLM Models

TaskText Generation

Price$0.625 per million tokens

AddedJune 22, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate Nex AGI: Nex-N2-Pro into your application with a single API call. Get your API key from the [pricing page](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "nex-agi-nex-n2-pro",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

### Pricing

Nex AGI: Nex-N2-Pro API costs $0.625000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Browse LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster) [More from Nex Agi](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router) [View Pricing](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

Nex AGI: Nex-N2-Pro FAQ
---

### What is Nex AGI: Nex-N2-Pro?

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 and produces...

### How do I use the Nex AGI: Nex-N2-Pro API?

You can integrate Nex AGI: Nex-N2-Pro into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "nex-agi-nex-n2-pro" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Nex AGI: Nex-N2-Pro cost?

Nex AGI: Nex-N2-Pro costs $0.625000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Nex AGI: Nex-N2-Pro model ID?

The model ID for Nex AGI: Nex-N2-Pro is "nex-agi-nex-n2-pro". Use this ID in your API requests to specify this model.

### Does Nex AGI: Nex-N2-Pro have a free tier?

Yes, ModelsLab offers a free tier that lets you try Nex AGI: Nex-N2-Pro and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-06-30*