VI EN
API Documentation

API Usage Guide

Pick your key type → 3 steps → go.

OpenAI · Anthropic compatible api.nghimmo.com

Which key did you buy?

Connection

Base URLhttps://api.nghimmo.com
Keysk-xxxxxxxxxxxx
No /v1. Cursor Pro is the exception — add /v1.

Models

Strongest, for hard tasks. Newest: nghi/claude-opus-5.

nghi/claude-opus-5
nghi/claude-opus-5-thinking
nghi/claude-opus-4.8
nghi/claude-opus-4.8-thinking
nghi/claude-opus-4.7
nghi/claude-opus-4.7-thinking
nghi/claude-opus-4.6
nghi/claude-opus-4.6-thinking
nghi/claude-opus-4.5
nghi/claude-opus-4.5-thinking

Daily driver. Newest: nghi/claude-sonnet-5.

nghi/claude-sonnet-5
nghi/claude-sonnet-4.6
nghi/claude-sonnet-4.6-thinking
nghi/claude-sonnet-4.5
nghi/claude-sonnet-4.5-thinking
nghi/claude-sonnet-4
nghi/claude-sonnet-4-thinking

Light work, cheap on tokens.

nghi/claude-haiku-4.5
nghi/claude-haiku-4.5-thinking

Server picks the model.

nghi/auto

Setup

  1. Install Claude Desktop: claude.com/download — not Microsoft Store.
  2. Download the tool, paste key → Apply:

    macOS Windows

  3. Reopen the app → Continue with Gateway.

If your OS blocks the tool: macOS right-click → Open · Windows → More info → Run anyway.

New key: paste → Apply. Remove: Reset.
Mac — tool OK but Gateway not showing
  1. Install Claude from the .dmg at claude.com/download — not the App Store.
  2. Cmd+Q to fully quit Claude before running the tool.
  3. If double-click fails, use Terminal:
cd ~/Downloads
xattr -d com.apple.quarantine ClaudeKeyTool.command 2>/dev/null
chmod +x ClaudeKeyTool.command
bash ClaudeKeyTool.command

Verify config was written:

ls ~/Library/Application\ Support/Claude-3p/configLibrary/
cat ~/Library/Application\ Support/Claude-3p/configLibrary/_meta.json

Open Claude → choose Continue with Gateway (do not sign in to claude.ai). Tool log: ~/Library/Logs/claude-key-tool.log

  1. npm install -g @anthropic-ai/claude-code
  2. Download into your code folder, double-click → enter key:

    Windows Mac

Manual setup

Edit ~/.claude/settings.json:

{
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.nghimmo.com",
    "ANTHROPIC_AUTH_TOKEN": "sk-xxxxxxxxxxxx",
    "ANTHROPIC_MODEL": "nghi/claude-opus-4.8",
    "ANTHROPIC_DEFAULT_OPUS_MODEL": "nghi/claude-opus-5",
    "ANTHROPIC_SMALL_FAST_MODEL": "nghi/claude-haiku-4.5"
  }
}
  1. Install the Claude Code extension (Anthropic).
  2. Close all IDE windows → download → double-click → enter key:
    ToolWindowsMac
    VS Code.bat.command
    Cursor.bat.command
    Antigravity.bat.command
Already used ClaudeKeyTool: just Ctrl+Shift+PReload Window.
  1. Ctrl+Shift+JModels
  2. Enable Override OpenAI Base URLhttps://api.nghimmo.com/v1
  3. Paste key → Verify → add nghi/claude-sonnet-4.6
Turn off all of Cursor's default models.
  1. Chatbox → Settings → Model Provider → Claude
  2. API Host https://api.nghimmo.com/v1 · Key sk-...
  3. Add nghi/claude-sonnet-4.6Test Model

Connection

Base URLhttps://api.nghimmo.com/v1
Keysk-xxxxxxxxxxxx
Always with /v1. Grok keys don't run Claude Code.

Models

