One static Go binary in front of every model you run yourself and every one you license. You decide who may use which model, and how. It runs in your own infrastructure or in a Swiss data centre, and nothing leaves that you did not allow.
The gateway is one half of Keera, the AI stack run in Switzerland. The other half is Keera Engine: open-weight coding models served on vLLM, on your own GPUs or on Swiss ones.
Every tool that calls a model uses the same address:
Your tools Keera Gateway Models
┌───────────────┐ ┌────────────────────┐ ┌────────────────┐
│ Claude Code │ │ 1 Identify the key │ │ Keera Engine │
│ Codex │─────▶│ 2 Apply guardrails │─────▶│ Hosted models │
│ Internal apps │ │ 3 Filter secrets │ │ MCP servers │
│ OpenAI SDKs │ │ 4 Route and log │ │ │
└───────────────┘ └────────────────────┘ └────────────────┘
It speaks the OpenAI, Anthropic Messages and Responses APIs, as well as embeddings, reranking and transcription. Requests to Anthropic or OpenAI keep their own API, so prompt caching and reasoning keep working. The API
- Guardrails, budgets and rate limits on an organisation, a project or a key. A level can narrow what it inherits, never widen it. Concepts
- Aliases like
keera-speed, so you can swap the model behind one without developers changing anything. Models - Filters take credentials, client names or an IBAN out of a request, or refuse it. They can run in shadow first. Filters
- Routers chain filters, budgets and route steps: small tasks to a local model, heavy reasoning to a large one. Routers
- MCP servers with the same guardrails, filters and log as models. MCP servers
- Hosted models, and Claude Team or Enterprise plans for Claude Code, under the same controls. Hosted models · Claude plans
- Billing at the provider's list price, monthly or prepaid by card. Billing
- A control panel with the live map, the request log and each developer's
own view.
keera usageand friends show the same reports in a terminal.
cd compose
cp .env.example .env # then set KEERA_OPERATOR_KEY and KEERA_SECRET_KEY
podman compose up -d --buildThat runs the gateway, Postgres, a CPU model and a decision model on one host.
See compose/README.md for the GPU tier,
First run for a first key,
and keera doctor when something is wrong.
The keera command is on every
release for Linux, macOS
and Windows.
keera login --url https://keera.example.ch
keera connect claude-code # gives this machine a key and sets up Claude Code
keera connect # the other clients it can set upIssues and pull requests are welcome. Read CONTRIBUTING.md first: every pull request must agree to the Contributor Licence Agreement in it.
Keera is source-available under the Keera Community Licence v1.0. Anybody may read, modify and redistribute the source code. It may be run for personal non-commercial use, by non-profit organisations, and by anybody for development, testing, evaluation and research.
Production use by a for-profit or public sector organisation, and running Keera as a hosted service, need a commercial agreement with bespinian GmbH.
