Skip to content

Type Alias: ByollmCredential

type ByollmCredential = object;

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

SK-SDK-010 — the caller’s own provider key, dispatched at 0% markup per GLOBAL-026. Server-side this is the <provider>:<model>:<key> header (SK-LLM-021); the SDK takes the parts separately so the colon-joining (and its escaping hazards) live in one tested place. The key never leaves the caller’s process except in the request to /v1/ask, and only when this is set.

Property Type Description Defined in
key string - packages/sdk/src/index.ts:482
model string Raw upstream model id (e.g. claude-sonnet-5, gpt-5.6, or an OpenRouter id like openai/gpt-5.6). BYOLLM is the escape hatch where the user owns the model choice, so unlike the hosted model preset (SK-PREMIUM-003) this is the literal id. packages/sdk/src/index.ts:481
provider ByollmProvider - packages/sdk/src/index.ts:476