Send no model and you get nghi/grok-4.5.

ModelUse for
nghi/grok-4.5Strongest — code, agents
nghi/grok-4.31M context, cheaper
nghi/grok-4.20-0309-reasoningWith reasoning
nghi/grok-4.20-0309-non-reasoningFast, cheap
nghi/grok-4.20-multi-agent-0309Deep research
nghi/grok-build-0.1Code / agent
nghi/grok-composer-2.5-fastFast coding in Cursor
nghi/grok-4.5-latest
nghi/grok-build-latest
Aliases of grok-4.5
nghi/grok-3-mini
nghi/grok-3-mini-fast
Legacy
These 11 only. A wrong name errors out. No image/video models.

Setup

  1. Ctrl+Shift+JModels
  2. Enable Override OpenAI Base URLhttps://api.nghimmo.com/v1
  3. Paste key → Verify → add nghi/grok-4.5
Turn off all of Cursor's default models.

Cline / Roo Code: Settings → API Provider OpenAI Compatible → fill in:

Base URL : https://api.nghimmo.com/v1
API Key  : sk-xxxxxxxxxxxx
Model    : nghi/grok-4.5

Continue: edit ~/.continue/config.yaml:

models:
  - name: Nghimmo Grok
    provider: openai
    model: nghi/grok-4.5
    apiBase: https://api.nghimmo.com/v1
    apiKey: sk-xxxxxxxxxxxx

LobeChat, NextChat, Open WebUI… — any OpenAI-compatible app:

Base URL : https://api.nghimmo.com/v1
API Key  : sk-xxxxxxxxxxxx
Model    : nghi/grok-4.5
  1. Chatbox → Settings → Model Provider → OpenAI API Compatible
  2. API Host https://api.nghimmo.com/v1 · Key sk-...
  3. Add nghi/grok-4.5 → Test

Connection

Base URLhttps://api.nghimmo.com/v1
Keysk-xxxxxxxxxxxx
Always with /v1. Codex keys don't run Claude Code.

Models

ModelUse for
nghi/gpt-5.5Default — stable
nghi/gpt-5.6-solStrongest, token-hungry
nghi/gpt-5.6-terraBalanced
nghi/gpt-5.6-lunaFast, cheap
nghi/gpt-5.4Large context
nghi/gpt-5.4-miniSmall tasks, subagents
nghi/codex-auto-reviewAutomatic code review
Codex keys reject Claude and Grok models.

Setup

  1. Install ChatGPT from Microsoft Store (by OpenAI).
  2. Download the tool → Desktop → paste key → Sign in:

    macOS Windows

  3. Quit ChatGPT fully, reopen → use ChatGPT Work / Codex.
Remove: tool → Reset.
Microsoft Store — ChatGPT by OpenAI
  1. Ctrl+Shift+JModels
  2. Enable Override OpenAI Base URLhttps://api.nghimmo.com/v1
  3. Paste key → Verify → add nghi/gpt-5.5
Turn off all of Cursor's default models.

Cline / Roo Code: Settings → API Provider OpenAI Compatible → fill in:

Base URL : https://api.nghimmo.com/v1
API Key  : sk-xxxxxxxxxxxx
Model    : nghi/gpt-5.5

Continue: edit ~/.continue/config.yaml:

models:
  - name: Nghimmo Codex
    provider: openai
    model: nghi/gpt-5.5
    apiBase: https://api.nghimmo.com/v1
    apiKey: sk-xxxxxxxxxxxx

LobeChat, NextChat, Open WebUI… — any OpenAI-compatible app:

Base URL : https://api.nghimmo.com/v1
API Key  : sk-xxxxxxxxxxxx
Model    : nghi/gpt-5.5
  1. Chatbox → Settings → Model Provider → OpenAI API Compatible
  2. API Host https://api.nghimmo.com/v1 · Key sk-...
  3. Add nghi/gpt-5.5 → Test

Save Tokens

Tokens Left

Paste your key on the check page.

Check key