cd /news/ai-tools/near-ai-gateway-easily-use-private-a… · home › topics › ai-tools › article
[ARTICLE · art-168463] src=gateway.near.ai ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

Near AI Gateway: Easily Use Private AI from Claude, Codex and Open Code

NEAR AI launched the Near AI Gateway, a tool that routes AI requests from Claude Code, Codex and OpenCode through private NEAR AI models and lets users review, redact and share coding-session traces in exchange for NEAR AI Cloud inference credits. The Gateway reads only user-selected folders, strips identifying information before any data leaves the machine, and requires review of each trace before sharing; accepted traces must be new and represent real work, and are signed, dated and filed to earn credit. Token, model and session statistics are counted locally on the user's Mac, and usage is paid with the user's NEAR AI credit.

read1 min views4 publishedNov 12, 2026
Near AI Gateway: Easily Use Private AI from Claude, Codex and Open Code
Image: source

Choose which folders to watch

Works with Claude Code, Codex, OpenCode and folders of exported traces. Set each tool to Watch or Not used.

Use private AI models in Claude Code, Codex and OpenCode. See where your tokens go, and earn NEAR AI Cloud inference credits for the traces you choose to share.

From first launch to your first shared trace.

Use private models in the coding tools you already use. Claude Code, Codex and OpenCode send their AI requests through the Gateway, answered by NEAR AI once you sign in.

Nothing switches over until you connect it.

Paid with your NEAR AI credit.

Each call's model, tokens and cost.

NEAR AI Gateway reads only the folders you choose, removes what identifies you before anything can leave, and shows you every trace before it's shared.

read~/work/[REPO·1]/api.ts

runcargo test -p [CRATE·1]

envAPI_KEY=[SECRET·1]

mail[EMAIL·1] “ship it”

editsrc/export.rs +42 −7

✓ 4 redacted · ready to review

Review any trace before and after redaction, then decide whether to share it.

Tokens, models and sessions by week, counted on your Mac. Your task and outcome labels stay on your Mac.

A trace is the record your coding agent keeps of a session. Nothing is shared without your review.

Two checks decide what the commons keeps: a trace has to be new, and it has to be real work. Accepted traces are signed, dated and filed, and earn credit in your NEAR AI account.

── more in #ai-tools 4 stories · sorted by recency
── more on @near ai 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/near-ai-gateway-easi…] indexed:0 read:1min 2026-11-12 · —