Skip to content

Notebooks

Notebooks are where real data meets a model first, often before anyone has asked whether it should. Send their model calls through the gateway and guardrails see that data before a provider does, each person's spend shows under their name, and every call is in Request logs.

Notebook How it reaches the gateway
Jupyter AI Its chat and %%ai magics use the OpenAI format with the gateway's address
Google Colab Your code uses the OpenAI, Anthropic or Google GenAI SDK, with the key in Colab's secrets

Any other notebook (VS Code, Databricks, SageMaker, a plain Jupyter kernel) works the same way as Colab: point the SDK in your code at the gateway. See Choosing an SDK.

Built-in notebook assistants that a vendor runs on its own models, such as Gemini in Colab, don't go through the gateway.