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