Skip to main content
Use the object model config for a custom endpoint:
A bare string such as model: "openai/..." carries no url, so the router resolves it to the built-in provider for that prefix. Use the object form for Nito.
Or an AI SDK provider instance, which Mastra accepts anywhere a model is expected:

Privacy

Use a catalog ID, not an OpenAI name. Every catalog ID runs in attested hardware; GET /v1/models lists them. End-to-end encryption needs client-side encryption and extra headers, which these frameworks do not add. See How Privacy Works.

Framework Integrations

The shared pattern.

OpenAI Compatibility

What differs.

How Privacy Works

Privacy-preserving hardware on every call.