{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "experientiallabs-experiential--run-one-openai-compatible-gateway-for-all-your-models",
 "repo": "experientiallabs/experiential",
 "repo_url": "https://github.com/experientiallabs/experiential",
 "repo_slug": "experientiallabs-experiential",
 "title": "Run one local gateway in front of all your models",
 "page_title": "How to run one local gateway in front of all your models with Experiential",
 "summary": "Start the gateway with exp, get a one-time key and send a normal chat request to a public alias.",
 "who": "A developer who switches between providers and wants a single OpenAI-compatible endpoint with a budget on it.",
 "problem": "Every tool wants its own provider key and URL, and nothing stops one runaway agent from burning through money.",
 "outcome": "A local OpenAI-compatible gateway that answers requests for an alias you chose, with a command budget attached.",
 "steps": [
  "Run `pip install experiential`",
  "Run `exp` to start a local OpenAI-compatible gateway; the setup wizard picks provider, model and reasoning effort, then shows defaults for the public alias, identity and the `$50.00` command budget before printing a one-time key",
  "Choose a public alias such as `opus-5` and capture the issued key",
  "Set the key with `export EXP_GATEWAY_KEY=...`, then send the curl request from the README to `http://127.0.0.1:8000/v1/chat/completions` with your alias as the model and the key in the Authorization header"
 ],
 "agent_prompt": "Install experientiallabs/experiential with `pip install experiential`, start the local gateway with `exp`, and walk me through the setup wizard. Pick the provider and model I choose, create the public alias <alias>, then send the curl test request from the README and show me the response.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Beginner",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "The README shows the local gateway on 127.0.0.1:8000 only; check the docs before exposing it to other machines.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Python with pip to install the package",
  "Provider keys for the models you want to route to (hosted, BYOK or local)",
  "For Capture: macOS, Python 3.13 or newer, and approval for its extension and certificate",
  "Optional: an account on the hosted platform, and Tinker for fine-tuning an open source model"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The gateway holds your provider keys and issues a key of its own, so keep both out of git and out of shared shells."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/experientiallabs-experiential/run-one-openai-compatible-gateway-for-all-your-models/",
 "md": "https://dedupedai.com/use-cases/experientiallabs-experiential/run-one-openai-compatible-gateway-for-all-your-models/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/experientiallabs-experiential--run-one-openai-compatible-gateway-for-all-your-models.json",
 "api_version": "v1"
}
