You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example model identifiers are illustrative and subject to change; consult provider catalogs for current models. Feature columns reflect gateway API support, not every individual model capability exposed by an upstream provider.
50
+
51
+
| Provider | Credential | Example Model | Chat |`/responses`| Embed | Files | Batches | Passthru |
|`/v1/batches/{id}`| GET | Retrieve one stored batch |
171
124
|`/v1/batches/{id}/cancel`| POST | Cancel a pending batch |
172
125
|`/v1/batches/{id}/results`| GET | Retrieve native batch results when available |
126
+
|`/p/{provider}/...`| GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS | Provider-native passthrough with opaque upstream responses |
173
127
|`/v1/models`| GET | List available models |
174
128
|`/health`| GET | Health check |
175
129
|`/metrics`| GET | Prometheus metrics (when enabled) |
176
130
|`/admin/api/v1/usage/summary`| GET | Aggregate token usage statistics |
177
131
|`/admin/api/v1/usage/daily`| GET | Per-period token usage breakdown |
132
+
|`/admin/api/v1/usage/models`| GET | Usage breakdown by model |
133
+
|`/admin/api/v1/usage/log`| GET | Paginated usage log entries |
134
+
|`/admin/api/v1/audit/log`| GET | Paginated audit log entries |
135
+
|`/admin/api/v1/audit/conversation`| GET | Conversation thread around one audit log entry |
178
136
|`/admin/api/v1/models`| GET | List models with provider type |
137
+
|`/admin/api/v1/models/categories`| GET | List model categories |
179
138
|`/admin/dashboard`| GET | Admin dashboard UI |
139
+
|`/swagger/index.html`| GET | Swagger UI (when enabled) |
180
140
181
141
---
182
142
183
143
## Configuration
184
144
185
-
GOModel is configured through environment variables. See [`.env.template`](.env.template) for all options.
145
+
GOModel is configured through environment variables and an optional `config.yaml`. Environment variables override YAML values. See [`.env.template`](.env.template)and [`config/config.example.yaml`](config/config.example.yaml)for the available options.
186
146
187
147
Key settings:
188
148
189
149
| Variable | Default | Description |
190
150
|----------|---------|-------------|
191
151
|`PORT`|`8080`| Server port |
192
152
|`GOMODEL_MASTER_KEY`| (none) | API key for authentication |
153
+
|`ENABLE_PROVIDER_PASSTHROUGH`|`true`| Enable provider-native passthrough routes under `/p/{provider}/...`|
193
154
|`CACHE_TYPE`|`local`| Cache backend (`local` or `redis`) |
|`GUARDRAILS_ENABLED`|`false`| Enable the configured guardrails pipeline |
197
159
198
160
**Quick Start — Authentication:** By default `GOMODEL_MASTER_KEY` is unset. Without this key, API endpoints are unprotected and anyone can call them. This is insecure for production. **Strongly recommend** setting a strong secret before exposing the service. Add `GOMODEL_MASTER_KEY` to your `.env` or environment for production deployments.
199
161
@@ -205,28 +167,34 @@ See [DEVELOPMENT.md](DEVELOPMENT.md) for testing, linting, and pre-commit setup.
205
167
206
168
# Roadmap
207
169
208
-
## Features
170
+
## Shipped
171
+
172
+
| Area | Status | Notes |
173
+
| ---- | :----: | ----- |
174
+
| OpenAI-compatible API surface | ✅ |`/v1/chat/completions`, `/v1/responses`, `/v1/embeddings`, `/v1/files*`, `/v1/batches*`, and `/v1/models` are implemented. |
175
+
| Provider passthrough | ✅ | Provider-native passthrough routes are available under `/p/{provider}/...`. |
176
+
| Observability | ✅ | Prometheus metrics, audit logging, usage tracking, request IDs, and trace-header capture are implemented. |
177
+
| Administrative endpoints | ✅ | Admin API and dashboard ship with usage, audit, and model views. |
178
+
| Guardrails | ✅ | The guardrails pipeline is implemented and can be enabled from config. |
179
+
| System prompt guardrails | ✅ |`inject`, `override`, and `decorator` modes are supported. |
180
+
181
+
## In Progress
209
182
210
-
| Feature | Basic | Full |
211
-
| -------------------------- |:-----:|:----:|
212
-
| Billing Management | 🚧 | 🚧 |
213
-
| Full-observability | 🚧 | 🚧 |
214
-
| Budget management | 🚧 | 🚧 |
215
-
| Many keys support | 🚧 | 🚧 |
216
-
| Administrative endpoints | ✅ | 🚧 |
217
-
| Guardrails | ✅ | 🚧 |
218
-
| SSO | 🚧 | 🚧 |
219
-
| System Prompt (GuardRails) | ✅ | 🚧 |
183
+
| Area | Status | Notes |
184
+
| ---- | :----: | ----- |
185
+
| Billing management | 🚧 | Usage and pricing primitives exist, but billing workflows are not complete. |
186
+
| Budget management | 🚧 | Gateway-level budget enforcement and policy controls are not implemented yet. |
187
+
| Guardrails depth | 🚧 | The system prompt guardrail is available today; broader guardrail types are still to come. |
188
+
| Observability integrations | 🚧 | Native Prometheus support exists; OpenTelemetry and DataDog integrations are still pending. |
220
189
221
-
## Integrations
190
+
## Planned
222
191
223
-
| Integration | Basic | Full |
224
-
| ------------- |:-----:|:----:|
225
-
| Prometheus | ✅ | 🚧 |
226
-
| DataDog | 🚧 | 🚧 |
227
-
| OpenTelemetry | 🚧 | 🚧 |
192
+
| Area | Status | Notes |
193
+
| ---- | :----: | ----- |
194
+
| Many keys support | 🚧 | The gateway still uses one configured credential/base URL per provider. |
195
+
| SSO / OIDC | 🚧 | No SSO implementation is present yet. |
0 commit comments