# AI Studio: every model, one API, and costs under control

> Cloud APIM's self-service AI gateway, built on Otoroshi and its open source LLM extension.

- URL: https://blog.cloud-apim.com/ai-studio-every-model-one-api
- Published: 2026-11-20
- Language: en
- Authors: Mathieu Ancelin
- Topics: AI gateway, LLM, Otoroshi, AI Studio, MCP
- Publisher: Cloud APIM (https://www.cloud-apim.com)

---
On the same day as Otoroshi 18, we released a new version of the Otoroshi LLM extension, with a console designed for teams building with AI: **AI Studio**. Your teams get a key, pick a model, chat with it and track their usage. You stay in control of providers, routing, guardrails and budgets. All of it behind a single OpenAI-compatible API.

## The problem: AI comes in through every door

In most organizations, generative AI moves in one project at a time. Each team opens its own account with a provider, pastes a key into its configuration, and the bill arrives at the end of the month. The result:

- provider keys scattered around, that nobody knows how to revoke;
- spending that nobody sees until it is too late;
- no common rules on what goes out to the models: personal data, secrets, sensitive content;
- a change of provider that means modifying every application.

An API gateway solves this problem for your APIs. An AI gateway does the same for your calls to models.

## What AI Studio does

### One workspace, one URL, all your AI

Each AI Studio workspace has its own OpenAI-compatible URL, API keys, providers and rules. Your applications change the base URL and keep their SDK. Behind it, more than 50 providers plug in with your own keys: OpenAI, Anthropic, Mistral, Gemini, Azure, Groq, DeepSeek, Scaleway, OVHcloud, Cohere, Hugging Face, or your local models with Ollama. The providers bill you directly.

### Keys with an owner

Every API key has an owner, quotas, budgets and an expiration date. When someone leaves a project, you know what to revoke.

### The right model for every request

You decide which provider answers and what happens when it goes down: fallback chains, load balancing across providers, and smart routers. The "smart" router has the difficulty of each request rated, then sends it to the cheapest model able to handle it. The intent router picks the model whose description matches the request.

### Guardrails enforced by the gateway

Allowed or blocked models, detection of personal data, leaked secrets, prompt injections and toxic content, in requests as well as in responses. The rules apply to every key in the workspace, before anything reaches the model or your users.

### Budgets that actually stop the spending

Spending caps per key, per workspace, and now per consumer: a budget can be counted per user, per team or per model. When a limit is reached, the call is rejected with a clear message. An administrator can also allow one-off budget extensions, capped and tracked.

### Know what every call costs

The Activity page shows spending, requests, tokens, cache hit rate and latency, per key, per user and per model, with a CSV export. Every call is priced, whatever the type of model (text, image, audio, embeddings, video), along with its environmental impact: energy, carbon and water. A semantic cache serves similar prompts without calling the model again.

### Chat, playgrounds and MCP

Your teams chat with any model in the workspace, compare answers side by side, and try image, audio or OCR models in their playgrounds. Each workspace can also expose its tools to MCP clients, with semantic tool search for agents.

## Built on Otoroshi, not next to it

AI Studio is not a product bolted on next to your gateway. A workspace is made of ordinary Otoroshi entities: what you do in the studio shows up in the Otoroshi admin UI, and vice versa. Everything the studio does goes through the admin API, with the same permission checks, so you can create and manage workspaces from your own tooling.

Your calls to models therefore benefit from everything Otoroshi already does: authentication, rate limiting, observability, event export, clustering. And from the performance gains of version 18.

## Four ways to use it

| Where | Who it is for |
| --- | --- |
| **Serverless on Cloud APIM** | Nothing to install. Free to start, then per-workspace plans |
| **On Otoroshi Managed** | The LLM extension and AI Studio are included in every managed cluster |
| **On your own Otoroshi** | The LLM extension is open source (Apache 2.0) and requires Otoroshi 18 |
| **AI Studio Enterprise** | For the whole organization: enterprise login, per-workspace roles, secrets kept server-side, audit log |

## Try it

Create a free workspace on [console.cloud-apim.com](https://console.cloud-apim.com), plug in a provider key, and change the base URL of one application. That's it.

**Further reading**

- [The AI Studio page](https://www.cloud-apim.com/ai-studio)
- [The AI Studio documentation](https://cloud-apim.github.io/otoroshi-llm-extension/docs/ai-studio)
- [The Otoroshi LLM extension on GitHub](https://github.com/cloud-apim/otoroshi-llm-extension)
- [AI Studio Enterprise](https://www.cloud-apim.com/ai-studio-enterprise)

Next post: Threat Studio, threat protection that comes down to a single score.