Which open-source OpenAI API alternatives can you run yourself?
If a customer contract or a regulation blocks sending patient or EU personal data to the OpenAI API, the closest self-hosted option is OpenAI's own open-weight gpt-oss models (gpt-oss-120b and gpt-oss-20b, Apache 2.0), served through an OpenAI-compatible server such as vLLM or Ollama, with LiteLLM in front as the gateway for keys, budgets and spend. The trade-off is that the self-hosted stack does not reproduce every OpenAI API feature, and your team takes on the hardware, model operations and patching that OpenAI otherwise carries. Before anyone promises a migration, confirm which endpoints your applications call, because the gpt-oss repository warns that the models do not work correctly without the harmony response format, and its example Responses API server does not implement every Responses API feature or event.
This is an alternative to the OpenAI API, not to ChatGPT. Staff who use ChatGPT in a browser are a separate question with a separate contract, so approval decisions should name which product is being replaced. The people who need to sign off are the head of IT or platform engineering (who owns the servers, GPUs and upgrades), the security team (who owns the gateway, the admin login and the logs), and the privacy or compliance lead (who needs the data flow, the retention settings and the list of stateful features that were dropped). Ask each application owner to list the API features they use, such as stored responses, conversations, file search or hosted tools, and check them against the vLLM and Ollama documentation before the review, because Ollama's Responses support is non-stateful and ignores the API key value on its local server.
Treat the LiteLLM decision as a separate approval. Its open-source tier includes virtual keys, budgets, rate limits and spend tracking, but SSO for the admin UI is free only for up to 5 users, and larger SSO deployments, audit logs and role-based access control require a LiteLLM Enterprise license. Ask your team to confirm the user count and audit requirements against LiteLLM's enterprise documentation before you rely on the free tier for regulated access. Check the current release of each component against its repository, since version numbers change quickly, and record the version you approve so the review stays accurate after upgrades.
License and edition terms for each self-hosted component
This table compares the license of each self-hosted component that can replace OpenAI API calls, along with what the open-source tier includes and what requires a paid edition. Read the license column for redistribution and use rights, and the tier column for the controls an assessor will ask about, such as SSO scope, audit logs and role-based access.
| Component | License and latest release | What the open-source tier covers | What needs a paid or enterprise edition |
|---|---|---|---|
| gpt-oss-120b and gpt-oss-20b | Apache 2.0 open-weight models from OpenAI; no release version supplied, so confirm the model version in the repository | Model weights under Apache 2.0; the harmony response format is required for correct output | Not a licensed product tier; the bundled Responses API example server and reference tools are not production-ready per the repository |
| vLLM | Apache 2.0; latest release v0.34.0 from November 16, 2026 | OpenAI-compatible serving for completions, chat completions, responses, embeddings and audio transcriptions | No paid edition supplied; the organization runs authentication, logging and access controls itself |
| Ollama | MIT; latest release v0.40.19 from November 26, 2026 | OpenAI-compatible chat, completions, embeddings, audio and non-stateful Responses endpoints | No paid edition supplied; the local server ignores the API key value, so access control sits outside Ollama |
| LiteLLM AI Gateway | MIT outside its enterprise directory | 100+ model providers behind one OpenAI-format API, virtual keys, budgets, rate limits and spend tracking | Larger SSO deployments, audit logs and role-based access control require a LiteLLM Enterprise license |
| LiteLLM admin UI SSO | Covered by the MIT tier for the admin UI only | SSO for the admin UI is free for up to 5 users | Above 5 users, SSO requires the Enterprise license; confirm the current limit in the LiteLLM enterprise docs |
| Enterprise controls checklist | Confirm in writing with each vendor before approval | Read each license file in the source repository and the enterprise directory | Ask whether audit logging and RBAC are required for your evidence and whether a paid license covers them |
What is free and what your team still has to run
The serving and gateway software in this topic is open source, so the license fee is zero. What your organization pays for is the hardware, the model hosting, and the people who keep the stack running after go-live. The cards separate one-time setup from recurring operations so the budget and staffing conversation starts from the right baseline.
Open-source licenses cost nothing
The license is not the cost. vLLM is licensed under Apache 2.0, Ollama under MIT, and LiteLLM's gateway is MIT licensed outside its enterprise directory. Using these projects in your own environment does not create a per-token fee to the project maintainers. Confirm the license text for each component you deploy, including any enterprise directory or add-on your gateway configuration pulls in, because the free tier and the commercial tier are not the same code path.
vLLM repositoryHardware and capacity planning
Your organization pays for the GPUs or CPUs, the storage, the network and the data center or cloud capacity that run the models. This is the largest recurring cost driver and it scales with model size, concurrent users and latency targets. The sources supplied for this topic do not give hardware sizing for gpt-oss-120b, gpt-oss-20b or any other model. Ask the model and serving vendors to confirm memory and GPU requirements in writing before you buy or reserve capacity.
One-time setup and integration
Initial work includes choosing models, installing the serving software, configuring TLS and SSO, mapping each application's calls from the OpenAI SDK to your endpoints, and testing outputs against your use cases. The gpt-oss models need the harmony response format, and the example Responses API server does not implement every Responses API feature, so application adaptation is a real line item. Ask any services partner to scope this work as a written, fixed deliverable with acceptance tests.
Ongoing upgrades and security patching
Serving software, the gateway and the operating system all receive releases that need testing and rollout. The latest Ollama release listed in the sources is v0.40.19 and the latest vLLM release is v0.34.0, so your team should expect frequent version changes and check each one for changes to the OpenAI-compatible endpoints your applications call. You own vulnerability tracking, patch windows and rollback plans for every component in the stack.
Gateway keys, budgets and access control
LiteLLM's open-source tier includes virtual keys, budgets, rate limits and spend tracking. SSO for the admin UI is free for up to 5 users, while larger SSO deployments, audit logs and role-based access control require a LiteLLM Enterprise license. Your team must decide whether five administrators is enough, who issues and revokes virtual keys, and whether audit logging is needed for your compliance review. Ask LiteLLM to confirm which controls your intended use requires before you choose a tier.
LiteLLM Enterprise docsOn-call, monitoring and incident response
Once applications depend on the self-hosted endpoints, an outage in the model server becomes an outage in your product or workflow. Someone must own alerting, capacity alarms, log retention, and the on-call rotation that responds at night and on weekends. Define who gets paged, what the service levels are internally, and how model or endpoint failures are escalated. Vendors that sell support can cover parts of this, but the accountability for your data and users stays with your organization.
Evidence for your compliance review
A self-hosted stack moves the processor role in-house, so your privacy and security teams must produce the evidence the OpenAI API would otherwise supply through its DPA and certification reports. That includes data flow diagrams, retention settings for logs and prompts, access reviews, and change records for each upgrade. Plan the time to maintain this evidence as a recurring task. None of the open-source projects in this topic issues an audit report or certification for your environment.
Which self-hosted option fits which situation
A small team that needs one model for internal work can often start with a single server. Ollama and vLLM both expose OpenAI-compatible endpoints, so existing client code can point at a server inside your network instead of the hosted API. The trade-off is that a single server gives you little control over who calls it, how much they use, or what gets logged, so the setup is only as strong as the network and host around it.
- Endpoint coverage: vLLM serves
/v1/chat/completions,/v1/responses,/v1/embeddingsand/v1/audio/transcriptions, each limited to models of the matching type. Ollama covers chat completions, completions, embeddings, audio and Responses, but its Responses support is non-stateful. - Authentication: The local Ollama server ignores the API key value, so access control must come from the network layer, a reverse proxy or host firewall.
- Licenses: Ollama is MIT licensed and vLLM is Apache 2.0, but the model weights you load carry their own license terms.
- Versions: Ollama's latest release is v0.40.19 and vLLM's is v0.34.0, so pin the version you test and recheck before upgrades.
- Reproduction gaps: Confirm which Responses features your application depends on, since stateful features such as
previous_response_idare not supported by Ollama.
Before approving this option, confirm which endpoints your applications call and test each one against the self-hosted server.
Larger organizations usually need many users, shared keys, spend limits and a single point where requests are logged. LiteLLM's AI Gateway places 100+ hosted and self-hosted model providers behind one OpenAI-format API, and its open-source tier includes virtual keys, budgets, rate limits and spend tracking. Those controls cover the gateway's core job, but several governance features sit in the enterprise tier.
- Open-source tier: Virtual keys, budgets, rate limits and spend tracking are part of the MIT-licensed gateway outside its enterprise directory.
- Free SSO: LiteLLM's docs say SSO for the admin UI is free for up to 5 users.
- Enterprise license: Larger SSO deployments, audit logs and role-based access control need a LiteLLM Enterprise license, so budget for that line item if auditors will ask for them.
- Model backends: Decide which backends sit behind the gateway, such as a self-hosted vLLM or Ollama server, and document where each request is processed.
- Evidence: Export spend and access records as evidence for your control owners, and confirm with your auditor which logs they accept.
Before committing, ask LiteLLM for the current enterprise feature list and confirm that audit logs and RBAC cover every control you must evidence.
When a model runs inside a product you sell, the question shifts from internal convenience to license terms. Each component has its own license: the server, the gateway, the model weights and any tokenizer or add-on code. Permissive licenses such as MIT and Apache 2.0 are common for the servers, but the model license determines whether you may redistribute, host for customers, or use outputs commercially.
- Server and gateway licenses: Ollama (MIT), vLLM (Apache 2.0) and LiteLLM's open-source tier (MIT outside its enterprise directory) must be checked against how you ship them.
- Enterprise directory code: Code in LiteLLM's enterprise directory is covered by a separate license, so keep it out of a product build unless you hold the enterprise license.
- Model license terms: Each open-weight model has its own terms on commercial use, acceptable use and attribution. Check them model by model.
- Reproduction scope: The gpt-oss models are Apache 2.0, but their reference tools are for educational use and should not be used in production, so do not ship them as product components.
- Customer questionnaires: Expect customers to ask which components and licenses your AI feature uses.
Before release, have counsel review each component license and keep a current software bill of materials for the AI stack.
In an air-gapped network, nothing reaches the internet at runtime, so every model weight, container image, library and gateway package must be brought in through a controlled transfer and verified before it runs. The serving software is not enough on its own: you also need the weights and dependencies that the server loads. Plan the import path before you plan the application.
- Weights and images: Download the gpt-oss weights, the vLLM or Ollama images and any gateway packages from their official sources, then store them in an internal registry.
- Integrity checks: Record checksums or signatures at the point of download, verify them after transfer, and keep the records with your change logs.
- Harmony format: The gpt-oss models were trained on the harmony response format and will not work correctly without it, so test that the format is handled by your serving stack.
- Offline configuration: Confirm that the chosen server and gateway run without calling external services for licensing, telemetry or model downloads.
- Updates: Each version upgrade repeats the transfer and verification, so schedule upgrades as controlled releases.
Before approval, ask your security team to confirm the verification steps and to test a full offline restart of the stack.
Which OpenAI API features the self-hosted stack does not fully reproduce
The self-hosted stack reproduces the request shape of the OpenAI API more closely than its behavior, so the gaps sit in specific features and endpoints. The gpt-oss repository includes an example Responses API server, but it does not implement every Responses API feature and event. Its reference browser and Python tools are described as educational and should not be used in production. An organization that relies on built-in tools, streamed events or hosted state should treat the example server as a reference, not as a drop-in replacement, and should plan to build or harden its own serving layer.
Ollama adds a second set of gaps. Its Responses support is non-stateful, so previous_response_id and conversation are not supported, which means any application that chains turns through server-side state must carry the conversation history itself. The local server also ignores the API key value, so access control cannot rest on the key. A gateway in front of the server, such as LiteLLM with virtual keys, is the place where per-user authentication and spend limits would sit. vLLM has a different constraint: each endpoint, including /v1/chat/completions, /v1/embeddings and /v1/audio/transcriptions, serves only models of the matching type, so a single chat model will not answer an embeddings or transcription call. gpt-oss adds a format requirement: the models were trained on the harmony response format and will not work correctly without it, so the serving stack must apply that format.
Before approving a migration, have the engineering team list every endpoint and parameter each application calls, then test each one against the self-hosted server and record the result. Confirm how the chosen server handles streaming, tool calls, state, file inputs and embeddings, and confirm that the API key check happens at the gateway. Retest after every upgrade, since the Ollama and vLLM release lines move quickly, and keep the test results with the data flow record that your privacy or compliance reviewer will need.
What the licenses require of your organization
The self-hosted stack mixes several licenses, and each one sets different obligations for notices, redistribution and paid features. Review the software license, the model license and any enterprise add-on separately before anyone deploys the stack in production.
Apache 2.0 for gpt-oss and vLLM
OpenAI's gpt-oss-120b and gpt-oss-20b models are released under the Apache 2.0 license, and vLLM, the serving software, uses the same license. Apache 2.0 generally requires you to keep copyright and license notices and to pass them along when you redistribute the software, and it includes a patent grant. Confirm with counsel what attribution and notice steps apply when your staff or customers receive the software or model outputs in products.
gpt-oss repositoryMIT for Ollama and LiteLLM
Ollama is licensed under MIT, and LiteLLM's AI Gateway is MIT licensed outside its enterprise directory. The MIT license is short and permissive, but it still requires the copyright notice and permission notice to be included in copies or substantial portions of the software. Record the license files for each version you deploy so your asset inventory matches what runs in production.
Ollama repositoryModel licenses are separate
The software license does not cover the weights. Each model you download carries its own terms, which can differ from the serving software and can restrict use cases, redistribution or the size of deployments. Read the license attached to each model checkpoint, including the gpt-oss weights, and check whether those terms match how your organization plans to use the outputs before approving the model.
LiteLLM enterprise features need a license
LiteLLM's open-source tier includes virtual keys, budgets, rate limits and spend tracking. SSO for the admin UI is free for up to 5 users, while larger SSO deployments, audit logs and role-based access control require a LiteLLM Enterprise license. If your controls depend on those features, budget for the commercial license and confirm its terms with the vendor before you design around them.
LiteLLM Enterprise docsConfirm obligations with counsel
Open-source licenses can impose attribution, notice and source-availability duties that depend on how you distribute software, modify it or offer it to outside users. Keep a current inventory of every component, version and license, and have counsel confirm what your internal use, customer-facing products and any redistribution require. Revisit the inventory whenever you upgrade or add a model.
What to collect before approving a self-hosted OpenAI API alternative
This sequence turns an informal idea to replace OpenAI API calls with self-hosted models into a file a security, privacy and engineering team can approve, covering licensing, compatibility, data handling, ownership and a way back to the hosted API.
Confirm license terms for every component
Legal or procurement reviews the license text for each piece of the stack: the model weights, the serving software, the gateway and any add-ons. The gpt-oss models (gpt-oss-120b and gpt-oss-20b) are published under the Apache 2.0 license, vLLM is Apache 2.0, Ollama is MIT, and LiteLLM's AI Gateway is MIT outside its enterprise directory. Confirm the license for each specific model you plan to run, because weights are licensed separately from the serving code and not every open model allows commercial use. The step is done when the team holds a dated list of components, versions and license identifiers, with any restrictions noted.
Decide whether LiteLLM open source is enough
Decide which controls you need before choosing a gateway tier. LiteLLM's open-source tier includes virtual keys, budgets, rate limits and spend tracking. Its docs say SSO for the admin UI is free for up to 5 users, while larger SSO deployments, audit logs and role-based access control require a LiteLLM Enterprise license. Map each control your security team requires against that split, and ask the vendor to confirm current terms in writing. The step is done when you have a recorded decision: open-source tier, or Enterprise license with the features it covers named.
Inventory the OpenAI endpoints your applications call
Engineering lists every OpenAI API endpoint and parameter that existing applications use, including chat completions, responses, embeddings, audio transcriptions, and any stateful features. Compare that list with the endpoints the candidate server supports. vLLM documents /v1/completions, /v1/chat/completions, /v1/responses, /v1/embeddings and /v1/audio/transcriptions, each limited to models of the matching type. Ollama supports chat completions, completions, embeddings, audio and Responses, but its Responses support is non-stateful, so previous_response_id and conversation are not supported, and the local server ignores the API key value. The step closes with a gap table that marks each feature as supported, changed or missing.
Test the gap table against a candidate server
Run the application's real request patterns against a pilot instance of vLLM or Ollama in a non-production environment. The gpt-oss repository notes that its models need the harmony response format and will not work correctly without it, so confirm the chosen serving path applies it. Its example Responses API server does not implement every Responses feature and event, and its browser and Python tools are described as educational and not for production, so do not treat them as drop-in replacements. Record pass or fail for each endpoint and each feature in the gap table, and capture any application code changes needed. The step is done when every required feature is either passing or has an approved workaround.
Document data handling and logging
Privacy and security write down what data enters the stack, where it is stored, and what the serving and gateway layers log. Because the models run in your infrastructure, OpenAI's retention defaults do not apply, and your own retention settings replace them. Define prompt and response logging, LiteLLM spend and request logs, access logs, backup scope and deletion procedures, and which sub-processors, if any, still see traffic. Confirm the data classes approved for the stack against your HIPAA, GDPR or FERPA obligations with your compliance lead. The step closes when a data flow diagram and logging standard are signed by the privacy owner.
Assign support and upgrade ownership
Name the team that owns each component: model selection and weight updates, serving software upgrades, gateway configuration, patching of the host operating system and GPUs, and on-call response. Self-hosting moves these tasks from the vendor to your organization, so write down who receives release notes and how security advisories are tracked. Note the current release lines you tested (for example, Ollama v0.40.19 and vLLM v0.34.0 per their GitHub repositories at the time of research) and set a process to re-test before any upgrade. Any external support contract should be quoted from a written scope, and the step is done when a RACI table is approved.
Define the exit path back to the hosted API
Document how the organization would return workloads to the hosted OpenAI API if the self-hosted stack fails, is unsupported, or cannot meet a new requirement. Include the approved OpenAI data controls for that path, such as the regional domain, retention settings and any BAA or DPA you hold, because the exit path must meet the same standard as the original approval. Keep application code behind a single provider interface so switching does not require rewrites, and rehearse the switch once in a test environment. The step is done when the runbook exists, its owner is named, and the approver accepts that the fallback is covered by the existing hosted-API review.
What catches buyers out with a self-hosted API replacement
A self-hosted server that speaks the OpenAI wire format is not the same as the OpenAI API. The gaps sit in feature coverage, authentication, licensing, and how quickly the open-source projects change. Check each one against your own use cases before you approve a replacement.
Responses API feature gaps
The Responses API is only partly reproduced by open-source servers. The gpt-oss repository says its example Responses API server does not implement every feature and event, and vLLM and Ollama each support a subset of the endpoint. Build an inventory of the Responses features your applications call, such as tools, streaming events and stored state, and test each one against the exact server you plan to run. Treat anything missing as a change to your application, not a configuration setting.
gpt-oss repositoryHarmony format is required
The gpt-oss models were trained on the harmony response format and the gpt-oss repository says they will not work correctly without it. A server that sends plain chat messages to these weights can return degraded or malformed output that looks like a model quality problem. Confirm that your serving stack applies the harmony format for gpt-oss, and include that check in acceptance testing before any clinical or customer workflow depends on the output.
Ollama ignores the API key
The Ollama local server ignores the API key value sent with a request. Any client that can reach the port can call the model, and the key cannot act as an access control. Ollama also does not support previous_response_id or conversation on its Responses endpoint, so stateful Responses calls fail. If you use Ollama, place it behind your own gateway or network controls that enforce authentication, and confirm which Responses features your code depends on.
LiteLLM open-source and Enterprise split
LiteLLM's open-source tier includes virtual keys, budgets, rate limits and spend tracking, but SSO for the admin UI is free only for up to 5 users. Larger SSO deployments, audit logs and role-based access control require a LiteLLM Enterprise license. Compliance reviewers often ask for exactly these controls, so price the Enterprise license into the plan before you assume the gateway covers your audit requirements.
LiteLLM Enterprise docsFast-moving release versions
Open-source servers change quickly, so a version you validate today may not be the one you run in six months. Ollama's latest release is v0.40.19 from November 26, 2026, and vLLM's latest is v0.34.0 from November 16, 2026, per their GitHub repositories. Pin the exact version you test, record it in your change log, and set a review date to re-run your compatibility checks when you upgrade.
vLLM repositoryModel licenses differ from software licenses
The serving software and the model weights carry separate licenses. vLLM and Ollama are Apache 2.0 and MIT, and gpt-oss-120b and gpt-oss-20b are Apache 2.0, but other open-weight models often ship under custom terms that restrict commercial use, user counts or acceptable use. Read the model license for every model you plan to host, not only the server license, and have legal confirm that your use case, including customer or patient data processing, is permitted.
Questions buyers ask before choosing a self-hosted alternative
What does it cost to self-host an OpenAI API alternative?
The serving software is free to license: vLLM and LiteLLM's open-source tier are Apache 2.0 and MIT licensed, Ollama is MIT licensed, and gpt-oss-120b and gpt-oss-20b are Apache 2.0 open-weight models. The real costs are the GPUs or servers that run the models, the storage and network inside your infrastructure, and the engineering time to deploy, patch and monitor them. Those are one-time setup costs plus recurring hardware, power and staff time. LiteLLM Enterprise is a separate paid license priced by LiteLLM, so ask LiteLLM for a quote if you need SSO beyond five admin users, audit logs or role-based access control. Ask each vendor which features sit behind a paid license before you budget.
How much staff effort does a self-hosted model stack take?
Effort depends mostly on how many models you run, how many users call them, and how much of the OpenAI API surface your applications use. A single model behind Ollama for a small team is far lighter than a multi-GPU vLLM cluster serving several applications with keys, budgets and monitoring. Other drivers include model size, whether you need high concurrency, how often you upgrade, and how much logging and access control your auditors expect. Ask your engineers to estimate effort for each workload, and track the recurring work: version upgrades (Ollama's latest release is v0.40.19 and vLLM's is v0.34.0 per their repositories), security patches and capacity planning.
Can our internal team run this stack without outside help?
A team with Linux, GPU operations and API gateway experience can run these projects alone, and the software is public, so no vendor contract is needed to start. The harder parts are the ones auditors examine: SSO, access control, audit logging, key rotation, backups and evidence that the setup matches your policies. Before deciding, check whether your staff has done that work for a production service, and whether they can staff on-call coverage. If they cannot, you can hire a services partner for implementation, hardening or testing, with the scope agreed in writing. DeployOpen plans, implements, hardens and documents self-hosted open-source platforms inside your own infrastructure, and it does not issue audit reports or certifications.
What does LiteLLM add when we already run a model server?
LiteLLM puts more than 100 hosted and self-hosted model providers behind one OpenAI-format API, so applications keep one client while you change the model behind it. Its open-source tier also includes virtual keys, budgets, rate limits and spend tracking, which gives finance and security teams a control point for who calls which model. It does not replace your model server or your data controls. Confirm in LiteLLM's documentation which features your use case needs in the open-source tier and which need the Enterprise license, and confirm where its logs are stored, since a gateway that logs prompts becomes a data store you must govern.
Does a self-hosted stack make our AI use compliant with HIPAA or GDPR?
No open-source project is compliant on its own, and no vendor statement can make a deployment compliant for you. Running models in your own infrastructure removes a third-party processor for inference, which changes the analysis, but you still own the controls: access management, encryption, logging, retention, vendor and sub-processor review for any cloud or hosting provider, and documented risk decisions. For HIPAA and GDPR, the question becomes whether your own policies, safeguards and records meet the rules that apply to you. Confirm with your privacy counsel and your assessor what evidence they expect, and keep the self-hosted endpoints inside the scope of your risk assessment and records of processing.
How do we test whether a self-hosted endpoint matches the OpenAI API behavior we need?
Start by listing the exact endpoints and features your applications call, such as chat completions, embeddings, audio transcriptions or the Responses API. Then test each one against the self-hosted server, because support differs by project. vLLM lists /v1/responses, /v1/embeddings and /v1/audio/transcriptions among its OpenAI-compatible endpoints, but each is limited to models of the matching type. Ollama's Responses support is non-stateful, so previous_response_id and conversation are not supported, and its local server ignores the API key value. The gpt-oss example Responses server does not implement every Responses API feature or event, and its browser and Python tools are for education, not production. Record every difference in a parity matrix and decide, per application, whether the gap is acceptable.
Who supports the self-hosted stack when a release breaks an application?
Open-source projects support their own code through public channels, and no project gives you a contractual SLA by default. Your organization owns the production support path unless you buy a support agreement or retainer from a vendor or partner. Ask LiteLLM whether an enterprise license includes support terms and response commitments, and ask any services provider for the support, upgrade and testing terms in its written scope. Also decide in advance how you will pin versions, test upgrades in staging and roll back, since breaking changes between releases are a common source of production incidents.
How the self-hosted parts connect
The flow starts with internal applications that call one LiteLLM gateway using the OpenAI request format. LiteLLM checks each virtual key against its budgets and rate limits, then routes the request to a vLLM or Ollama server running a gpt-oss model inside the organization's network. Check two things before relying on it: that the gateway's SSO and audit logging are covered by the open-source tier or a LiteLLM Enterprise license, and that the serving server supports the endpoints your applications call, since Ollama's Responses support is non-stateful.
Internal apps reach gpt-oss models only through the LiteLLM gateway.
How DeployOpen helps you run a self-hosted OpenAI API alternative
DeployOpen plans, implements, hardens and documents self-hosted open-source AI platforms inside your own cloud accounts, data centers or air-gapped networks. For OpenAI API alternatives, we start by mapping which of your current API calls the self-hosted stack must reproduce, then build, test and hand over the setup so your security and compliance teams can review it.
How we scope
- We map which OpenAI API endpoints and features your applications call today, such as chat completions, Responses, embeddings or audio transcription.
- We agree which models, serving software and gateway features are in scope, including whether a gateway such as LiteLLM handles keys and spend.
- We confirm the written scope, deliverables and timeline before work starts, since most engagements are fixed-scope.
How we build
- We deploy the model server, such as vLLM or Ollama, inside your infrastructure with access control and audit logging you can review.
- We configure the gateway for virtual keys, budgets and rate limits, and wire SSO where your licensing and user count allow it.
- We test endpoint compatibility against the calls your applications make, and document every feature the self-hosted stack does not reproduce.
How we hand over
- You receive architecture documentation, configuration records and the data handling controls your privacy and security reviewers need.
- We run security testing on the deployed stack, deliver a findings report with fixes, and retest the items you choose to remediate.
- We walk your engineering and compliance teams through the setup so they can operate and audit it without us.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers when your open-source versions change.
- We help you prepare system descriptions and control evidence for compliance assessments, though independent auditors issue any reports.
- We review model, server and gateway upgrades against your written scope before they reach production.

