OpenAI-Project selects the Model Distillation project by its entity and Weights & Biases project name. Your existing OpenAI client continues to work: the OpenAI SDKs send the header from their project option or the OPENAI_PROJECT_ID environment variable. The model value determines whether the request uses the project’s weighted routing or overrides the model.
What the proxy adds
Project routing
Resolve a project version, choose a weighted target, apply its parameters, and keep conversations sticky.
Credential isolation
Replace the API key with the selected provider credential without forwarding client headers.
Training-grade traces
Record the complete dispatched request and response with project and provider identity.
OpenAI-compatible transport
Preserve non-streaming and streaming Chat Completions response behavior.
Supported routes
With theOpenAI-Project header, model takes one of these values:
metadata["forge.project_version"] selects the project version, such as "2". Omitting it selects version 1.
Routed requests and model overrides are both project traffic. The proxy traces, samples, and caches them in the selected version.
Non-streaming project requests can also opt into exact-response caching with the Forge-Cache-Mode header, which replays an identical earlier response instead of calling the provider.
API: Send a project-routed request (POST /chat/completions)
API: Send a project-routed request (POST /chat/completions)