Information
- OpenAPI version:
3.1.0
Gm is a privacy-first inference gateway. It is OpenAI-compatible: point an existing OpenAI SDK at this server by setting base_url to https://api.saygm.com/v1 and authenticating with a gm API key, and your code works unchanged. Send a bare model id (no provider prefix) as the model field; the gateway resolves the upstream provider from its catalog. Every request is sealed inside an Intel TDX TEE that keeps the route confidential in-transit and in-use. The gateway also exposes the native Anthropic Messages API at POST /v1/messages and the Gemini API at POST /v1beta/models/{model}:generateContent (base URL https://api.saygm.com) for those SDKs. Publicly available.
A gm API key minted in the dashboard, sent as Authorization: Bearer <gm-api-key>.
Security scheme type: http
A GM API key sent using Anthropic’s native x-api-key header.
Security scheme type: apiKey
Header parameter name: x-api-key
A GM API key sent using Gemini’s native key query parameter. Prefer bearer authentication when the client supports it.
Security scheme type: apiKey
Query parameter name: key