Skip to content

Type Alias: ByollmProvider

type ByollmProvider =
| "openai"
| "anthropic"
| "google-ai-studio"
| "grok"
| "openrouter"
| string & object;

Defined in: packages/sdk/src/index.ts:461

BYOLLM (SK-PREMIUM-008) provider slugs the API accepts on the x-nlq-byollm-key lane — the AI Gateway compat-endpoint providers (SK-LLM-021, verified 2026-05). OpenRouter is listed in SK-PREMIUM-008 but not yet on the compat endpoint, so it is not here. Open-ended so a new slug doesn’t force an SDK bump to compile; the trade-off is that an unrecognised slug surfaces as the server’s one-sentence 400, not at construction — the SDK validates shape, not the evolving provider allowlist it would otherwise have to track.