shim: your AI traffic, masked

Your AI traffic,Masked.

Send prompts to any model. Send personal data to none.shim masks, logs, and tracks every model and agent call. All while optimizing your costs. One base URL, one minute swap.

Workup by Türkiye İş BankasıFounder InstituteGirişim Fabrikası
For coding agents

uv tool install --python 3.12 --compile-bytecode shim

Any modelno lock-in
1 lineto setup
<100 msno slowdown

Works with

OpenAIAnthropicGoogle GeminiOllama

and more...

Products

Pick where shim sits

On a developer's machine, in front of your apps, on your own servers, or in the AI chats your team already uses.

  • For developers

    shim-cli

    Free and open source. Runs on your machine next to Claude Code, Codex, Copilot CLI and VS Code. No account.

  • For platform teams

    AI Gateway

    One base URL in front of OpenAI, Anthropic and Gemini. Works on chat messages and on PDF, Word and Excel files.

  • For IT and security

    Enterprise

    The AI Gateway on your own servers, with an audit trail you can verify, roles and budgets.

  • For everyone on your team

    shim

    Checks what your team types into ChatGPT, Claude, Gemini and other AI chats, in the browser. Early access.

The swap

One line of code.One minute setup.

Keep the client you already have. Every request, to any provider, gets redaction, policy and audit, automatically.

Beforetalking to the provider
from openai import OpenAI

client = OpenAI(
    api_key="sk-..."
)
Aftertalking to shim
from openai import OpenAI

client = OpenAI(
    api_key="sk-shim-...",    base_url="https://api.getshim.tech/v1")
Round tripfully reversible
1Your app sends
"Customer alice@example.com, national ID 10000000146. Can we raise their credit limit?"
shim redacts the PII
2The provider receives
"Customer <EMAIL_ADDRESS_75344f…>, national ID <TR_NATIONAL_ID_1f0b9c…>. Can we raise their credit limit?"
The model runs on placeholders only, then replies
3The model replies, still in placeholders
"The limit increase is approved. Send a notification to <EMAIL_ADDRESS_75344f…>."
shim restores the PII
4Your app gets back
"The limit increase is approved. Send a notification to alice@example.com."

The mapping never leaves your gateway. The provider only ever sees the token form, and every substitution is written to the audit record.

See it on your own text

We challenge you! Come try us.

Paste a realistic sample, with made-up values, and see exactly what the provider receives, with every IBAN, card number, ID and email stripped on the way. Real engine, no signup.

Open the playground

What you see

"Refund to IBAN TR33 0006 1005 1978 6457 8413 26?"

What AI sees

"Refund to IBAN <IBAN_CODE_9f3c8a…>?"

Dashboard

Capabilities

A cleaning station for AI traffic

Named after the cleaner shrimp: everything passes through, leaves lighter, and nothing that shouldn't travel gets carried along.

Hide personal data

National IDs, IBANs, phone numbers, emails and secrets detected in Turkish and English, replaced with tokens outbound and rehydrated inbound.

Optimize your inputs

Normalize prompts and turn PDFs and spreadsheets into clean Markdown, so the model reads less noise and you pay for fewer tokens.

See what your team spends

Spend broken down by key, team, project and model, so the invoice stops being a single unexplained number.

Routing & backup

Allowlist the models a team may call, pin workloads to a region, and fall back to a second provider when one degrades.

Audit log & evidence

Who called what, with which policy in force, and what was removed. Exportable as an evidence pack.

Full visibility

Latency, error and token traces per request, with a diff view showing exactly what the provider saw.

Governance

The evidence, before anyone asks.

shim won't certify you. It gives you the records and controls a KVKK, GDPR, DORA or EU AI Act audit runs on, right where the data moves.

  • Only what's needed leaves. Personal data is replaced before the request crosses a border.
  • A record you can't rewrite. Every call, policy version and redaction, queryable and exportable.
  • Bring your own keys. Provider credentials stay in your vault. shim never becomes the owner of record.
  • A human in the loop. Flag a class of request for a person to review, with every decision on the record.

Wording matters here: compliance is an outcome of your whole programme, not a feature. shim is the control and evidence layer inside it.

Policy decisions · last 24hSample data
pii-redactionTCKN, IBAN, e-mail masked
Masked9,412
model-allowlistgpt-4o-mini not approved for Ops
Blocked126
rate-limitper key, 600 rpm
Allowed183K
repeat-loopsame request 20 times in a minute
Blocked58
human-oversightcredit decisions flagged for review
Flagged37

Pricing

Start free, pay when it carries load

Free to start on the hosted gateway. Enterprise runs on your own servers and is scoped with you.

shim-cli is free and needs no account.

Developer

For evaluation, prototypes, and small workloads

$0
  • 1M tokens / month
  • 1,000 requests / month
  • Native provider APIs
  • PII detection and masking
  • Community support

Enterprise

For custom deployment, oversight, and support needs

Let's scope it
  • Custom usage and team limits
  • Oversight workflows and reports
  • Custom deployment and support scope
  • Procurement and security review
Talk to us

Switching to clean Markdown cut input tokens by 72%. The exact figure varies by use case.

The questions before the yes

Straight answers to what teams ask before they clean their AI traffic.

No. Not even if we wanted to. Your key is encrypted the moment it reaches us and stays in your own vault reference. The gateway keeps the handshake, never the fingerprint.

Yes. You set the rules per workspace, so you decide what gets masked, blocked, or left alone.

Depends on what slow means to you. Reading this takes about 6 seconds. In that time, shim would have run more than 60 times.

Yes, it is also built for Turkish, not adapted to it. We follow Turkish grammar and catch local identifiers like TCKN and IBAN that most English-first tools miss.

Yes. PDF, Word and Excel files are turned into clean text and checked like any other message.

Any model with an API. Your favorite is almost certainly already supported, and we are very open to special requests.

You choose in advance, per route. Sensitive traffic can stop until shim is back, while internal tools keep flowing straight to the provider.

Yes, on the Enterprise plan. We set it up to fit your own environment and rules.

Contact us to start your on-prem setup.

LiteLLM routes your requests. It was never built to protect your data inside them. shim actually protects your data: redaction in the request path, sensitive data caught automatically, and an audit record no one can quietly rewrite. To see other tool comparisons, check our Resources menu at the top.

Have another question? Ask us here.

Put a cleaning station in front of your models.

Run a two-month pilot on your own traffic. The logs, the evidence and the numbers stay yours, whether you continue or not.

Team

Built by engineers who needed it first

Three co-founders and a GTM lead, building the infrastructure we wished we had.

MS
Mertcan Sağlam

Mertcan Sağlam

Co-founder

Engineering and product. Enterprise data infrastructure background: Migros data pipelines, OBASE lakehouse architecture.

CÇS
Can Çağatay Sevgican

Can Çağatay Sevgican

Co-founder

Engineering and product. AI engineering, full-stack development and business development.

TB
Turgay Bulut

Turgay Bulut

Co-founder

Competitive programmer. The performance and correctness engine behind the gateway core.

ÖU
Öykü Ulusay

Öykü Ulusay

Lead GTM

Entrepreneur since high school and former president of the Özyeğin University OR club. Owns the go-to-market motion.

Talk to the team