Status: [LIVE]
Endpoints found:
https://integrate.api.nvidia.com/v1/chat/completions
https://integrate.api.nvidia.com/v1/chat
https://integrate.api.nvidia.com/v1/chat/completions?stream=true
Source: https://github.com/ak-a-ra/nvidia-api-proxy-go
# nvidia-api-proxy-go
*Keep your NVIDIA API key behind a token you control*
[](https://go.dev/)
[](go.mod)
[](proxy.go)
[Features](#features) · [Quick start](#quick-start) · [Configuration](#configuration) · [Endpoints](#endpoints) · [Deploy](#deploy-to-render) · [Development](#development)
A small, standard-library-only Go reverse proxy for the [NVIDIA API](https://docs.api.nvidia.com/). Client applications call the proxy with your own bearer token. The proxy replaces that token with the real NVIDIA API key before forwarding requests upstream.
```mermaid
flowchart LR
client["Client application
Bearer PROXY_AUTH_TOKEN"] -->|"/v1/*"| proxy["nvidia-api-proxy-go"]
proxy -->|"Bearer NVIDIA_API_KEY"| nvidia["NVIDIA API"]
nvidia -->|"streaming response"| proxy
proxy --> client
```
## Features
- **Key isolation** keeps `NVIDIA_API_KEY` on the server.
- **Drop-in routing** preserves `/v1/*` paths and query strings.
- **Streaming responses** flush each chunk, including server-sent events.
- **Bearer authentication** compares SHA-256 digests in constant time.
- **Timeout controls** bound upstream pre-response and per-chunk idle time.
- **Cancellation** stops upstream work when a client disconnects.
- **Header safety** strips hop-by-hop fields and preserves response cookies.
- **Graceful shutdown** handles `SIGTERM` for zero-downtime deployments.
- **Zero dependencies** uses only the Go standard library.
## Quick start
### Prerequisites
- Go 1.24 or newer
- An NVIDIA API key
- A long, random token for proxy clients
### Run locally
From the project directory:
```bash
cp .env.example .env
# Edit .env and replace both placeholder secrets.
set