Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ jobs:
- name: Type check
run: npm run typecheck

- name: Check repository and image origins
run: npm run test:origins

- name: Build the static export
run: npm run build
env:
Expand Down Expand Up @@ -74,7 +77,7 @@ jobs:
push: true
provenance: false
tags: |
ghcr.io/ncecere/omg-docs:${{ github.sha }}
ghcr.io/ncecere/omg-docs:latest
ghcr.io/bitop-dev/omg-docs:${{ github.sha }}
ghcr.io/bitop-dev/omg-docs:latest
labels: |
org.opencontainers.image.revision=${{ github.sha }}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN npm run build

FROM docker.io/library/nginx:1.31.6-alpine@sha256:df221db836e1754089190208cee7eeda94f233197056426eda74a43ab1abeac2

LABEL org.opencontainers.image.source="https://github.com/ncecere/omg-docs" \
LABEL org.opencontainers.image.source="https://github.com/bitop-dev/omg-docs" \
org.opencontainers.image.description="Open Model Gateway documentation (static site)" \
org.opencontainers.image.licenses="MIT AND CC-BY-4.0"

Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Open Model Gateway docs

The user, administrator and operator documentation for [Open Model Gateway](https://github.com/ncecere/open-model-gateway), the self-hosted AI model gateway for one enterprise. It's published at <https://docs.omg.bitop.dev>; the product's website is <https://omg.bitop.dev>. Both addresses, the repositories and the release the docs describe are in `lib/site.ts`.
The user, administrator and operator documentation for [Open Model Gateway](https://github.com/bitop-dev/open-model-gateway), the self-hosted AI model gateway for one enterprise. It's published at <https://docs.omg.bitop.dev>; the product's website is <https://omg.bitop.dev>. Both addresses, the repositories and the release the docs describe are in `lib/site.ts`.

These pages are for the people who call models through the gateway, the administrators who run an installation, and the operators who host it. The Open Model Gateway repository's own `docs/` folder stays the engineering record (contracts, design notes and runbooks). The docs describe **Open Model Gateway v0.10.0**, released 2026-11-02.

Expand All @@ -22,6 +22,7 @@ npm run dev # http://localhost:3000
| `npm run dev` | Development server with hot reload. |
| `npm run build` | The static export, in `out/`, followed by `check-names` (below). |
| `npm run check:links` | Checks every internal link and anchor in `out/` (run after a build). |
| `npm run test:origins` | Checks current repository/publishing paths and historical release image/signature references. |
| `npm run typecheck` | TypeScript. |
| `npm start` | Serves `out/` locally. |
| `npm run screenshots` | Imports screenshots (below). |
Expand Down Expand Up @@ -96,11 +97,15 @@ nginx (Alpine, pinned by digest) runs as user 101 on port 8080, keeps its pid an

Pushes to `main` run `.github/workflows/publish.yaml`: it type-checks, builds (including `check-names`) and link-checks the site, then builds and pushes a multi-arch image (linux/amd64, linux/arm64):

- `ghcr.io/ncecere/omg-docs:<full commit sha>`
- `ghcr.io/ncecere/omg-docs:latest`
- `ghcr.io/bitop-dev/omg-docs:<full commit sha>`
- `ghcr.io/bitop-dev/omg-docs:latest`

Pull requests run the checks only. Actions are pinned by commit SHA, and Dependabot opens grouped weekly updates for npm, Actions and the Docker base images.

The docs image now publishes under `bitop-dev`; a deployment still pulling `ghcr.io/ncecere/omg-docs` must be updated separately to receive new builds. This repository does not change the hosting configuration.

Gateway image examples remain pinned to the release these docs describe, v0.10.0. That release still pulls from `ghcr.io/ncecere/open-model-gateway` and verifies against its original `ncecere` workflow identity. Repository links use `bitop-dev`, but transferring a repository does not move old packages or change existing signing certificates. See [Container and Compose](content/docs/self-hosting/container.mdx#release-images) for the distinction between historical and post-transfer images.

## Licence

- **Code** (the site's source, scripts and configuration): [MIT](LICENSE).
Expand Down
2 changes: 1 addition & 1 deletion app/brand.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* places at once.
*
* The values come from Open Model Gateway's own dashboard
* (github.com/ncecere/open-model-gateway, main for v0.3.0), which uses the
* (github.com/bitop-dev/open-model-gateway, main for v0.3.0), which uses the
* Bitop UI library: apps/web/src/components/ui/themes/neutral.css (colours:
* cool slate neutrals with an indigo accent, light and dark; shadows) and
* apps/web/src/components/ui/styles/tokens.css (radii, font stack). The
Expand Down
2 changes: 1 addition & 1 deletion content/docs/api/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Open Model Gateway has two HTTP APIs:
- **The management API** under `/api/v1`, used by the dashboard with browser sessions and, from v0.8.0, by scripts with [admin API tokens](/docs/administration/admin-api-tokens). API keys can't use it. See [Management API](/docs/api/management-api).

<Callout title="A supported subset, on purpose">
Each endpoint accepts a documented subset of the vendor's API, and each provider supports a subset of that. Anything outside it is refused with an error, never silently dropped or changed, except where a page says a field is accepted and dropped. This reference is written by hand from the gateway's source. From v0.10.0 the repository also carries a drift-checked OpenAPI 3.1 document of the supported inference API, [`docs/openapi/inference.openapi.json`](https://github.com/ncecere/open-model-gateway/blob/v0.10.0/docs/openapi/inference.openapi.json) (27 operations), checked against the running gateway and the official OpenAI and Anthropic SDKs.
Each endpoint accepts a documented subset of the vendor's API, and each provider supports a subset of that. Anything outside it is refused with an error, never silently dropped or changed, except where a page says a field is accepted and dropped. This reference is written by hand from the gateway's source. From v0.10.0 the repository also carries a drift-checked OpenAPI 3.1 document of the supported inference API, [`docs/openapi/inference.openapi.json`](https://github.com/bitop-dev/open-model-gateway/blob/v0.10.0/docs/openapi/inference.openapi.json) (27 operations), checked against the running gateway and the official OpenAI and Anthropic SDKs.
</Callout>

## Endpoints
Expand Down
6 changes: 3 additions & 3 deletions content/docs/api/management-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ Platform Admins and Auditors still see personal workspaces' totals in platform r

From v0.10.0 the repository carries drift-checked OpenAPI 3.1 documents:

- [`docs/openapi/management.openapi.json`](https://github.com/ncecere/open-model-gateway/blob/v0.10.0/docs/openapi/management.openapi.json): every management route (251 operations), including each route's access policy and admin API token scope, generated from the gateway's route policy and checked against the real handlers.
- [`docs/openapi/inference.openapi.json`](https://github.com/ncecere/open-model-gateway/blob/v0.10.0/docs/openapi/inference.openapi.json): the supported inference API (27 operations).
- [`docs/openapi/management.openapi.json`](https://github.com/bitop-dev/open-model-gateway/blob/v0.10.0/docs/openapi/management.openapi.json): every management route (251 operations), including each route's access policy and admin API token scope, generated from the gateway's route policy and checked against the real handlers.
- [`docs/openapi/inference.openapi.json`](https://github.com/bitop-dev/open-model-gateway/blob/v0.10.0/docs/openapi/inference.openapi.json): the supported inference API (27 operations).

Rules JSON Schema can't express are described in each operation and in `x-omg-*` extensions, which code generators ignore; the extensions are listed in the documents' READMEs beside them. For example, `x-omg-integer-encoding: "json-integer-literal"` records that integers must be JSON integer literals, which ordinary schema validators don't check.

Expand Down Expand Up @@ -163,7 +163,7 @@ All under `/api/v1`.
- `GET /platform/models` also takes `not_in_catalog=<catalog id>` and `not_direct_in=<workspace id>`, to leave out models already in a catalog or assigned to a workspace.
- Audit rows name their actor, workspace and target (`actor_name`, `workspace_name`, `target_name`), and key rows their holder (`issued_to_name`), so the dashboard needn't load every user or workspace.

The complete route list, with bodies and responses, is in the [OpenAPI document](#openapi-documents) and the repository's [`docs/management-api.md`](https://github.com/ncecere/open-model-gateway/blob/v0.10.0/docs/management-api.md) and [`docs/governance-api.md`](https://github.com/ncecere/open-model-gateway/blob/v0.10.0/docs/governance-api.md).
The complete route list, with bodies and responses, is in the [OpenAPI document](#openapi-documents) and the repository's [`docs/management-api.md`](https://github.com/bitop-dev/open-model-gateway/blob/v0.10.0/docs/management-api.md) and [`docs/governance-api.md`](https://github.com/bitop-dev/open-model-gateway/blob/v0.10.0/docs/governance-api.md).

## SCIM

Expand Down
2 changes: 1 addition & 1 deletion content/docs/getting-started/try-it-locally.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The repository includes a local demo: its own PostgreSQL container, a small Open
- Docker with Compose v2
- Rust through `rustup`: the repository pins the compiler (Rust 1.99.1) in `rust-toolchain.toml`, and `rustup` installs it the first time you build
- Node.js 22.12 or later, and npm
- A clone of [the repository](https://github.com/ncecere/open-model-gateway)
- A clone of [the repository](https://github.com/bitop-dev/open-model-gateway)

## Start it

Expand Down
10 changes: 5 additions & 5 deletions content/docs/releases/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ description: Open Model Gateway's releases, what to expect before 1.0, and how r
| [v0.2.0](/docs/releases/v0-2-0) | 2026-10-09 | Alerts and notifications, key safety, model compare, SCIM, signing-key refresh, Prometheus metrics, backups, a browser test suite, realtime audio, async jobs, and budget checks that don't slow down with history. Migrations `0011` to `0017`. |
| [v0.1.0](/docs/releases/v0-1-0) | 2026-10-08 | The single-enterprise gateway: platform roles, Teams, Projects and personal workspaces, catalogs, price lines, stacked budgets, many workloads and providers, logs, Admin settings and the dashboard. Migrations `0001` to `0010`. |

The full history is in the repository's [commits](https://github.com/ncecere/open-model-gateway/commits/main) and [roadmap](https://github.com/ncecere/open-model-gateway/blob/main/docs/roadmap.md).
The full history is in the repository's [commits](https://github.com/bitop-dev/open-model-gateway/commits/main) and [roadmap](https://github.com/bitop-dev/open-model-gateway/blob/main/docs/roadmap.md).

## Before 1.0

Expand All @@ -36,11 +36,11 @@ The full history is in the repository's [commits](https://github.com/ncecere/ope
## How releases are published

- Each release is a Git tag, `vX.Y.Z`, on the main branch.
- From v0.3.0, each release publishes a signed container image to `ghcr.io/ncecere/open-model-gateway`, tagged `vX.Y.Z`, `vX.Y` (the newest patch of that minor version) and `latest-release` (the newest release). Images are signed with cosign keyless signing; check the signature (from v0.4.0 use **cosign v3.0 or newer**, since the signature is stored in its bundle format) and deploy by digest. From v0.3.1 the image is distroless, with no shell. See [Container and Compose](/docs/self-hosting/container#release-images).
- Each [GitHub release](https://github.com/ncecere/open-model-gateway/releases) carries the image digest (`open-model-gateway-vX.Y.Z.digest.txt`), an SBOM per platform and `checksums.txt`.
- From v0.3.0, releases publish a signed container image, tagged `vX.Y.Z`, `vX.Y` (the newest patch of that minor version) and `latest-release` (the newest release at that registry path). The releases documented here, through v0.10.0, use `ghcr.io/ncecere/open-model-gateway` and their original signing identity. New images published after the repository transfer will use `ghcr.io/bitop-dev/open-model-gateway` and the `bitop-dev` workflow identity; old images are not moved or re-signed. Follow the target version's GitHub release for the exact path, digest and certificate identity. Images are signed with cosign keyless signing; check the signature (from v0.4.0 use **cosign v3.0 or newer**, since the signature is stored in its bundle format) and deploy by digest. From v0.3.1 the image is distroless, with no shell. See [Container and Compose](/docs/self-hosting/container#release-images).
- Each [GitHub release](https://github.com/bitop-dev/open-model-gateway/releases) carries the image digest (`open-model-gateway-vX.Y.Z.digest.txt`), an SBOM per platform and `checksums.txt`.
- Each release's notes are also in the repository, in `docs/releases/` (for example `docs/releases/v0.3.2.md`), and the binary reports its release as the `version` of `gateway_build_info`.
- You can still build the image from the tag with the repository's `Dockerfile`. The manual publishing workflow pushes tested images of `main`, tagged with their full commit SHA, for staging.
- You can still build the image from the tag with the repository's `Dockerfile`. In the v0.10.0 source, the manual publishing workflow pushes tested images of `main`, tagged `sha-<short commit SHA>`, for staging.

## What's next

From the [roadmap](https://github.com/ncecere/open-model-gateway/blob/main/docs/roadmap.md), planned and not yet built: an OpenRouter video adapter, using uploaded files in chat requests, image edits and image input, content guardrails (designed, not yet built), native batches for Bedrock and Vertex, more of the realtime interface, active health checks, Azure and Google Vertex AI adapters, rolling back configuration changes, requests for model access and access reviews, reconciliation of OpenAI cost exports, and a Terraform provider in its own repository. A plan, not a promise.
From the [roadmap](https://github.com/bitop-dev/open-model-gateway/blob/main/docs/roadmap.md), planned and not yet built: an OpenRouter video adapter, using uploaded files in chat requests, image edits and image input, content guardrails (designed, not yet built), native batches for Bedrock and Vertex, more of the realtime interface, active health checks, Azure and Google Vertex AI adapters, rolling back configuration changes, requests for model access and access reviews, reconciliation of OpenAI cost exports, and a Terraform provider in its own repository. A plan, not a promise.
6 changes: 3 additions & 3 deletions content/docs/releases/v0-10-0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ This release publishes OpenAPI 3.1 documents for the management API and the supp

Two documents are in the repository at `docs/openapi/`:

- **[Management API](https://github.com/ncecere/open-model-gateway/blob/v0.10.0/docs/openapi/management.openapi.json)**: every management route (251 operations), generated from the gateway's route policies, with each route's access rules, admin-token scopes and error responses. Every documented response is checked against real responses, and request limits are tested over HTTP against a running gateway.
- **[Inference API](https://github.com/ncecere/open-model-gateway/blob/v0.10.0/docs/openapi/inference.openapi.json)**: the supported inference subset (27 operations): models, embeddings, rerank, System One, images, Chat Completions, Responses and Messages (JSON and streaming, tools, usage and refusals), audio, files, batches, the legacy videos route and the realtime WebSocket. The documented examples are replayed through the official OpenAI and Anthropic SDKs. Each protocol keeps its own error format.
- **[Management API](https://github.com/bitop-dev/open-model-gateway/blob/v0.10.0/docs/openapi/management.openapi.json)**: every management route (251 operations), generated from the gateway's route policies, with each route's access rules, admin-token scopes and error responses. Every documented response is checked against real responses, and request limits are tested over HTTP against a running gateway.
- **[Inference API](https://github.com/bitop-dev/open-model-gateway/blob/v0.10.0/docs/openapi/inference.openapi.json)**: the supported inference subset (27 operations): models, embeddings, rerank, System One, images, Chat Completions, Responses and Messages (JSON and streaming, tools, usage and refusals), audio, files, batches, the legacy videos route and the realtime WebSocket. The documented examples are replayed through the official OpenAI and Anthropic SDKs. Each protocol keeps its own error format.

**Integers must be JSON integer literals.** Request integers can't have a fraction, an exponent or be `-0` (pagination `offset` accepts `-0` as zero). JSON Schema can't express this, so both documents declare `x-omg-integer-encoding: "json-integer-literal"`; a generic validator accepts `1.0`, but the gateway refuses it. Rules like this that a schema can't state are described in each operation and in the `x-omg-*` extensions, which SDK generators don't use.

Expand Down Expand Up @@ -91,4 +91,4 @@ With Helm, upgrade the image and chart with `--set migrations.run=true`. See [Up

## Upgrading

The image is `ghcr.io/ncecere/open-model-gateway:v0.10.0@sha256:77a37910d5af8ef26cdacec1f7dac026ba2aee32d9de8fd8ab30c039adbcdbe6`. The [GitHub release](https://github.com/ncecere/open-model-gateway/releases/tag/v0.10.0) has the digest, SBOMs and checksums, and how to verify the signature. See [Upgrades](/docs/self-hosting/upgrades) for the general procedure.
The image is `ghcr.io/ncecere/open-model-gateway:v0.10.0@sha256:77a37910d5af8ef26cdacec1f7dac026ba2aee32d9de8fd8ab30c039adbcdbe6`. The [GitHub release](https://github.com/bitop-dev/open-model-gateway/releases/tag/v0.10.0) has the digest, SBOMs and checksums, and how to verify the signature. See [Upgrades](/docs/self-hosting/upgrades) for the general procedure.
2 changes: 1 addition & 1 deletion content/docs/releases/v0-6-0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: The security release. One outbound address policy, sign-in limits a

Released 2026-10-15. Migrations `0038` to `0048`.

This is the security release. Every outbound connection follows one address policy. Sign-in is rate-limited, and people can see and end their own dashboard sessions. The audit log streams to a SIEM, with numbers that let the receiver spot a lost event. People's data can be exported, removed early and put on legal hold, and there's a documented retention period for each kind. File-store master keys can be retired. A new [threat model](https://github.com/ncecere/open-model-gateway/blob/v0.6.0/docs/threat-model.md) maps each threat to the code and tests that address it.
This is the security release. Every outbound connection follows one address policy. Sign-in is rate-limited, and people can see and end their own dashboard sessions. The audit log streams to a SIEM, with numbers that let the receiver spot a lost event. People's data can be exported, removed early and put on legal hold, and there's a documented retention period for each kind. File-store master keys can be retired. A new [threat model](https://github.com/bitop-dev/open-model-gateway/blob/v0.6.0/docs/threat-model.md) maps each threat to the code and tests that address it.

Several changes can stop email, sign-in, storage or clients until you act. Read [Before you upgrade](#before-you-upgrade) first.

Expand Down
2 changes: 1 addition & 1 deletion content/docs/releases/v0-6-1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ Unchanged from [v0.6.0](/docs/releases/v0-6-0#known-limitations).

## Upgrading

The image is `ghcr.io/ncecere/open-model-gateway:v0.6.1@sha256:4125f40b679fdb0ca846a863c131d53459c665b2ab1c41b270af1bcdfa9a9dbe`. The [GitHub release](https://github.com/ncecere/open-model-gateway/releases/tag/v0.6.1) has the digest, SBOMs and checksums, and how to verify the signature. See [Upgrades](/docs/self-hosting/upgrades) for the general procedure.
The image is `ghcr.io/ncecere/open-model-gateway:v0.6.1@sha256:4125f40b679fdb0ca846a863c131d53459c665b2ab1c41b270af1bcdfa9a9dbe`. The [GitHub release](https://github.com/bitop-dev/open-model-gateway/releases/tag/v0.6.1) has the digest, SBOMs and checksums, and how to verify the signature. See [Upgrades](/docs/self-hosting/upgrades) for the general procedure.
Loading
Loading