BYOK routing

How a request sent to Merki reaches your provider on a BYOK route.

Quick path

  1. Register the provider key once.
  2. Send requests to Merki with the BYOK route model name.
  3. Merki forwards, returns the provider response, and bills nothing on its side.

Details

TopicDecision
Model namesThe model field passes through to the provider verbatim. Use the provider's own model ID (for example gpt-4o, claude-sonnet-4-5). There is no Merki-side alias table.
ShapesThe request shape must be one the provider supports. An OpenAI-shaped request to a provider that only serves its native shape returns 400. See Endpoints.
Auth to MerkiMerki key as bearer. Provider keys are never sent by the client per request. See Authentication.
Auth to providerMerki uses the registered provider key server-side. It is stored encrypted and never returned after registration.
FailuresProvider outages surface as 5xx upstream_error and are excluded from Merki's SLA. See Errors and the Service level agreement.
RevocationThe same automatic revocation applies to the Merki-side route. See API keys.
DataThe provider processes the request under your agreement with them. Merki-side retention is unchanged. See Zero data retention.

Checklist

  • [ ] model matches the provider's ID exactly.
  • [ ] Request shape matches what that provider accepts.
  • [ ] Provider-side billing and retention are tracked in the provider console.

Next step

Check the fee (zero) and enterprise terms: Pricing.