BYOK (Bring Your Own Key)

Add your personal API keys for Gemini, OpenAI, and Perplexity to unlock unlimited analysis, fixes, and citation checks with zero credit cost.

BYOK is the power user's path to unlimited GEO

With all three API keys added, RankAsAnswer runs entirely on your own keys. You get unlimited page analyses, unlimited fix generation, and unlimited citation checks — forever, regardless of your subscription tier's credit limit.

What is BYOK?

BYOK (Bring Your Own Key) allows you to connect your personal API keys from Google, OpenAI, and Perplexity directly to RankAsAnswer. When a BYOK key is active, that function uses your key instead of RankAsAnswer's shared infrastructure — which means it does not consume any credits from your monthly allocation.

This is ideal for:

  • High-volume users who scan many pages per day
  • Agency users running batch analyses for multiple clients
  • Developers integrating RankAsAnswer into automated workflows
  • Free tier users who want to remove credit limitations without upgrading

How BYOK works

Each API key covers a specific set of functions:

API keyWhat it unlocksCredit bypass
Google GeminiPage analysis scoring, fix generation (Schema, meta rewrites), content recommendationsAll analysis + fix credits
OpenAIAdvanced content generation, writer briefs, competitor analysis summariesContent generation credits
PerplexityLive citation checks, real-time AI answer verificationAll citation check credits
You can add any combination of keys — you do not need all three. Each key independently unlocks its specific functions. Adding just the Perplexity key, for example, makes all citation checks free while keeping analysis and fix generation on your credit balance.

Gemini API key setup

RankAsAnswer uses Gemini Flash — Google's fastest and most affordable Gemini model — for all fix generation. Here is how to get your key:

1

Go to Google AI Studio

Navigate to aistudio.google.com. Sign in with your Google account.
2

Click "Get API key" in the left sidebar

Then click "Create API key." You can create the key in a new project or select an existing Google Cloud project.
3

Copy your API key

Your key starts with "AIza...". Copy the full key string — it will only be shown once, so save it securely.
4

Paste into RankAsAnswer

In RankAsAnswer, go to Settings → API Keys. Find the "Google Gemini API" section, click the input field, paste your key, and click Save.
5

Verify the Active badge appears

After saving, a green "Active" badge should appear next to the Gemini key section. Your next fix generation will use your key with no credit deduction.

Gemini API pricing

Gemini Flash is extremely affordable. At current pricing, generating 1,000 fix outputs (Schema, meta rewrites) costs approximately $0.10–0.50 total on your Google account. For most users, the monthly Gemini API cost is less than $1.

OpenAI API key setup

RankAsAnswer uses OpenAI's models for advanced content generation tasks like writer briefs and competitive summaries. Here is how to get your key:

1

Go to the OpenAI Platform

Navigate to platform.openai.com. Sign in or create an account.
2

Navigate to API Keys

In the left sidebar, click "API Keys" (under your organization settings). Click "Create new secret key."
3

Name and create the key

Give it a name like "RankAsAnswer" so you can identify it later. Click "Create secret key."
4

Copy immediately

OpenAI shows the key only once. Copy it immediately. It starts with "sk-..."
5

Set a usage limit (recommended)

In OpenAI → Usage → Limits, set a monthly spending cap (e.g., $5) to prevent unexpected charges.
6

Paste into RankAsAnswer Settings → API Keys

Find the "OpenAI API Key" section, paste your key, and click Save. The Active badge confirms it is working.

Perplexity API key setup

The Perplexity key is the most impactful BYOK addition for most users — it makes every citation check free. RankAsAnswer uses Perplexity's Sonar model for live citation verification.

1

Go to Perplexity API Settings

Navigate to perplexity.ai, sign in, then go to perplexity.ai/settings/api.
2

Generate an API key

Click "Generate" under "API Keys." Your key starts with "pplx-..."
3

Add credits to your Perplexity account

Perplexity API requires a prepaid credit balance. Add at least $5 to start. Each Sonar query costs roughly $0.001–0.005 depending on the model used.
4

Paste into RankAsAnswer Settings → API Keys

Find the "Perplexity API Key" section, paste your key, and click Save. All citation checks will now use your Perplexity account.

Perplexity API cost estimate

Running 100 citation checks per month using Perplexity Sonar costs approximately $0.50–1.00 on your Perplexity account. Even heavy users running 500 checks/month typically spend less than $5/month on Perplexity API credits.

Key security & storage

Your API keys are stored using AES-256 encryption in our database. They are never logged, never included in error messages, and never transmitted to any third-party service other than the API provider they belong to.

In the Settings → API Keys page, your keys are always displayed masked (e.g., AIza••••••••••••••••••••••••••••). You can reveal a key temporarily using the show/hide toggle, but they are never stored in plain text.

Never share your API keys

Your API keys are tied to your account and billed to you. Do not share them with anyone. If you suspect a key has been compromised, delete it from RankAsAnswer immediately and rotate it in the provider's dashboard.

Removing keys

To remove a key, go to Settings → API Keys, find the key you want to remove, and click the Delete icon. After deletion, that function will revert to using your RankAsAnswer credit balance.

Removing a key from RankAsAnswer does not revoke it from the provider's dashboard — you will need to do that separately if you want to fully invalidate the key.

Was this page helpful?