Docs/Concepts/BYOK vs Marketplace

BYOK vs Marketplace

Compare the two ways to provide API credentials in Keystore: bring your own keys (BYOK) or use pre-provisioned marketplace keys.


BYOK vs Marketplace

Keystore supports two modes for providing API credentials to your agents: BYOK (Bring Your Own Keys) and Marketplace (pre-provisioned keys). You can mix both modes within the same project.

BYOK (Bring Your Own Keys)

In BYOK mode, you add your own API keys from each provider. Keystore encrypts and stores them, then injects them into requests at proxy time.

How it works:

  1. You sign up with the provider (e.g., OpenAI) and generate an API key
  2. You add the key in the Keystore dashboard under Providers
  3. Keystore encrypts it with AES-256-GCM and stores the ciphertext
  4. When your agent makes a request, the proxy decrypts and injects your key

Best for:

  • Teams with existing provider accounts and negotiated pricing
  • Workloads that need specific account-level settings (organization IDs, custom rate limits)
  • Full control over billing directly with the provider

Marketplace

In Marketplace mode, Keystore provides pre-provisioned API credentials. You do not need to create an account with the provider at all — just select the provider and start making requests.

How it works:

  1. You enable a provider from the Keystore marketplace
  2. Keystore provisions shared or dedicated credentials on your behalf
  3. Usage is billed through Keystore with transparent per-unit pricing
  4. No provider account or API key management required on your end

Best for:

  • Rapid prototyping — start using a provider in seconds
  • Agents that need access to many providers without managing dozens of accounts
  • Teams that want consolidated billing across all providers

Comparison

BYOKMarketplace
Setup timeMinutes (you create provider account + key)Seconds (enable in dashboard)
API key managementYou manage keys in the provider's dashboardKeystore manages keys for you
BillingDirect with providerThrough Keystore
PricingYour negotiated rateKeystore per-unit pricing
Rate limitsYour account's limitsShared or dedicated limits
Provider account requiredYesNo
Custom organization settingsYesNo
Available providersAll supported providersSelect providers (see dashboard)

Provider availability

Each provider in Keystore has an availability tier:

AvailabilityDescriptionExamples
MarketplaceAvailable as pre-provisioned keys through the marketplaceOpenAI, Anthropic, Neon
ConciergeAvailable on request — contact support for provisioningTwilio, Pinecone, Groq
BothAvailable in both BYOK and Marketplace modesOpenAI, Anthropic, Resend

You can check provider availability on the Providers page in the dashboard.

Using both modes together

A single project can use BYOK for some providers and Marketplace for others. For example:

  • BYOK for OpenAI (you have an enterprise agreement with custom pricing)
  • Marketplace for Resend (you just need to send a few emails and do not want another account)
  • BYOK for Neon (you have an existing database with production data)

The agent token works the same way regardless of mode. The proxy determines which credential to use based on the provider configuration in your project.

Switching modes

You can switch a provider from Marketplace to BYOK (or vice versa) at any time:

  1. Go to Providers in the dashboard
  2. Select the provider
  3. Choose BYOK and enter your own key, or choose Marketplace to use provisioned keys

Active agent tokens continue to work — the proxy picks up the new credential source automatically.

Next steps