What Is BYOK and How EpigraphIA Uses Your Own AI Keys

BYOK (Bring Your Own Key) is the model where the app does not sell AI credits — you connect your own OpenAI, Anthropic, Google Gemini or Replicate keys and pay the provider directly. Three benefits: cost transparency, no vendor lock-in, and full privacy (prompts don't pass through EpigraphIA's servers).

Buy EpigraphIA · $169 USD

What is BYOK?

BYOK stands for Bring Your Own Key. It's a business model where the application does not include AI credits and does not charge a markup on usage. The user connects their own API keys from providers of choice (OpenAI, Anthropic, Google, Replicate, etc.) and pays the provider directly for what they consume.

How BYOK works in EpigraphIA

  1. You buy EpigraphIA once ($169 USD).
  2. You create an account with the AI provider you prefer (OpenAI, Anthropic, Google Cloud, Replicate, Pixabay).
  3. You generate an API key in the provider's dashboard and set a monthly spending limit.
  4. You paste the API key into Settings → API Keys in EpigraphIA. It's encrypted locally with safeStorage (DPAPI on Windows) and stored in api_keys.enc.
  5. You use the AI tools — each call goes directly from your computer to the provider, with no stop at EpigraphIA's servers.
  6. The provider bills you directly (Stripe / card) for what you consumed.

Advantages of BYOK vs credit-based models

Supported providers and available models

ProviderModels hardcoded in EpigraphIAPrimary use
OpenAIgpt-4o-mini (default), gpt-4o, gpt-4-turboText, prompts, brainstorming, chat with Xolo
Anthropic (Claude)Direct API key (no selector — uses provider default)Text, long-form editing, analysis
Google GeminiDirect API key (includes Nano Banana)Text and image
Replicateflux-schnell (default), flux-dev, flux-1.1-proFLUX images (covers, illustrations)
PixabayDirect API keyStock images integrated in editor
AmazonScraperAPIDirect API keyKDP keyword research (Hunter)
DataForSEODirect API keyAdvanced SEO research (Hunter)

How API keys are stored (security)

Keys are encrypted locally with Electron's safeStorage.encryptString() function, which on Windows uses DPAPI (Data Protection API). The encrypted file is named api_keys.enc and lives in the app's config folder.

Technical guarantee: an attacker who copies your api_keys.enc file to another machine cannot read it, because the encryption secret lives in your operating system (bound to your Windows account). Without the system's key, the file is encrypted garbage.

Comparison: BYOK vs credit-based SaaS

AspectBYOK (EpigraphIA)Credit-based SaaS
App cost$169 USD one time$20-100 USD/month
Cost per image generation~$0.003-0.05 USD (real)~$0.15-0.50 USD (with markup)
Data passing through middlemanNoneAll prompts and outputs
Switch AI providerChange the API keySwitch services
Spending capSet in your provider accountDepends on plan
New better model releasedChange the model in SettingsWait for the SaaS to integrate it

Requirements and limitations

Frequently asked questions

What does BYOK mean?

BYOK means Bring Your Own Key. It's a model where the app does not include AI credits — the user connects their own API keys from providers like OpenAI, Anthropic, Google Gemini or Replicate and pays the provider directly for usage.

What advantages does BYOK offer?

Three main advantages: (1) full cost transparency — you pay exactly what the AI consumed with no markup; (2) no vendor lock-in — you can switch providers anytime; (3) privacy — prompts flow directly from the client to the provider without stopping at EpigraphIA's servers.

Where does EpigraphIA store API keys?

On your computer, encrypted with Electron's safeStorage (DPAPI on Windows). The file is called api_keys.enc and lives in the app's config folder. An attacker who copies that file to another machine cannot read it because the encryption secret lives in the local operating system.

Which AI providers does EpigraphIA support?

OpenAI (gpt-4o, gpt-4o-mini, gpt-4-turbo), Anthropic Claude, Google Gemini (includes Nano Banana for image), Replicate (flux-schnell, flux-dev, flux-1.1-pro for image), Pixabay (image stock), and research providers for Hunter (AmazonScraperAPI, DataForSEO).

Do prompts pass through EpigraphIA's servers?

No. The app makes calls directly to the provider from your computer. EpigraphIA does not see your prompts or responses. The only data reaching Xolo Beaver Studios' servers is related to licensing and the initial payment.

How much does the AI actually cost me in practice?

Depends on the provider and volume. As reference: generating one image with FLUX Schnell on Replicate costs ~$0.003 USD. A 50-page coloring book with AI images costs between $0.15 and $2 USD depending on the model. Real cost is controlled by you from the provider's dashboard.

See also: