Skip to main content

What is BYOK?

Bring Your Own Key (BYOK) mode lets you use your existing API key from any LLM provider (OpenAI, Anthropic, etc.) while still getting OpenCompress’s compression benefits.

How it works

In BYOK mode:
  1. Your prompts are compressed by OpenCompress
  2. The compressed request is forwarded to your provider using your API key
  3. You pay your provider directly at their rates
  4. OpenCompress charges only 20% of the savings as a fee

Setup

When creating an API key in the dashboard, select BYOK mode and provide:

Pricing comparison

BYOK is ideal if you already have negotiated rates, enterprise agreements, or credits with an LLM provider. You get compression savings on top of your existing deal.

Supported providers

Any OpenAI-compatible API endpoint works with BYOK:

Security

  • Your upstream API key is stored encrypted and only used for forwarding requests
  • OpenCompress never logs your upstream key in plaintext
  • You can revoke your OpenCompress key at any time to stop forwarding