[LIVE] [dmitrybryantsew/openai-nim-proxy] 2 endpoint(s)
ChatGPT
API Proxy/ChatGPT
2,124 characters
Status: [LIVE]
Endpoints found:
https://openrouter.ai/api/v1
Source: https://github.com/dmitrybryantsew/openai-nim-proxy
# openai-nim-proxy
OpenAI-compatible proxy for NVIDIA NIM, Chutes, Ollama, GPT4Free sidecar, OpenRouter, TokenRouter, InferX, and B.AI models.
The project started as a NVIDIA NIM proxy, but it now behaves more like an OpenAI-compatible LLM gateway. A future repo/service rename to `openai-llm-gateway` would better describe the current scope without changing the API contract.
The proxy keeps OpenAI-style endpoints, but it does not fake OpenAI model aliases. It exposes real provider models with explicit IDs:
- `nim:<nvidia-model-id>`
- `chutes:<chutes-model-id>`
- `ollama:<ollama-model-name>`
- `g4f:<gpt4free-model-name>`
- `openrouter:<openrouter-model-id>`
- `tokenrouter:<tokenrouter-model-id>`
- `inferx:<inferx-model-id>`
- `bai:<bai-model-id>`
Example: `openrouter:nvidia/nemotron-3-ultra-550b-a55b:free`.
There are eight providers wired up. The authoritative list lives in
`src/model-registry.js` (`'nim', 'chutes', 'ollama', 'g4f', 'openrouter',
'tokenrouter', 'inferx', 'bai'`); if you add one, update both that list and this
README in the same commit — the two have drifted before.
## Model registry
`GET /v1/models` returns cached provider models in OpenAI-compatible format.
Sources:
- NVIDIA NIM: `GET {NIM_API_BASE}/models`, when `NIM_API_KEY` is configured.
- Chutes: `GET {CHUTES_API_BASE}/models`, when `CHUTES_API_KEY` is configured.
- Ollama: `GET {OLLAMA_API_BASE}/models`, when `OLLAMA_ENABLED=true`.
- GPT4Free sidecar: `GET {G4F_API_BASE}/models`, when `G4F_ENABLED=true`. If the sidecar does not return models, `G4F_MODELS` is used as a fallback list.
- OpenRouter: `GET {OPENROUTER_API_BASE}/models`. By default only free text-only-output models are exposed.
- TokenRouter: `GET {TOKENROUTER_API_BASE}/models`, when `TOKENROUTER_API_KEY` is configured.
- InferX: `GET {INFERX_API_BASE}/models`, when `INFERX_API_KEY` is configured. Sends `X-Tenant-Id` from `INFERX_TENANT_ID`.
- B.AI: `GET {BAI_API_BASE}/models`, when `BAI_API_KEY` is configured. B.AI expos