Which open-source options replace Mistral AI when data cannot leave your infrastructure
When a regulation, customer contract or residency rule blocks sending data to Mistral's hosted services, the two closest self-hosted options from the supplied facts are Mistral Small 4 served with vLLM and Docling for document parsing and OCR. Mistral Small 4 is released under the Apache 2.0 license on Hugging Face, and its model card recommends vLLM, an Apache-2.0 inference engine with an OpenAI-compatible API server. Docling is MIT licensed and parses PDF, DOCX, PPTX, XLSX, HTML and images with OCR, layout, reading order and table structure. The main trade-off is that open weights give you the model, not the hosted features. Agents, libraries and Document AI in Studio are hosted services, so you must rebuild or drop any workflow that depends on them.
Mistral's own OCR 4 option is a different case. Mistral's OCR 4 announcement says self-managed deployment is available to enterprise customers, but the model card lists its licence as Premier rather than open weights. That makes it a commercial licence to confirm with Mistral, not an open-source component you can audit and redistribute freely. Ask for the licence terms in writing, including what runs on your hardware, who receives usage or telemetry data, and how updates are delivered.
Keep this question separate from where Mistral hosts data. The EEA default, the US endpoint used only when a customer selects it, and the sub-processor list are covered on the sibling GDPR and zero data retention pages. Self-hosting changes who processes the data, so your own security team should review the serving stack, access controls, logging and backups as part of the same approval.
License and edition terms for each Mistral option you can self-host
This table compares the licence and edition terms for four self-hostable pieces: Mistral Small 4, vLLM, Docling and self-managed Mistral OCR 4. Read each row to see what the licence permits, what it restricts and who can obtain it. The main takeaway is that the Apache 2.0 and MIT options are open to any organization, while OCR 4 self-managed depends on an enterprise agreement with Mistral.
| Option | Licence and access | What it permits | What to confirm |
|---|---|---|---|
| Mistral Small 4 (119B, about 6.5B active per token) | Apache 2.0, published on Hugging Face | Running, modifying and redistributing the weights, including inside your own infrastructure | Attribution and notice obligations in the licence file, and whether your use case needs legal review |
| vLLM inference engine | Apache 2.0 | Serving models in-house with an OpenAI-compatible API server, on NVIDIA, AMD or Intel GPUs and x86, ARM or PowerPC CPUs | Supported hardware and model versions for your target GPUs before you commit to a build |
| Docling (IBM Research Zurich origin, hosted by LF AI & Data Foundation) | MIT | Local parsing of PDF, DOCX, PPTX, XLSX, HTML and images, including for sensitive data and air-gapped environments | Dependencies and any OCR engine add-ons, which carry their own licences |
| Mistral OCR 4, self-managed deployment | Premier licence, not open weights, available to enterprise customers | Self-managed deployment only under the terms of an enterprise agreement with Mistral | Licence text, usage limits, support, update rights and price directly with Mistral in writing |
What is free, what is licensed, and what your team must run
Running Mistral models or an OCR pipeline yourself splits into three buckets: open-source software under permissive licenses, a separately licensed enterprise option, and the infrastructure and operations work that stays with your team. Keep these apart in your budget and your approval memo, because only the first carries no license fee under its listed terms.
Open-weight model under Apache 2.0
Mistral Small 4 is released under the Apache 2.0 license on Hugging Face, so the weights can be downloaded and run on your own infrastructure under that license. Confirm the license text on the model card against your legal team's reading before approval, and check that any derivative or fine-tuned version you create keeps the terms you expect. The license covers the weights only, not the hosted Studio or Vibe features.
Model cardvLLM serving software
vLLM is an Apache-licensed inference engine with an OpenAI-compatible API server, and the Mistral Small 4 model card recommends it for serving. Its license carries no fee, but your team pays for the GPUs or CPUs it runs on, the engineering to configure it, and the patching that follows each release. Ask your platform team to confirm which GPU vendors and batch settings they will validate.
vLLM repositoryDocling for document parsing
Docling is MIT licensed and parses PDF, DOCX, PPTX, XLSX, HTML and images with OCR, layout, reading order and table structure. Its repository lists local execution for sensitive data and air-gapped environments as a feature. It is a practical open-source route for document pipelines that must stay inside your network, though it is a different engine from Mistral OCR 4, so accuracy on your own documents needs its own test.
Docling repositoryMistral OCR 4 self-managed licence
Mistral's OCR 4 announcement says self-managed deployment is available to enterprise customers, and the model card lists its license as Premier rather than open weights. Treat this as a commercial agreement: the fee, term, support scope and update rights must be quoted in writing and reviewed by procurement before you plan a deployment around it. Do not assume it shares the Apache terms of Mistral Small 4.
- OCR 4 announcement
- June 23, 2026
Hardware and capacity
Mistral Small 4 has 119B parameters, with about 6.5B active per token, so the memory and GPU count you need depend on precision, context length and concurrency. Hardware sizing must be confirmed against the model card and your own load tests, not estimated from parameter counts. Ask whether your GPU vendor, driver stack and serving configuration are supported for the exact model build you plan to run.
Operations your team carries
Self-hosting moves uptime, patching, capacity planning, monitoring, access control, logging, backups, model and library upgrades, incident response and on-call coverage to your organization. Hosted Studio and Vibe features such as agents, libraries and Document AI in Studio are not included in open weights. Write down who owns each task, what it costs in staff time, and how security review of each upgrade will happen before you commit.
Which self-hosted path fits your organization
A small team that wants staff to draft, summarize or classify internal text can often start with an open-weight model served on infrastructure the organization already controls. Mistral Small 4 is released under the Apache 2.0 license, and its model card recommends serving it with vLLM, an Apache-2.0 inference engine with an OpenAI-compatible API server. The model runs the inference, but it does not bring the hosted Studio, agents or libraries with it, so the team must build or choose its own access control and logging.
- Hardware sizing: Confirm GPU memory and throughput for the model size on the model card before ordering hardware, since the model has 119B total parameters.
- Access path: Place the endpoint behind SSO and an internal gateway so only approved users and applications reach it.
- Logging: Decide what prompts and responses are logged, for how long, and who can read those logs.
- Feature gap: Hosted Studio features such as agents and libraries are not included, so list which workflows the team still needs from a vendor.
- Updates: Assign an owner to track model and vLLM releases and retest after each change.
Before approving this path, confirm with the security team that the endpoint, logs and any sensitive text stay inside the approved network boundary.
A regulated or large organization that processes many scanned forms, claims, contracts or records needs OCR that fits its data residency and audit requirements. Docling, started by IBM Research Zurich and hosted by the LF AI & Data Foundation, is MIT licensed and parses PDF, DOCX, PPTX, XLSX, HTML and images with OCR, layout, reading order and table structure. Its repository lists local execution for sensitive data as a feature, so documents can stay inside the organization's environment.
- Pipeline scope: Map which document types and volumes the pipeline must handle, and test table and layout accuracy on real samples from your own archive.
- Mistral OCR 4 option: Mistral's OCR 4 announcement, dated June 23, 2026, says self-managed deployment is available to enterprise customers, but the model card lists its licence as Premier rather than open weights, so request the license terms in writing.
- Quality review: Set acceptance thresholds and a human review step for extracted fields used in decisions.
- Records handling: Define retention for source files and extracted text, and confirm deletion works across intermediate storage.
- Capacity planning: Ask the internal platform team to size compute for peak batch loads.
Before approving, ask the compliance team which extracted data counts as regulated, and confirm the pipeline logs match that classification.
A software company that wants to ship an AI feature to its own customers must treat each open-source component as part of its distributed product. Apache 2.0 and MIT licenses are permissive, but they carry their own attribution and notice duties, and some model cards add use terms beyond the license. Vendors and customers reviewing the product will ask which components run where, so the team needs a current inventory before the feature goes into a customer security review.
- Attribution duties: Verify the notice and attribution requirements of the Apache 2.0 model and the MIT licensed document parser, and include them in the release package.
- Model terms: Read the Hugging Face model card and any added terms for the specific model version, not only the license name.
- Data flows: Document which customer data reaches the self-hosted endpoint and whether your own hosting is in the customer's region.
- Security testing: Test prompt injection and data exposure on the shipped configuration before customers review it.
- Evidence pack: Prepare the answers customers request, such as data handling, sub-processors and logging.
Before release, have counsel confirm the license obligations for every component in the shipped build.
An organization with no outbound internet path, such as a defense, government or critical infrastructure network, can run the document pipeline and the model locally, provided every artifact is transferred in and verified. Docling's local execution for sensitive data and air-gapped environments applies to the parser. Mistral's hosted Studio features such as agents, libraries and Document AI in Studio are hosted services, so they are not available in this setting even if the model weights are present.
- Artifact transfer: Define how model weights, container images and Docling packages enter the network, and who approves each import.
- Hosted feature gap: Document which Studio and Vibe capabilities are unavailable, and redesign workflows around the self-hosted stack.
- Dependency checks: Confirm the serving stack has no runtime calls to external hosts, including telemetry and model downloads.
- Patching: Plan how security fixes reach an isolated network and how they are tested before deployment.
- Access and audit: Keep authentication, admin rights and audit logs inside the network, and review them on the organization's own schedule.
Before approval, test the deployed stack from inside the isolated network to confirm no traffic leaves it.
How vLLM, Mistral Small 4 and Docling fit together in a private pipeline
The core decision in this pipeline is that documents never leave the organization's network. Docling parses PDF, DOCX, PPTX, XLSX, HTML and image files inside your infrastructure, extracting text, layout, reading order and table structure. The parsed text is then sent to Mistral Small 4, which is released under the Apache 2.0 license and served by vLLM. vLLM is an Apache-2.0 inference engine with an OpenAI-compatible API server, so applications written against that API format can point at an internal endpoint instead of a vendor cloud. Its published hardware support covers NVIDIA, AMD and Intel GPUs and x86, ARM and PowerPC CPUs, which lets you match the serving hardware to your procurement and data center standards. Confirm the GPU memory and count your deployment needs for Mistral Small 4 with the model card and vLLM documentation before you buy hardware.
Each hop in this chain is a place where personal data can be copied, so map it before go-live. Confirm that Docling runs in an air-gapped or restricted network segment, that model weights are pulled once through an approved channel and verified, and that no component phones home for telemetry or model updates. Docling's repository lists local execution for sensitive data and air-gapped environments as a feature, but the surrounding container images, Python dependencies and any OCR language packs still need review by your security team. Also confirm which vLLM endpoints are exposed, and whether the server sits behind a gateway that enforces the same access rules as your other internal systems.
Running the components yourself also moves responsibilities to you. vLLM's API server does not make the decisions about who may call it, what gets logged or how long outputs are kept. Your team owns authentication and authorization for the inference endpoint, request and response logging with appropriate redaction, retention periods for parsed text and model outputs, and deletion of temporary files created during parsing. Hosted Mistral Studio features such as agents, libraries and Document AI in Studio are not part of this stack, so any workflow those features supplied must be rebuilt or dropped. Document these controls in the same records you would keep for any system that processes patient or EU personal data, so an assessor can trace each stage from upload to deletion.
Data path for a self-hosted Mistral stack
The diagram starts with source documents entering Docling inside the organization's network, where PDF, DOCX, and image files are parsed with OCR, layout, and table structure. Parsed output moves to a vLLM server running Mistral Small 4, which exposes an OpenAI-compatible API. Requests pass through an internal gateway that enforces SSO and writes audit logs. Check that no component in the boundary calls an external service, and confirm that logs and any cached documents stay in approved storage.
Documents stay inside the boundary from parsing through model serving and logging.
What self-hosting Mistral costs and what it takes to run
Is self-hosting Mistral cheaper than using the Mistral API?
It depends on volume, hardware and staff time, and no supplied figure settles it. Self-hosting an open-weight model like Mistral Small 4 moves cost from per-request API fees to infrastructure you pay for whether or not it is busy: GPUs or GPU cloud capacity, storage, networking, monitoring and the engineers who run it. The API charges by usage with no hardware to own. Model your expected request volume against the hardware needed to serve it at acceptable latency, add staff time for upgrades and incident response, and compare that total with Mistral's published API pricing and any enterprise agreement you negotiate. Ask Mistral what terms apply to your contract before you assume either path is cheaper.
Which self-hosting costs are one-time and which recur?
One-time costs usually include hardware purchase or setup, initial network and storage build-out, integration with your identity provider and logging, and the first security review and testing. Recurring costs include GPU capacity (owned hardware still draws power, cooling and maintenance, or cloud instances bill by time), storage for logs and model artifacts, software support contracts if you buy any, and the staff time to patch vLLM, rotate credentials, handle model updates and respond to incidents. Recurring costs usually exceed the first year's one-time costs once the system is in daily use, so budget for the operating line, not only the purchase.
What drives GPU and staffing cost for a self-hosted Mistral model?
Cost is driven by the model's size and how many users or requests you must serve at once. The model card for Mistral Small 4 describes a 119B-parameter model with about 6.5B parameters active per token, and it recommends serving it with vLLM, so memory capacity and throughput targets determine how much GPU hardware you need. Higher concurrency, longer context windows and stricter latency targets all add hardware. Staffing depends on how many people can operate inference servers, GPU drivers and access controls. A smaller team can run a single supported stack, while a larger deployment with high availability needs more operators and on-call coverage. Confirm exact hardware requirements in the model card and vLLM documentation rather than relying on estimates from a vendor deck.
What should we ask Mistral for OCR 4 self-managed pricing?
Ask for a written quote that states the license scope, the deployment target, the number of pages or requests covered, and the support level included. Mistral's OCR 4 announcement, dated June 23, 2026, says self-managed deployment is available to enterprise customers, and the model card lists its license as Premier rather than open weights. That means you cannot assume the open-source terms that apply to Mistral Small 4. Ask whether the license is per deployment, per seat, per page or per GPU, whether upgrades and security patches are included, how long the agreement runs, what happens on renewal, and whether the quote covers air-gapped use. Also ask which hardware Mistral supports for self-managed OCR 4.
Can our own team run a self-hosted Mistral stack without outside help?
A team with experience running GPU inference servers, container platforms, identity integration and security logging can usually operate the stack alone, but it must cover the work that Mistral's hosted services normally handle for you. Self-hosting open weights gives you the model, not the hosted features such as agents, libraries or Document AI in Studio, so you must build or choose those yourself. You also own upgrades, patching, backups, access control, audit logging and the evidence your compliance team needs. Check the skills in your team against that list. If a gap exists, you can buy fixed-scope deployment, hardening or support. DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted open-source platforms in the client's own infrastructure, and the scope is agreed in writing before work starts.
What ongoing work does a self-hosted Mistral deployment need after launch?
Plan for regular upgrades to the serving software, model versions and operating system, plus security patching, certificate and credential rotation, capacity reviews and monitoring. Each model or vLLM upgrade can change behavior, memory use and API details, so test in a staging environment before you move production. Keep audit logs of who sent what and to which model, and review access as staff change roles. Compliance evidence also needs refreshing, so your team should keep configuration records current. Ask any outside provider whether upgrades, continuous testing and support are priced as a retainer or per incident, and what the response expectations are in writing.
Does self-hosting remove the need for a vendor agreement or a security review?
No. Self-hosting changes who runs the infrastructure, but it does not remove your obligations. Running Mistral Small 4 or Docling on your own hardware means you control the data path, which can simplify some data processing questions, but you still need to document the system, test its access controls, review the open-source licenses, and confirm that any vendor support or OCR 4 license you buy has terms your legal team accepts. Confirm the license terms in the Hugging Face model card and the OCR 4 announcement before you rely on them, and keep the written quote with your records.
What hardware and scope details should we confirm before requesting a quote?
Before you request a quote, define the models, the number of concurrent users, the document volume, the environments (production, staging, air-gapped), the identity and logging integrations, and the compliance evidence you need. For Docling, confirm the document types and volumes, since it parses PDF, DOCX, PPTX, XLSX, HTML and images with OCR, layout, reading order and table structure and is MIT licensed. For Mistral Small 4, confirm your GPU vendor and memory budget against the model card and vLLM support list, which covers NVIDIA, AMD and Intel GPUs. A clear written scope makes quotes comparable and keeps the engagement fixed.
What drives total cost of ownership besides the license
This table lists the cost and effort components an organization takes on when it runs Mistral open weights or a document OCR pipeline itself, instead of paying for a hosted service. Read each row as a recurring or one-time cost that the license does not cover, and use the driver column to ask vendors and internal teams for the figures that match your own environment. The main takeaway is that Apache 2.0 weights remove the per-token fee but move GPU, staff and operations costs onto your budget, and hosted features such as agents, libraries and Document AI in Studio are not replaced by self-hosting.
| Cost component | Who is paid or who spends effort | One-time or recurring, and what drives it |
|---|---|---|
| GPU capacity for the model | Your cloud provider or data center, or your hardware budget | Recurring. Sized to the memory and throughput needs in the Mistral Small 4 model card and the vLLM serving setup; confirm capacity with your own load tests. |
| Deployment and serving setup | Your platform or ML engineering staff, or a services partner | One-time, then recurring with upgrades. Driven by vLLM configuration, OpenAI-compatible API integration and access control you must build. |
| Upgrades and model version changes | Your platform team | Recurring. Each new open-weight release or vLLM version needs regression testing before it replaces production. |
| OCR volume and pipeline throughput | Your infrastructure team, plus compute for Docling or other OCR tools | Recurring and volume-driven. Page counts, document types with tables and scanned images, and batch timing set the compute load. |
| Mistral OCR 4 self-managed licence | Mistral AI, under an enterprise agreement | Recurring if chosen. Mistral's OCR 4 announcement says self-managed deployment is available to enterprise customers; the model card lists its licence as Premier, not open weights, so ask for the commercial terms in writing. |
| Monitoring, logging and on-call | Your operations or security team | Recurring. Driven by uptime targets you set, audit logging for compliance reviews and the number of services that depend on the model. |
| Loss of hosted Studio and Vibe features | Your product and engineering teams, or a replacement vendor | Recurring in effort. Open weights do not include Mistral's agents, libraries or Document AI in Studio, so you must build or buy equivalents and maintain them. |
| Security testing and compliance evidence | Your security team, an assessor or a testing partner | Recurring. Each change to the serving stack or data flow may require updated evidence for your ISO, SOC 2 or GDPR reviews. |
What the Apache 2.0, MIT and Premier terms require of you
Mistral Small 4 under Apache 2.0, Docling under MIT and OCR 4 self-managed under Mistral's enterprise terms each attach different obligations to the same on-premise stack. Read together, they decide what your engineers may copy, redistribute, modify and offer to users. Have counsel read each license text before anything goes into production.
Apache 2.0 attribution and notices
Apache 2.0 lets you run, modify and redistribute Mistral Small 4 weights and the vLLM server, but redistribution carries conditions. Anyone passing the model or a modified build to another party must include the license, keep the copyright and attribution notices, and mark files you changed. Your internal deployment alone does not trigger redistribution, so decide early whether a vendor, subsidiary or customer will receive copies. Ask counsel to confirm the NOTICE file handling for the vLLM build you deploy.
Model cardKeep license texts with artifacts
Whenever you ship a container image, model directory or internal package built from these components, the license texts travel with it. Store the Apache 2.0 text for Mistral Small 4 and vLLM, and the MIT text for Docling, in the same release record as the artifact. Your software bill of materials should list each component with its license so a security reviewer can trace what runs in production. Missing license files are a common audit finding, and they are cheap to prevent at build time.
MIT terms for Docling
Docling is MIT licensed, which is permissive but still requires that the copyright notice and permission notice appear in copies or substantial portions of the software. You may use Docling for parsing PDF, DOCX, PPTX, XLSX, HTML and images inside your own infrastructure, including for patient or customer documents. Check whether your team forks Docling, pins a version with local patches or bundles its models, since those changes must be tracked. Confirm with counsel that any third-party models pulled alongside Docling carry their own licenses.
Docling repositoryOCR 4 self-managed under enterprise terms
Mistral's OCR 4 is listed under a Premier license rather than open weights, so the Apache 2.0 terms do not apply to it. Self-managed deployment is available to enterprise customers, which means your rights to run, copy and modify the model come from your enterprise agreement with Mistral. Ask for the written terms covering installation locations, number of deployments, updates, audit rights, data handling and termination. Do not assume that an open-weight neighbor model grants the same freedoms.
OCR 4 announcementHosted features fall outside open licenses
Open-weight licenses cover the model files only. Agents, libraries and Document AI features in Mistral's Studio and Vibe are hosted services, so no Apache 2.0 or MIT grant gives you rights to them. If your self-hosted design depends on any Mistral-hosted feature, the terms of that service govern the use. Write down which components come from which license and which come from a service agreement, so the boundary is visible to legal and to procurement.
Counsel review and open items
Before rollout, have counsel read each license text in full, not summaries, and record the decision in your approval file. Cover the use case, whether users outside your company will interact with the system, and whether you will modify any component. Confirm the current version of each license and any notice requirements for the exact artifacts you ship. Ask the vendor in writing which terms apply to OCR 4 self-managed and who signs them for your entity.
What to collect before approving a self-hosted Mistral stack
This sequence turns an informal idea of running Mistral models or OCR in-house into a written approval file that names each licence, the chosen model and edition, where data stays, who operates the stack, and how the organization can leave it. Each step ends with a document or check that a security, privacy or compliance reviewer can verify.
Confirm the licence text for each component
Collect the licence for every part of the stack: the model weights, the inference server, the OCR or parsing library, and any container images or model add-ons. Mistral Small 4 is released under the Apache 2.0 license on Hugging Face, and its model card recommends serving it with vLLM, which is also Apache 2.0. Mistral's OCR 4 model card lists its licence as Premier rather than open weights, and Mistral says self-managed deployment of OCR 4 is available to enterprise customers, so that route runs under a commercial agreement. Docling is MIT licensed. Record the exact licence file and version for each component, and have legal confirm that the intended internal use is permitted. Done when the file lists each component with its licence and a legal sign-off.
Pick the model and edition for each use
Select the specific model, its version and the intended workload for each use case, such as text generation, document extraction or OCR. Confirm that the open-weight model fits the use case, since self-hosting open weights provides the model but not Mistral Studio, agents, libraries or Document AI in Studio, which are hosted services. If OCR 4 is needed, confirm the enterprise self-managed terms with Mistral directly before design work starts. Done when each use case maps to one named model or pipeline and the reviewer has accepted that no hosted-only feature is assumed.
Document where data stays and who operates it
Write a data flow diagram showing where documents and prompts enter, which servers or GPUs process them, where logs and caches are written, and which backups exist. Name the operator for each layer: the internal platform team, a managed service provider or DeployOpen under written scope. Note that a self-hosted stack removes Mistral as a processor for these flows, but the organization becomes responsible for the controls the vendor would otherwise provide. Done when the diagram and operator list are signed off by the data owner and security lead.
Define support, patching and upgrade terms
Set who watches upstream releases of vLLM, the model weights and Docling, who tests new versions, and who approves them for production. Decide the approval path for security patches and the rollback procedure if a new model version changes output quality. For OCR 4, check the support and update terms in the enterprise agreement, since they may differ from the open-source components. Ask any outside operator to state its response obligations in writing. Done when a documented upgrade procedure and named owners exist for each component.
Set an exit path back to the hosted API
Describe what happens if the self-hosted stack must be retired or if a hosted Mistral API becomes the better option again. Define how prompts, documents and outputs are migrated or deleted, how the hosted endpoint would be reviewed under the Mistral Data Processing Addendum and Trust Center terms, and how staff are moved without losing audit records. Confirm the retention and deletion steps for your own storage, since they are not governed by Mistral. Done when a written exit plan lists the data stores to empty, the deletion evidence to keep and the approval needed to switch back.
Record the security review scope
Write the scope of the security review before testing begins. Include model serving endpoints, authentication and SSO, access control to the inference API, logging and audit trails, input handling for uploaded documents, secrets and GPU host hardening, and network isolation or air-gapped operation if required. Ask for evidence of the review, such as findings and retest results, and state which parts stay outside scope. Where AI-specific risks apply, such as prompt injection through uploaded documents, include them explicitly. Done when the scope document is approved and a findings report is scheduled against it.
What catches buyers out with self-hosted Mistral
Self-hosting Mistral models moves some risks inside your walls and leaves others with the vendor or with your own team. The cards below cover the gaps that most often surprise buyers after a self-hosted plan is approved, from licence scope to staffing and capacity.
Open weights do not include hosted features
Open weights give you the model file, not the Mistral Studio API, agents, libraries or Document AI in Studio. Those features are hosted services, so a team that expects the same agent and library workflows on its own servers will find them missing. Check each feature you plan to use against the hosted-only list, and confirm which pieces you would need to build or replace yourself before approving the design.
- Mistral Small 4 licence
- Apache 2.0
OCR 4 is not open weights
Mistral's OCR 4 announcement says self-managed deployment is available to enterprise customers, but the model card lists its licence as Premier rather than open weights. Do not assume the Apache 2.0 terms of Mistral Small 4 carry over to OCR 4. Ask Mistral in writing which terms, fees and deployment rights apply to self-managed OCR 4, and whether they cover your data residency and audit requirements.
OCR 4 announcementOutdated model versions
A self-hosted model stays exactly as it was downloaded. New releases, safety fixes and changes to the serving stack do not arrive on their own, so a version you approved last year may fall behind what the vendor supports. Record the exact model name and revision you deploy, set a review date for each release, and decide in advance who approves a move to a newer version and how you validate it against your use cases.
Staffing for upgrades and patches
Running the model means someone owns the GPU hosts, the vLLM serving layer, the operating system, access control and logging. Each of these needs regular security patches and upgrades, and none of them is handled by the model licence. Before go-live, name the team and the on-call owner for each layer, and confirm how many hours of recurring work that adds to existing roles, since the cost of this work is usually larger than the cost of the software.
A single GPU capacity plan
Serving a large open-weight model depends on a fixed pool of accelerators. If one host fails, or demand rises past the plan, requests queue or fail, and a sensitive workflow may have no approved fallback. Plan for at least one tested alternative path, such as a second pool, a documented failover or a smaller approved model for critical tasks, and agree which data classes may use the fallback. Check the hardware requirements in the model card and the vLLM documentation before fixing the purchase order.
vLLM repositoryQuestions procurement, legal and security ask before approving a self-hosted option
Can open-weight Mistral models replace the Mistral hosted API?
Partly. Mistral Small 4 is released under the Apache 2.0 license on Hugging Face, and its model card recommends serving it with vLLM, so an organization can run the model weights in its own infrastructure. Self-hosting gives you the model, not the hosted features. Mistral's Studio and Vibe features, including agents, libraries and Document AI in Studio, are hosted services that the open weights do not reproduce. Confirm with your engineering team which hosted features your staff actually use before assuming the open weights cover the same workflows. Hardware, access control, logging and patching then move to your side of the contract.
Is Mistral OCR 4 self-managed deployment open source?
No. Mistral's OCR 4 announcement, dated June 23, 2026, says self-managed deployment is available to enterprise customers, and the model card lists its license as Premier rather than open weights. That means the self-managed option is a commercial arrangement with Mistral, not a freely usable model. Ask Mistral for the written license terms, the deployment support model, the update cadence and what telemetry or license checks the deployed version performs. If you need a no-license-fee OCR pipeline, Docling is MIT licensed and is a separate open-source option to evaluate against your document mix.
What drives the cost of running Mistral models in our own infrastructure?
The main cost drivers are GPU capacity, the storage and networking that surround it, and the people who operate it. Model weights and vLLM are open source, so license fees for the software itself are not the main line item, but the Mistral Small 4 model card and the vLLM repository do not give you a price for the hardware you will need. Recurring costs include power or cloud compute, patching, monitoring, backups and on-call coverage. One-time costs include architecture, identity integration and the compliance evidence you must produce. Ask any partner for a quote that separates hardware, staff time, support and retesting.
Can our internal team deploy and run this without outside help?
It depends on your existing skills. Running an open-weight model with vLLM requires GPU operations experience, familiarity with OpenAI-compatible API servers, and a plan for model updates and access control. Docling is simpler to test because it runs locally and handles PDF, DOCX, PPTX, XLSX, HTML and images, but a production pipeline still needs integration, logging and data retention rules. Check whether your team has done this before, how many people can cover on-call duties, and whether your security team can review the deployment before any patient or EU personal data enters it.
What must our organization configure before approving a self-hosted deployment?
Before approval, you must define who can reach the model endpoint, how users authenticate, what gets logged and for how long, and where documents are stored after OCR. Confirm that the serving hosts sit in the region your privacy and sector rules require, and that no inference traffic leaves your network unless you intend it. Document how you will patch the model server, vLLM and Docling, and who approves each update. Records of these settings are the evidence a privacy, compliance or security reviewer will ask for, so write them down before go-live.
How should we ask for an outside quote for a self-hosted Mistral setup?
Request a written, fixed-scope proposal that names the models, OCR tools, hosting environment and integrations in scope. Ask the provider to separate one-time work, such as architecture, deployment and security testing, from recurring work, such as upgrades, monitoring and retesting. Ask what is excluded, including hardware purchases, Mistral's own license terms for enterprise OCR 4, and any hosted Studio or Vibe features. Also ask for the deliverables you will receive, including configuration records and evidence for compliance reviews. DeployOpen plans, implements, hardens and documents self-hosted open-source platforms inside a client's own infrastructure, and quotes follow from a written scope.
Does self-hosting remove the need for a data processing agreement?
Not automatically. When you run open weights on your own infrastructure, Mistral is not processing your data through its hosted service, so the Mistral Data Processing Addendum no longer describes that flow. However, if you buy self-managed OCR 4 or support from Mistral, check whether any data, logs or telemetry reach Mistral and whether a contract applies. Your internal policies on retention, access and breach handling still apply to the self-hosted system. Ask Mistral in writing exactly what data, if any, it can receive from a self-managed deployment before you rely on that position.
Where this page stops and the sibling pages pick up
This page covers one thing: running Mistral open-weight models and OCR tooling inside your own infrastructure. Data residency, the Data Processing Addendum, the HIPAA and business associate position, and zero data retention for Mistral's hosted endpoints are covered on the sibling pages, and you should read those before approving any use of the Mistral API, Vibe or Mistral Studio with patient, customer or EU personal data. A self-hosted deployment does not inherit the terms of the hosted service, so the hosted questions still need answers if any staff member keeps using the cloud product alongside your own deployment.
The boundary matters in practice because the hosted and self-hosted paths carry different obligations. Running Mistral Small 4 under its Apache 2.0 license on your own GPUs, served with vLLM, removes Mistral as a processor for those requests, but it makes your team responsible for hardware, patching, access control, logging and retention. Hosted features such as agents, libraries and Document AI in Studio are not part of an open-weight download, so if a workflow depends on them, self-hosting will not replace them. Confirm with the business owner which features are actually required before you choose a path.
How DeployOpen helps you run a private Mistral alternative
DeployOpen plans and deploys self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For Mistral AI on premise and open source alternatives, we scope which open-weight models, serving software and OCR tools fit your data and controls, then build and test them so your security and compliance teams can review the setup.
How we scope
- We confirm which document types, data classes and users the self-hosted pipeline must cover before any work starts.
- We record model choice, serving stack, OCR tooling and licence terms in a written, fixed-scope agreement.
- We identify which hosted Mistral features, such as agents or Document AI in Studio, the self-hosted setup will not replace.
How we build
- We deploy open-weight models behind vLLM's OpenAI-compatible server inside your network, with access control and audit logging.
- We set up document parsing with Docling, including OCR, table structure and reading order, running locally for sensitive files.
- We test the deployment for data exposure, access permissions and credential handling before it goes to users.
How we hand over
- We document the architecture, data flows, configuration and licence records so your reviewers can check each control.
- We walk your engineering and compliance teams through operation, monitoring and the steps for updates and rollback.
- We deliver the evidence your auditors or assessors will ask for, and we do not issue audit reports or certifications ourselves.
How we support
- Ongoing support, model and tool upgrades, and continuous testing are available as retainers after handover.
- We retest the platform when you change models, serving versions or OCR tooling, so the evidence stays current.
- Your team keeps ownership of the environment, and we agree support boundaries and response expectations in writing.

