--- title: "Prism — Adaptive AI Gateway" description: "Prism is a self-hosted adaptive AI gateway for agents and teams." url: https://prism.tm/ --- PRISM — ADAPTIVE AI GATEWAY # One gateway for your models. Connect supported AI providers once. Prism gives your applications one API, selects a suitable route, switches around unavailable or exhausted accounts, and keeps cost, access and diagnostics in one place. [Get started](https://prism.tm/#editions) Read the docs One integration Applications and agents use one API instead of separate provider integrations. Adaptive routing Prism selects among eligible models, providers and accounts using policy and live signals, then performs bounded failover. Operational control Operators manage credentials, quotas, budgets, health, cost and diagnostics centrally. Self-hosted You run the gateway and control its configuration and operational data. 01 / 05 | ONE INTEGRATION ## One API instead of separate provider integrations. Point your applications and agents at your Prism address and use the request shapes they already speak. Prism resolves the route behind it. REQUEST ``` curl https://[your-prism-host]/v1/chat/completions \ -H "Authorization: Bearer $PRISM_KEY" \ -d '{ "model": "auto", "messages": [{"role": "user", "content": "Hello"}] }' ``` ● Prism picks the model, provider and account Endpoints /v1/chat/completions /v1/responses /v1/models Let Prism choose Name a model, or leave the choice to a selector: auto fast smart cheap local For agents and teams Agents keep their own work loop — goals, tools and workspace. They call Prism as their AI gateway. 02 / 05 | ADAPTIVE ROUTING ## The right available route for each request. Prism chooses the right available model, provider and account for each request according to your policy and live operating signals. - Policy first your rules decide which routes are eligible - Live signals capability, health, quota and cost - Bounded failover switches around unavailable or exhausted accounts ROUTE request model: auto \[provider A\] · \[account 1\] quota exhausted ● \[provider A\] · \[account 2\] served Illustration of an account switch 03 / 05 | OPERATIONAL CONTROL ## Cost, access and diagnostics in one place. Manage credentials, quotas, budgets, health, cost and diagnostics centrally. Prism can select lower-cost eligible routes and help reduce avoidable external spend. SPEND ESTIMATE LIVE ALL TIME $\[0000.00\] 30 DAYS $\[0000.00\] 7 DAYS $\[000.00\] answered no answer illustration 04 / 05 | SELF-HOSTED ## Your gateway, on your machine. You run the gateway and control its configuration and operational data. Requests you send on to a provider are processed under that provider's own terms. 1. 01 Install Run Prism on your own Linux or macOS machine. 2. 02 Connect providers Connect supported AI providers and accounts once. 3. 03 Send requests Point your applications and agents at one API. USE CASES ## What people run through Prism. Coding agents on one endpoint Point coding agents, scripts and IDE assistants that accept a custom OpenAI-compatible endpoint at Prism, instead of configuring every provider in every tool. one API · selectors · keys per agent Keep working when a provider fails When a provider is down, rate-limited or out of funds, Prism moves the request to another eligible route and tells you which one served it. failover · funding state · attempt headers Use the subscriptions you already have Connect subscription accounts through OAuth sign-in and route your agents through them alongside API keys. OAuth accounts · account switching Mix local and cloud models Run routine work on local models when they are eligible and keep cloud models for the rest. Mark a request private to forbid cloud calls for it. local runtimes · local selector · private constraint Keep spend under control Give each agent its own key, see cost and tokens for every request, and set budgets that warn, downgrade, switch to local or reject. budgets · cost per request · request log A model runtime for your application Embed Prism as the model layer of your own product: your application calls one API and Prism handles providers, failover and cost. one API · routing · operational controls Teams on one governed gateway COMING SOON Share approved provider resources with a team, apply organizational policy and budgets, and keep an audit record. Prism Enterprise WHY PRISM ## Why Prism. API keys and subscriptions, one API Connect provider API keys and subscription accounts, and route through both from one endpoint. One binary, nothing else to run A single Go binary. No Python, no Docker, no database server to operate. No silent substitution Every attempt is disclosed in response headers, so you always know which provider served a request. Knows when a provider runs dry Providers that run out of funds are set aside and probed again automatically. Free for personal use Prism Personal has no limit on your agents, and Prism takes no share of your provider spend. Local and cloud under one policy Local models when they are eligible, cloud when needed, and a private flag that forbids cloud calls. [See how Prism compares](https://prism.tm/compare/) FEATURES ## What the gateway does. API - OpenAI-compatible endpoints: chat completions, Responses, embeddings, rerank and models - Streaming and non-streaming responses - Pick a concrete route as `provider::model`, or let a selector choose: `auto`, `fast`, `smart`, `cheap`, `local` - Chat Completions requests can be served through an upstream Responses endpoint Routing - Quality floor first, then cost: among models above the floor, Prism ranks by quality per cost; `cheap` takes the lowest-cost eligible model - Failover across providers on rate limits, billing errors, timeouts and outages - No silent substitution: every attempt is disclosed in response headers - Providers that run out of funds are set aside and probed again every 15 minutes by default - A model denylist for automatic selection - Local models when eligible; a `private` constraint forbids cloud calls Providers and accounts - Add a provider with just an API key; models are discovered automatically - Presets for OpenAI, Anthropic, Google Gemini, OpenRouter, Groq, DeepSeek, Together AI, Fireworks AI, DeepInfra and Token Broker - Connect subscription accounts through OAuth sign-in; tokens are stored encrypted and refreshed automatically - Local runtimes: Ollama, llama-server, vLLM, TEI - An egress proxy per provider, HTTP or SOCKS5 Control and cost - Budgets with actions: warn, downgrade, local only, reject - Cost and tokens recorded for every request - Request log and usage history - Keys for your agents: issue, rotate, revoke - Status endpoint and Prometheus metrics - Web console Deployment - A single Go binary: no Python, no Docker, no database server - Linux with systemd and macOS with launchd - Listens on localhost by default - One-command installer Optional, off by default - Local-first orchestration: result checks and at most one escalation to a stronger model - A verifier in measurement-only mode - Fleet telemetry, opt-in 05 / 05 | UNDER LOAD ## A router you cannot see in the latency. Prism sits between your agents and the model providers and decides where each request goes. We measured what that costs: how much it adds to a response, how many requests and open streams an ordinary 4 vCPU machine carries, and how much memory it takes. 0.4 ms Prism's own latency per request. Providers answer in seconds; this disappears in them. 2,000 concurrent streaming responses on 4 vCPU. Every one completed; first token in 49 ms. ~260 MB of memory under sustained load. It does not grow with the number of requests: half a million in a row added nothing. 4,500/s requests per second on 4 vCPU, each one accounted for: cost, tokens, request log. Not a single record lost. Measured on 27–28 September 2026 on 4 logical cores of an Intel Core i5-13500, with one provider and one model; the provider answers instantly so that the numbers show only Prism's cost. The figures describe that machine; other hardware and disks will give other numbers. How we measured EDITIONS ## Personal or Enterprise. PRISM PERSONAL Free Up to 4 people Run one AI gateway for your own agents and applications. Connect your providers and accounts, route through one API, and manage personal usage and cost without a Prism subscription. - No limit on your agents, application credentials or provider accounts - Routing, providers, model catalog, diagnostics, personal cost and budgets [Get started](https://prism.tm/request-access/?topic=personal) PRISM ENTERPRISE COMING SOON $50 per team / month · up to 8 users Give teams one governed gateway to AI providers and accounts. Apply access policy and budgets centrally, share approved resources, and retain the audit record required to operate AI across an organization. - Teams and managed membership - Organizational access policy and shared resource administration - Team budgets and corporate audit [Contact us](https://prism.tm/request-access/?topic=enterprise) Free refers to Prism itself. Provider usage and infrastructure may still cost money. ## Smarter choice. Prism is a self-hosted adaptive AI gateway for agents and teams. [Get started](https://prism.tm/#editions) Read the docs --- title: "Blog — Prism" description: "Notes, measurements and releases from the Prism team." url: https://prism.tm/blog/ --- BLOG # Blog. No posts yet. --- title: "Privacy — Prism" description: "How prism.tm handles personal data: what is collected, why, by whom and for how long." url: https://prism.tm/privacy/ --- PRIVACY | UPDATED 3 OCTOBER 2026 # Privacy. This policy covers the website prism.tm. It does not cover the Prism software you run yourself: a self-hosted Prism gateway processes its data on your own machine, and we do not receive it. ## Who is responsible AEGIS ALPHA SA, c/o Fidraco SA, Baarerstrasse 25, 6300 Zug, Switzerland. Company number CHE-236.808.880. For any question about your personal data, or to exercise your rights, write to [privacy@prism.tm](mailto:privacy@prism.tm). ## No cookies prism.tm does not set cookies and does not store anything in your browser's local or session storage. This is why there is no cookie banner. ## What we process and why ### Visiting the website The site is delivered by Cloudflare, Inc. When you load a page, Cloudflare processes your IP address and request details (address requested, browser and device information) to deliver the page and protect the site against abuse. Requests to our analytics endpoint (prism.tm/p/) are logged by Cloudflare (time, status, address requested and technical metadata) and deleted after 3 days; we use these logs only to operate and debug the site. Legal basis: our legitimate interest in running a secure website (Art. 6(1)(f) GDPR). ### Usage statistics We use PostHog to understand how the site is used: which pages are viewed and for how long, where visitors come from (referring site and campaign parameters), which links and buttons are clicked, how the mouse moves and how far pages are scrolled (to draw heatmaps), how fast pages and their requests load, how far people get with the request-access form, and which technical errors occur (error message and where in the code it happened). Each event includes the page address, your browser, operating system, device type and screen size, and an approximate location (country and city) derived from your IP address. We do not record what you type into the form. PostHog runs in a cookieless mode. Instead of identifying you, it counts visits with a hash calculated on PostHog's servers from your IP address, browser user agent and a salt that changes every day, so the same visitor cannot be recognised across days. We do not build profiles and cannot tell who you are from these statistics. Usage statistics are kept in PostHog for 1 year and then deleted. Legal basis: our legitimate interest in measuring and improving the website (Art. 6(1)(f) GDPR). ### Request-access form When you send the form at [prism.tm/request-access](https://prism.tm/request-access/), your browser sends your name, email address, the topic you chose and your message directly to Formspree, Inc. (United States). Formspree stores the submission in our account, checks it for spam and forwards it to us by email; it also receives your IP address and browser information. We use the data only to reply to you and to handle your request. You are not obliged by law or contract to give us this data. Name, email address, topic and message are needed to send the form; without them we cannot answer your request. When you open the request-access page, it loads Cloudflare Turnstile to keep automated spam out. Turnstile processes your IP address, browser user agent and signals about your browser and device to check that the visitor is a person, whether or not you send the form. If the check cannot be completed, the form cannot be sent; you can write to us at [privacy@prism.tm](mailto:privacy@prism.tm) instead. Cloudflare does not use this data for advertising. Legal basis: steps taken at your request before a possible contract, and our legitimate interest in answering enquiries and preventing spam (Art. 6(1)(b) and (f) GDPR). We keep form submissions, including the copy stored at Formspree, for up to 3 years, unless they lead to an ongoing business relationship, in which case they are kept for as long as that relationship requires. ### Email Emails you send to addresses at prism.tm are received by Cloudflare Email Routing and forwarded to our mailbox in Google Workspace. We use them only to answer you and keep them as long as needed for that conversation and any business relationship that follows. Legal basis: our legitimate interest in answering messages sent to us, or steps taken at your request before a possible contract (Art. 6(1)(f) and (b) GDPR). ### Blog Blog posts are written in Ghost, which runs on a server we rent from Hetzner Online GmbH (Germany). Images in blog posts are loaded from that server (cms.prism.tm), which processes your IP address to deliver them. Legal basis: our legitimate interest in showing images in our blog posts (Art. 6(1)(f) GDPR). ## Who receives data - Cloudflare, Inc. (United States): website delivery, security, Turnstile and receiving email for prism.tm. - PostHog, Inc. (United States): usage statistics, stored in the European Union (Frankfurt, Germany); PostHog may access the data from the United States to provide and support the service. - Formspree, Inc. (United States): receipt, spam filtering and storage of form submissions. - Hetzner Online GmbH (Germany): hosting of blog images. - Google (Google Workspace): our mailbox for email sent to prism.tm addresses; Google may process the data in the United States. These providers process data on our behalf and under our instructions. For Turnstile, Cloudflare also uses the signals for its own purpose of improving bot detection, as an independent controller under its [Turnstile Privacy Addendum](https://www.cloudflare.com/turnstile-privacy-policy/). Data reaches the United States through Cloudflare, PostHog, Formspree and Google. For each of them the transfer relies on the EU–US and Swiss–US Data Privacy Framework where the provider is certified, and otherwise on the European Commission's standard contractual clauses, adapted for Swiss law. You can ask us for a copy of the safeguards that apply. We do not sell personal data and do not use it for advertising. ## Your rights You can ask us for access to your personal data, for its correction or deletion, for restriction of processing or for a copy in a portable format, and you can object to processing based on our legitimate interests. Write to [privacy@prism.tm](mailto:privacy@prism.tm). **Right to object.** Where we process your data on the basis of our legitimate interests, you can object at any time on grounds relating to your particular situation (Art. 21 GDPR). We will then stop, unless we have compelling legitimate grounds or need the data to establish, exercise or defend legal claims. Write to [privacy@prism.tm](mailto:privacy@prism.tm). We do not make decisions about you based solely on automated processing. You can also complain to a data protection authority: in Switzerland, the Federal Data Protection and Information Commissioner (FDPIC); in the European Union, the authority in the country where you live or work. This policy is written to meet the Swiss Federal Act on Data Protection (FADP) and, for visitors in the European Union, the General Data Protection Regulation (GDPR). ## Changes We update this policy when the website changes how it handles personal data. The date at the top shows the latest version. --- title: "Request access — Prism" description: "Prism is not available for download yet. Tell us how you plan to use it and we will get back to you." url: https://prism.tm/request-access/ --- REQUEST ACCESS # Request access. Prism is not available for download yet. Tell us how you plan to use it and we will get back to you. --- title: "Terms — Prism" description: "Terms of use for the website prism.tm." url: https://prism.tm/terms/ --- TERMS | UPDATED 3 OCTOBER 2026 # Terms. These terms apply to your use of the website prism.tm. By using the website you accept them. They do not grant a licence to the Prism software, which will come with its own terms when it is made available. ## Who we are prism.tm is operated by AEGIS ALPHA SA, c/o Fidraco SA, Baarerstrasse 25, 6300 Zug, Switzerland, company number CHE-236.808.880. Contact: [legal@prism.tm](mailto:legal@prism.tm). ## Information on this website The website describes Prism and its planned editions. Prism is not yet available for download, and editions marked "coming soon" are not available. Descriptions of features, prices and editions are general information, not an offer, and may change before Prism becomes available. Any right to use Prism will be granted only under the licence or agreement that comes with it, on the terms stated there. Performance figures on the website describe the measurements stated next to them, on the hardware and under the conditions described there. Other hardware and configurations will give different results. The comparison page describes other products as shown on their public pages on the date stated on that page. These details may have changed since; each product's own pages are authoritative. Product names are trademarks of their owners. We are not affiliated with, endorsed or sponsored by them. ## Using the website You may read the website and share links to it. You may not use it in a way that harms the website or other users, including attempts to break its security, overload it, or send spam through its forms. Automated access, including by search engines and AI systems and for text and data mining, is allowed to the extent [robots.txt](https://prism.tm/robots.txt) permits it, provided it does not overload the website. The plain-text copies at [/llms.txt](https://prism.tm/llms.txt), [/llms-full.txt](https://prism.tm/llms-full.txt) and the Markdown version of each page are provided for that purpose. ## Content and trademarks The website's text and design belong to AEGIS ALPHA SA or its licensors. The Prism name and logo, as used for this product, are names and marks of AEGIS ALPHA SA. You may quote short passages with a link to the source, and automated systems may copy and process the website's text as allowed above. Any other reproduction or adaptation of the website's content requires our written permission. You may use the name Prism to refer to the product, for example in reviews, articles or links; use that suggests we endorse you or that you are affiliated with us requires our written permission. ## Messages you send us When you send us a request through the website or by email, make sure the information is accurate and that you are entitled to share it. How we handle personal data is described in the [privacy policy](https://prism.tm/privacy/). ## Links to other websites The website links to websites we do not control. We are not responsible for their content or their handling of your data. ## Availability and liability We provide the website as it is and may change, suspend or discontinue it at any time. We do not guarantee that it is always available, error-free or complete. The website is provided free of charge. We are liable without limitation for intent and gross negligence, for injury to life, body or health, and under product liability law. In all other cases we are not liable for loss or damage arising from the use of the website or from reliance on its content, except where mandatory law in your country of residence provides otherwise. ## Law and courts These terms are governed by Swiss law. The courts of Zug, Switzerland, have jurisdiction. If you are a consumer, you keep the protection of the mandatory laws of the country where you live and may also bring claims before its courts. ## Changes We may update these terms, for example when the website or the law changes. Changes apply to use of the website from the date they are published here, as shown by the date at the top. Earlier use is governed by the version in force at the time.