FOR AI AGENTS & CODING TOOLS

One endpoint for
every frontier model

Drop-in OpenAI-compatible API. Swap your base URL — all your existing SDK code works unchanged. Access GPT-5.5, DeepSeek V4 Pro, Grok 4.3, and 20+ more models from one key.

23+Models
1:1Credit = USD
$5Free to start
Get started free View docs

Works out-of-the-box with

CursorWindsurfClaude CodeGitHub CopilotCodexAiderContinueClineZed AIVoidReplit AIAugmentSupermaven
CursorWindsurfClaude CodeGitHub CopilotCodexAiderContinueClineZed AIVoidReplit AIAugmentSupermaven
CursorWindsurfClaude CodeGitHub CopilotCodexAiderContinueClineZed AIVoidReplit AIAugmentSupermaven
CursorWindsurfClaude CodeGitHub CopilotCodexAiderContinueClineZed AIVoidReplit AIAugmentSupermaven

Set up in 3 steps

Under 5 minutes from zero to first API call.

01

Create account & get $5 free

Sign up in seconds. $5 in free credits added immediately — no card required.

Create account
02

Generate an API key

In your dashboard, create a named API key with optional expiry and credit limits.

Open dashboard
03

Point your tool to NexGate

Set base URL to https://api.nexgate.app/v1. Zero other code changes required.

Drop-in replacement

Just change two lines. Everything else stays the same.

from openai import OpenAI

client = OpenAI(
    api_key="ng-your-key",
    base_url="https://api.nexgate.app/v1"
)

response = client.chat.completions.create(
    model="gpt-5.5",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)

Built for production agents

Everything your coding agent or orchestration system needs.

Toggle sections above to customize the agent prompt below

Model quick-reference

Paste the model ID directly into your tool config. Pricing per million tokens.

Model IDBest forIn / Out /M
gpt-5.5
Recommended400K ctx

Flagship quality — coding, planning, and code review

$5.00 / $30.00
gpt-5.4-mini
Powerful400K ctx

Balanced default when you want lower cost

$0.40 / $1.60
deepseek-v4-pro
Frontier128K ctx

Frontier DeepSeek with enhanced reasoning

$1.93 / $3.83
deepseek-v3.2
Efficient128K ctx

Efficient coding & general chat

$0.28 / $0.42
deepseek-v4-flash
Efficient128K ctx

Ultra-low-cost lightweight tasks

$0.14 / $0.28
grok-4-3
Frontier128K ctx

Latest Grok 4.3 frontier intelligence

$1.25 / $2.50
grok-4-1-fast-reasoning
Fast128K ctx

Fast reasoning at very low cost

$0.20 / $0.50
kimi-k2.6
Long context256K ctx

Very long context agent chat (256K tokens)

$0.95 / $4.00
llama-4-maverick
Open512K ctx

Open model, 512K context

$0.18 / $0.70

Agent system prompt

Paste this into your agent or tool to give it complete NexGate context. Toggle sections above to customize.

3 sections selected · 2,442 chars
# NexGate — OpenAI-Compatible API Gateway

## Connection

Base URL:       https://api.nexgate.app/v1
API Key prefix: ng-{your-key}
Protocol:       OpenAI Chat Completions API (drop-in replacement)

## Quick Start

```python
from openai import OpenAI
client = OpenAI(
    api_key="ng-your-key",
    base_url="https://api.nexgate.app/v1"
)
```

```typescript
import OpenAI from 'openai';
const client = new OpenAI({
  apiKey: 'ng-your-key',
  baseURL: 'https://api.nexgate.app/v1',
});
```

## Available Models

- gpt-5.5
- gpt-5
- gpt-5.4-mini
- gpt-5.4-nano
- gpt-4.1
- gpt-4.1-mini
- gpt-4.1-nano
- gpt-4o
- o4-mini
- deepseek-v4-pro
- deepseek-v3.2
- deepseek-v4-flash
- kimi-k2.6
- grok-4-3
- grok-4-20-reasoning
- grok-4-1-fast-reasoning
- llama-4-maverick
- llama-4-scout

## Multi-Model Access

NexGate exposes all models behind one OpenAI-compatible endpoint. Switch by changing the "model" parameter — no code changes, no re-auth.

Recommended defaults by task:
- gpt-5.5            → flagship quality for coding, planning, and code review
- deepseek-v4-pro    → frontier DeepSeek with enhanced reasoning
- gpt-5.4-mini       → balanced default when you want lower cost
- deepseek-v3.2      → efficient coding and chat
- grok-4-3           → latest Grok 4.3 frontier model
- kimi-k2.6          → very long context (256K tokens)
- llama-4-maverick   → open model, 512K context

## Billing

NexGate uses prepaid credits (1 credit = $1 USD).
- Credits never expire
- No subscriptions, no monthly charges
- Requests deduct exact token cost at time of use
- Dashboard: https://dashboard.nexgate.app
- Top-up at: https://nexgate.app/pricing

There is no risk of unexpected charges beyond your credit balance.

## Streaming

All chat completion models support SSE streaming via OpenAI's stream parameter.

```python
stream = client.chat.completions.create(
    model="gpt-5.5",
    messages=[{"role": "user", "content": "Write a story"}],
    stream=True
)
for chunk in stream:
    if chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)
```

## Getting Started

1. Sign up at https://nexgate.app/sign-up — you receive $5 free credits, no card required
2. Generate an API key at https://dashboard.nexgate.app
3. Set base_url / baseURL to https://api.nexgate.app/v1
4. Replace your OpenAI API key with your NexGate key (starts with "ng-")

Your existing OpenAI SDK code works without modification.
$5 FREE — No credit card required

Start building in minutes

Sign up, grab a key, and your agent is talking to frontier models. No subscriptions, no hidden fees.

Create free account View pricing