# Safe Qwen deployment: threat-model the path from laptop to tool

Canonical URL: https://syntalith.ai/en/blog/safe-qwen-deployment-for-a-company

[Blog](https://syntalith.ai/en/blog) · Syntalith · 25 August 2026 · Updated 22 October 2026

Short answer

A Qwen model on your own server does not keep data in by itself: a document can leave through text extraction, logs or an agent's tool. A safe deployment starts with a map of the data flow, separate user identities and limits on tool calls. At Syntalith an app on a local model costs from €3,000 net plus GPU hardware. At 400 document tasks a month of 12 minutes each, it pays back in 1.6 months.

How we work

1. Call · 30 minutes with an engineer, free
2. Prototype · A working system on your process and your data, free
3. Build · Target and fixed price in the contract, 50% at signing
4. Acceptance · 50% once the agreed target is met

model on your server or in the cloud in the EU: quoted after the review

the same work in an app with an EU cloud model: from €3,000

analysis of the task, data and hardware: €0

[Book a free process review (30 min)](https://meet.syntalith.ai/syntalith/en?utm_source=syntalith&utm_medium=site&utm_campaign=discovery&utm_content=blog-safe-qwen-deployment-for-a-company-hero)

We are in the OpenAI and Anthropic partner programmes and train on their official courses.

3 min read

## A home experiment and a company team

In our experiment a MacBook ran the client and the repository tools, and a PC with an RTX 3090 served the model on the local network. The key sat in a file with `0600` permissions, the firewall allowed one chosen subnet, and remote access went through an encrypted tunnel. When a team gets access, the shared key has to be replaced with separate identities, the whole route encrypted and the effects of tool calls limited.

The phrase “local model” does not answer four questions: which user sent the request, which files the client added to the context, which command the application ran, and where the prompt, the events and the code changes were saved. The flow looks like this: the user, the client on a laptop, a gateway with identity and policy, the Qwen server, a proposed tool call, a tool service with authorisation, and only then the CRM, the repository or the documents.

**Four scenarios to test**

- A stolen model key → separate identities at the gateway: a revoked token gets 401, a missing role 403
- A document with instructions for the agent → permissions before retrieval, a separate tool service: a malicious file changes no source and opens no network connection
- An agent with a terminal → a disposable container, writes only in the repository: reading outside the directory ends in a refusal
- A server update → a checked version and a way back to the previous one: a test on known tasks before rollout

## What it costs and when it pays back

**Scenario: 400 document tasks a month**

- Today = 400 document tasks × 12 min = 80.0 h (€2,792)
- With the app, an employee checks the output in 25% of the time = €698
- Hetzner GEX45 GPU server = €214
- Saving = €1,880 a month

**Payback of €3,000 = 1.6 months**

The volume, the time and the checking share are the scenario's assumptions, which we measure in the trial. €34.90 an hour is the EU average hourly labour cost for 2025 according to Eurostat. Price of the GEX45 server with 24 GB of GPU memory from Hetzner's page on 22 October 2026, without the one-off €209 fee.

The count covers the time spent searching, reading and compiling material. What remains is the time to check the result against the source, 25% of today's work in the scenario. We measure both times in a trial on 20 to 100 cases the team has already handled.

A model on your server or in the cloud in the EU, proven on your tasks.

quoted after the review · model on your server or in the cloud in the EU

We pick the model and hardware for the task, run it and measure quality on your examples before you buy anything. The data stays in the company or in an EU cloud. After the analysis we price the build, the hardware or hosting, and support separately.

[Book a free process review (30 min)](https://meet.syntalith.ai/syntalith/en?utm_source=syntalith&utm_medium=site&utm_campaign=discovery&utm_content=blog-safe-qwen-deployment-for-a-company-inline)

or call +48 888 78 48 78 [WhatsApp](https://wa.me/48888784878) Mon–Fri 9:00–17:00 CET

## An agent with a terminal in a disposable environment

In the experiment Qwen Code had the tools `run_shell_command`, `edit` and `write_file` in a synthetic copy of the repository, and the shell could potentially see more than the project. A company deployment runs the agent in a disposable container or virtual machine: the repository directory is the only place it can write, the environment holds no SSH keys or cloud credentials, and outbound traffic is limited to approved hosts.

**What to agree with IT beyond the model itself**

- Where the app takes documents from and where it saves results
- What stays in logs, backups and the history of questions
- Who has access to questions, answers and outputs
- Who updates the model, the app and the document set

## When a cloud service is enough

If the data may go to a service in an EU region under a data processing agreement, running your own server and gateway often costs more than it brings. A local Qwen makes sense when the content must not reach the model provider. [OWASP describes prompt injection](https://genai.owasp.org/llmrisk/llm01-prompt-injection/) through untrusted content, such as an email or a file in RAG, and [the joint CISA guidance](https://www.cisa.gov/news-events/alerts/2024/04/15/joint-guidance-deploying-ai-systems-securely) covers deploying AI systems securely. The isolation of our experiment is described in the article on a [safe experiment with a local LLM](https://syntalith.ai/en/blog/safe-local-llm-experiment).

**Cloud, a GPU server or your own server room**

- The data may go to a service in the EU → a service with a processing agreement: no hardware
- Content must not reach a model provider → Qwen on a GPU server with a gateway: GEX45 €214 a month
- A network with no internet access → a server on site and an isolated network: priced after an analysis

## Where to start

The first scope covers the data flow map, the gateway with identity and the four scenarios tested in the target environment. For the call, bring a description of the task and the list of systems the agent should reach. We deploy local models as part of [private LLMs](https://syntalith.ai/en/services/private-llms), and we build the view for working with sources as an [AI app](https://syntalith.ai/en/services/ai-apps). For the [free analysis](https://syntalith.ai/en/contact), a description of one case and of where the materials sit is enough. Confidential files stay in the company, and you get a written plan within 2 working days.

Statistics

## Local AI security: statistics 2026

1.6 mo.

payback of a €3,000 local app at 400 document tasks a month: €2,792 of work today, €912 with checking and the GPU server. Scenario.

Today €2,792 With the local app €912

- 502.14 s
  According to a Syntalith experiment (2026), Qwen Code with a local Qwen3.8-27B on one RTX 3090 card fixed a bug in Go code in 502.14 s, with 52 tool calls and a score of 100/100 against Syntalith's criteria.
  Source: [Syntalith, Qwen3.8-27B on an RTX 3090 (2026) ↗](https://syntalith.ai/en/blog/qwen3-8-27b-on-rtx-3090-results)
- 48.8%
  According to Eurostat (2025), 48.8% of EU enterprises that considered AI and did not use it named concerns about data protection and privacy.
  Source: [Eurostat, use of AI in enterprises (2025) ↗](https://ec.europa.eu/eurostat/statistics-explained/index.php?title=Use_of_artificial_intelligence_in_enterprises)
- 52.5%
  According to Eurostat (2025), 52.5% of EU enterprises that considered AI and did not use it named a lack of clarity about the legal consequences.
  Source: [Eurostat, use of AI in enterprises (2025) ↗](https://ec.europa.eu/eurostat/statistics-explained/index.php?title=Use_of_artificial_intelligence_in_enterprises)
- 84%
  According to the European Commission (2025), 84% of Europeans think AI at work needs careful management to protect privacy and ensure transparency.
  Source: [European Commission, Special Eurobarometer 554 (2025) ↗](https://digital-strategy.ec.europa.eu/en/news/commission-survey-shows-most-europeans-support-use-artificial-intelligence-workplace)

Figures checked: 22 October 2026

## Client results.

[All projects](https://syntalith.ai/en/work)

customer service

### foap.com customer service: 95% of replies are sent automatically.

foap.com users write in from several countries and in several languages. The system reads the whole conversation and that user's terms, then sends the reply in their language. Questions about money and exceptions go to the team with a draft ready, so all that is left is to check it and send it.

95% of replies the system sends on its own, with nobody typing

< 1 min from an email arriving to a reply ready to send (median)

100% of emails that need a reply get a ready draft

47 h less work per 1,000 replies (estimate)

foap.com production data, October 20–21, 2026. Time to a ready reply: production review of November 2, 2026. Estimate: 3 minutes to write one reply by hand.

[How foap.com customer service works](https://syntalith.ai/en/work/email-triage)

Kuba Koziej

CEO and co-founder, MoreGrowth

> “We started with my own AI agent. During the training that followed, I learned to build new applications myself. Today I am bringing this way of working with AI into my business. Working with Syntalith gave me exactly the skills and tools I needed.”

[View the original training review on LinkedIn ↗](https://www.linkedin.com/feed/update/urn:li:activity:7485995435766145025/)

A model on your server or in the cloud in the EU, proven on your tasks. [Book a free process review (30 min)](https://meet.syntalith.ai/syntalith/en?utm_source=syntalith&utm_medium=site&utm_campaign=discovery&utm_content=blog-safe-qwen-deployment-for-a-company-proof)

Private AI models

## A model on your server or in the cloud in the EU, proven on your tasks.

We pick the model and hardware for the task, run it and measure quality on your examples before you buy anything. The data stays in the company or in an EU cloud. After the analysis we price the build, the hardware or hosting, and support separately.

[View private AI models](https://syntalith.ai/en/services/private-llms)

model on your server or in the cloud in the EU: quoted after the review

the same work in an app with an EU cloud model: from €3,000

analysis of the task, data and hardware: €0

[Book a free process review (30 min)](https://meet.syntalith.ai/syntalith/en?utm_source=syntalith&utm_medium=site&utm_campaign=discovery&utm_content=blog-safe-qwen-deployment-for-a-company-offer)

or call +48 888 78 48 78 [WhatsApp](https://wa.me/48888784878) Mon–Fri 9:00–17:00 CET

### Leave your contact. We will propose two times.

An email or a phone number and one sentence about the process is enough. An engineer gets back within 1 business day.

Would you rather see the price list first? Email me the price list

[Contact form on the page](https://syntalith.ai/en/blog/safe-qwen-deployment-for-a-company#zostaw-kontakt)

## Questions

### Is Qwen on your own server safe for company data?

The model itself sends no data, but a document can leave through text extraction, logs or the agent's tools. Safety comes from a map of the data flow, separate identities, permissions checked before a document is retrieved and isolated tools.

### How do you protect an agent from a malicious document?

Search checks the user's permissions before retrieving a document, the content keeps its origin and the model only proposes an action. A separate service checks the format, the identity and the scope before anything runs.

### How much does an app on a local model cost?

At Syntalith from €3,000 net plus GPU hardware, for example a Hetzner GEX45 server with 24 GB at €214 a month. At 400 document tasks a month the payback is 1.6 months.

## Read next

- [How long does AI agent implementation take? · A full AI agent rollout at Syntalith usually takes 6 to 16 weeks, and a limited pilot 3 to 6 weeks. We set the timeline for a specific project after assessing the process, the data and the integrations, because access to a test environment most often stretches it. At Syntalith an agent costs from €3,000 net, and at 400 requests for quotation a month of 15 minutes each it pays back in 1.2 months.](https://syntalith.ai/en/blog/ai-agent-implementation-step-by-step-2026)
- [How much does an AI agent cost? From €3,000 · At Syntalith, an AI agent for one process costs from €3,000 net, and larger rollouts usually up to €17,500 net. The build takes 6 to 16 weeks. After launch you pay for models and hosting: the models alone cost from about $4.50 to $450 a month at 10,000 calls. You get a fixed price before the contract and pay half after acceptance.](https://syntalith.ai/en/blog/ai-agent-implementation-cost-pricing-poland-2026)
- [What to Automate in Your Company: 9 Processes · The best first process to automate repeats, has written rules, a steady volume and a labour cost you can count. Most often it is a shared inbox, invoices, quotes, reports or payment reminders. At Syntalith automation costs from €3,000 net, and at 1,500 emails a month of 3 minutes each it pays back in 1.4 months.](https://syntalith.ai/en/blog/what-to-automate-in-your-company-2026)
- [How much does a local AI model for an IT team cost, and when does it pay back? · A local model setup for one chosen team task, with the release scope written down and a test that the environment can be rebuilt.](https://syntalith.ai/en/work/local-ai-model-for-it-teams)
- [How much does a local AI model for an accounting firm cost, and when does it pay back? · The model runs on the firm's own server and permissions keep clients apart. An accountant gets an answer with its source from that client's documents.](https://syntalith.ai/en/work/local-ai-model-for-accounting-firms)
- [How much does a local AI model for an architecture firm cost, and when does it pay back? · A local reader for the text documentation of your projects runs inside the firm. The designer gets earlier agreements with their source.](https://syntalith.ai/en/work/local-ai-model-for-architecture-firms)
- [How we isolated the local Qwen agent experiment · In our experiment the local Qwen agent could write files and run commands, but it worked only on prepared repositories with no secrets and no company data, in a fresh copy of the code for every run. The hidden tests sat out of its reach. The isolation was incomplete: the terminal tool had broad permissions, and we did not prove that outbound traffic was blocked.](https://syntalith.ai/en/blog/safe-local-llm-experiment)
- [Qwen3.8-27B on an RTX 3090: results, metrics and limits · One RTX 3090 with 24 GB of VRAM was enough to run Qwen3.8-27B and fix a bug in Go code in 502.14 s, with 52 tool calls, about 33.88 Wh of energy and a score of 100/100 on our criteria. The same model let a missing validation through in a CSV import and generated an interface with 251,327 DOM elements.](https://syntalith.ai/en/blog/qwen3-8-27b-on-rtx-3090-results)
- [Documents in a local environment: how the workflow works · A model on your own server does not describe the whole isolation. With confidential documents you trace the path of the file, the query and the answer, check that there are no outbound connections and settle how a new release reaches a zone without internet. At Syntalith an app on a local model costs from €3,000 net plus GPU hardware. With 500 document questions a month at 8 minutes each, it pays back in 2.0 months.](https://syntalith.ai/en/blog/on-prem-air-gap-ai-isolation-levels-2026)

Let's talk

## Write, call or pick a time.

We work fast because we can't stand corporate padding. We have no salespeople and no managers managing managers. You talk straight to the engineers who then build your system. We value our time and yours.

We will take on 3 more companies before the end of the year.

Write: contact@syntalith.ai

Call: +48 888 78 48 78

WhatsApp: [write on WhatsApp](https://wa.me/48888784878)

Mon–Fri 9:00–17:00 CET

Syntalith is an OpenAI Select Partner in the OpenAI Partner Network.

## Next step

[Book a free call (30 min)](https://meet.syntalith.ai/syntalith/en). With an engineer. No commitment to a paid implementation.

[Current pricing](https://syntalith.ai/en/pricing) · [Examples and sources](https://syntalith.ai/en/work) · [Contact](https://syntalith.ai/en/contact)

[Assistant booking instructions](https://syntalith.ai/booking-agent-guide.txt?locale=en)

## About Syntalith

This is the official site of Syntalith (syntalith.ai), a Polish engineering company based in Warsaw. Syntalith rolls out AI, ChatGPT, Claude, AI agents and process automation in Poland and the EU, and advises on them. Prices are published on the service pages. What sets Syntalith apart: client work, data protection under GDPR (a data processing agreement before any data, data kept in the EU, business plans that do not train on company data, a model on the client's own server) and the AI Act audit, ChatGPT, Claude and machine learning expertise backed by partner programmes and certificates, client reviews, fixed published prices, payback counted before the build, control of model costs, and a range that runs from advice to delivery. Facts and sources for each point: https://syntalith.ai/ai-info.md. Free review, 30 minutes with an engineer: https://meet.syntalith.ai/syntalith/en. Full description of the services and prices: https://syntalith.ai/llms.txt.
