← Back to Guides
πŸ”‘ Advanced

Bring Your Own Key

Use your own API keys for unlimited AI features. Full control, direct billing, and access to the latest AI models from OpenAI, Anthropic, Google, and more.

πŸ“– 10 min read πŸ”§ Setup Guide

What is BYOK?

BYOK (Bring Your Own Key) is Eristotle's technical tier that lets you use your own API keys from leading AI providers. Instead of using our shared infrastructure, you connect directly to OpenAI, Anthropic, Google, and other providers using your personal API keys.

πŸ’°

Direct Billing

Pay providers directly based on your actual usage. No markup, no hidden fees.

♾️

Unlimited Usage

No monthly voice minute limits. Use AI features as much as you want.

🎯

Model Selection

Choose specific AI models for different features. GPT-4o for chat, Claude for insights, Gemini 2.5 Flash Lite for sentiment tagging, and so on.

πŸ›‘οΈ

Apple Intelligence Fallback

If your API key runs out of credits, Eristotle falls back to on-device Apple Intelligence.

Getting Started

Setting up BYOK in Eristotle is straightforward. Here's what you'll need:

1

Subscribe to BYOK

BYOK is available for $3/month or $30/year (save 17%). Go to Settings β†’ Subscription in Eristotle and select the BYOK tier.

2

Create API Keys

Sign up for accounts with your preferred AI providers (OpenAI, Anthropic, Google, etc.) and generate API keys. See detailed instructions below.

3

Add Keys to Eristotle

Go to Settings β†’ BYOK Features β†’ API Keys and enter your API keys. Eristotle validates them automatically.

4

Configure Models (Optional)

Go to Settings β†’ BYOK Features β†’ Model Settings to choose which AI models to use for different features.

πŸ’‘
Pro Tip: You only need one API key to get started! OpenAI is the most versatile choice since it powers text chat, sentiment analysis, insights, and voice transcription.
πŸ€–

OpenAI Setup

OpenAI models supported by Eristotle include GPT-5.1, GPT-5 models, GPT 4.1 models, GPT-4o models, o4, o3, and Whisper (for voice transcription). This is the most important key for full Eristotle functionality.

Create Your OpenAI API Key

  1. Create an OpenAI account

    Go to openai.com/api and sign up or log in (API Platform).

  2. Add payment method

    Navigate to Settings β†’ Billing and add a credit card. OpenAI requires payment info before API access.

  3. Add credits

    Purchase API credits. We recommend starting with $5-20 to test. You can enable auto-recharge later.

  4. Generate API key

    Click the gear icon. On the left, in the navigation menu Projects, select the API Keys section and click "Create new secret key". Name it "Eristotle" for easy reference.

  5. Copy the key immediately

    OpenAI only shows the key once! Copy it and add it to Eristotle right away. If you make a mistake, you can always delete the key and create a new one.

Key Format sk-proj-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Starts with "sk-" followed by alphanumeric characters

Recommended Models

GPT-5 nano Fast, cost-effective for most tasks ~$0.05 per 1M input tokens / $0.4 per 1M output tokens
GPT-5 mini Best quality for chat and insights ~$0.25 per 1M input tokens / $2 per 1M output tokens
Whisper Voice transcription (automatic) ~$0.006 per minute
⚠️
Set a spending limit! Go to OpenAI's Billing β†’ Limits and set a monthly budget (e.g., $5-10) to avoid unexpected charges.
🧠

Anthropic (Claude) Setup

Anthropic provides Claude models, known for nuanced, thoughtful responses and excellent reasoning capabilities. Claude Sonnet 4.5 is great for journaling insights.

Create Your Anthropic API Key

  1. Create an Anthropic account

    Go to console.anthropic.com and sign up.

  2. Add payment method

    Navigate to Plans & Billing and add a credit card.

  3. Purchase credits

    Add credits to your account. $5-10 is a good starting point.

  4. Generate API key

    Go to API Keys under the MANAGE section and click "Create Key". Name it "Eristotle" for your reference.

  5. Copy the key

    Copy and store the key securely, then add it to Eristotle.

Key Format sk-ant-api03-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Starts with "sk-ant-" followed by alphanumeric characters

Recommended Models

Claude Haiku 4.5 Fast, efficient for quick tasks ~$1 per 1M input tokens / $5 per 1M output tokens
Claude Sonnet 4.5 Best balance of quality and speed ~$3 per 1M input tokens / $15 per 1M output tokens
Claude Opus 4.5 Highest quality, complex reasoning ~$5 per 1M input tokens / $25 per 1M output tokens
πŸ’Ž

Google Gemini Setup

Google Gemini offers excellent multimodal capabilities and generous context windows. Gemini 2.5 Flash is fast and cost-effective for everyday use.

Create Your Gemini API Key

  1. Go to Google AI Studio

    Visit aistudio.google.com and sign in with your Google account.

  2. Get API key

    Click "Get API key" in the left sidebar, then "Create API key".

  3. Select or create a project

    Choose an existing Google Cloud project or create a new one.

  4. Copy your key

    Your API key will be displayed. Copy it and add to Eristotle.

Key Format AIzaSyxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Starts with "AIza" followed by alphanumeric characters

Recommended Models

Gemini 2.5 Flash Lite Fastest, most cost-effective Free tier available / ~$0.10 per 1M input tokens / ~$0.40 per 1M output tokens
Gemini 2.5 Flash Best balance for everyday use Free Tier Available / ~$0.30 per 1M input tokens / ~$2.50 per 1M output tokens
Gemini 3 Flash Preview Highest quality, 1M context Free Tier Avaliable / ~$0.50 per 1M input tokens / ~$3.00 per 1M output tokens
🎁
Free tier available! Google offers free API access with rate limits. Great for testing before adding billing.
πŸ”€

OpenRouter Setup

OpenRouter is a unified API gateway that gives you access to models from OpenAI, Anthropic, Google, and many other providers using a single API key. This is perfect if you want the flexibility to use different models without managing multiple API keys.

⭐
Recommended for BYOK subscribers: OpenRouter is our top recommendation because you can access 300+ models from 60+ providers with a single API key. Track all your usage in one dashboard, set spending limits per key, and easily switch between models without managing multiple accounts.
πŸ’‘
One key, many models: With OpenRouter, you can access GPT-5, Claude, Gemini, DeepSeek, Grok, and hundreds more using just one API key. Perfect for experimenting with different models or finding the best one for your journaling style.

Create Your OpenRouter API Key

  1. Create an OpenRouter account

    Go to openrouter.ai and sign up or log in. Click "Get API Key" on the homepage.

  2. Add credits

    Navigate to the billing section and add credits to your account. OpenRouter offers pay-as-you-go pricing with no minimum. We recommend starting with $5-10.

  3. Generate API key

    Go to openrouter.ai/settings/keys and click "Create API Key".

  4. Configure your key

    Name it "Eristotle" for easy reference. Optionally set a Credit limit (e.g., $10) to control spending. You can also set an expiration date for added security.

  5. Copy the key

    Copy your API key and add it to Eristotle in Settings β†’ BYOK Features β†’ API Keys β†’ OpenRouter.

Key Format sk-or-v1-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Starts with "sk-or-v1-" followed by alphanumeric characters

How OpenRouter Works

When you select an OpenRouter model in Eristotle, the model name includes the provider prefix (e.g., openai/gpt-5-mini or anthropic/claude-sonnet-4.5). OpenRouter routes your request to the appropriate provider automatically.

Recommended Models

OpenRouter provides access to 300+ models from 60+ providers. Here are the models available in Eristotle:

Chat & Insight Models

openai/gpt-5-mini Best balance for chat $0.25/M in, $2/M out
openai/gpt-5.2 Latest OpenAI flagship $1.75/M in, $14/M out
openai/gpt-5.1 Strong reasoning $1.25/M in, $10/M out
openai/gpt-4.1 Strong reasoning, 1M context $2/M in, $8/M out
openai/gpt-4.1-mini Fast and affordable $0.40/M in, $1.60/M out
openai/gpt-4o-mini Budget-friendly $0.15/M in, $0.60/M out
anthropic/claude-sonnet-4.5 Best for insights & sentiment $3/M in, $15/M out
anthropic/claude-haiku-4.5 Fast emotion tagging $1/M in, $5/M out
google/gemini-3-flash-preview Latest Gemini, thinking mode $0.50/M in, $3/M out
google/gemini-2.5-flash Cost-effective, reliable $0.30/M in, $2.50/M out
google/gemini-2.5-pro Strong reasoning $1.25/M in, $10/M out
deepseek/deepseek-v3.2 Open source leader, very cheap $0.25/M in, $0.38/M out
x-ai/grok-4.1-fast Fast Grok, 2M context $0.20/M in, $0.50/M out
minimax/minimax-m2-her Emotional intelligence $0.30/M in, $1.20/M out

Embedding Models (for Smart Search)

openai/text-embedding-3-small Fast, cost effective $0.02/M tokens
openai/text-embedding-3-large Higher quality $0.13/M tokens
google/gemini-embedding-001 Google's latest embedding $0.15/M tokens
qwen/qwen3-embedding-8b MTEB #1, 512 dimensions $0.01/M tokens
⚠️
Set a credit limit! When creating your API key, set a credit limit (e.g., $10) to control spending. You can also set the limit to reset monthly.
ℹ️
Note: OpenRouter does not support audio transcription. If you want to use voice memos, please configure an OpenAI API key for Whisper.
πŸš€

Voyage AI Setup

Voyage AI provides high-quality text embeddings for Eristotle's Smart Search feature. This is optionalβ€”Eristotle uses on-device embeddings by default.

Create Your Voyage AI API Key

  1. Create a Voyage AI account

    Go to voyageai.com and sign up.

  2. Access the dashboard

    After signing in, navigate to your API dashboard and select API keys under the Project section.

  3. Generate API key

    Click "Create new secret key" and name it.

  4. Copy and add to Eristotle

    Add the key in Settings β†’ BYOK Features β†’ API Keys β†’ Voyage AI.

Key Format pa-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Starts with "pa-" followed by alphanumeric characters

Recommended Model

Voyage 3.5 Lite Fast, efficient embeddings ~$0.02 per 1M tokens
πŸ’‘
When to use Voyage AI: If you have a large journal history (1000+ entries) and want faster, more accurate Smart Search results. Otherwise, on-device embeddings work great.
πŸŽ™οΈ

ElevenLabs Setup

ElevenLabs powers Eristotle's real-time AI Voice Chat feature with natural, expressive voices. Good news: Eristotle sets up your voice agent automatically when you add your API keyβ€”no manual configuration needed!

✨
Auto-Agent Setup: When you add your ElevenLabs API key and tap "Set Up," Eristotle automatically creates and configures a voice agent for you. The agent is pre-configured with the right voice, personality, and tools to search your journal entries during conversations. This feature is available to both BYOK and Premium subscribers.

Step 1: Create ElevenLabs Account & API Key

  1. Sign up at ElevenLabs

    Go to elevenlabs.io and create an account.

  2. Choose a plan

    Free tier offers limited minutes. Creator ($22/month) or Pro ($99/month) recommended for regular use.

  3. Navigate to Developers

    In the left sidebar, click Developers to access API settings.

  4. Create your API key

    Click "Create an API Key" under Quick Links. When creating the key, ensure you enable the following permissions:

    • Text-to-Speech: Powers AI voice responses in Text Chat
    • Conversational AI (Agents): Required for the Voice Chat feature
    • History: Allows Eristotle to retrieve and sync conversation audio
    • User: Required for API authentication and account validation

    After creating, click the ellipses on your key and select "Copy Key ID".

Step 2: Add API Key to Eristotle

  1. Open BYOK Settings

    In Eristotle, go to Settings β†’ BYOK Features β†’ API Keys.

  2. Enter your API key

    Paste your ElevenLabs API key in the ElevenLabs field.

  3. Tap "Set Up"

    Eristotle will automatically create a voice agent configured for your selected avatar (Eris or Talen). The agent includes journal search capabilities out of the box.

  4. Start a Voice Call

    You're ready! Tap the phone icon in the chat view to start a voice conversation.

πŸ”„
Switching avatars? When you change between Eris and Talen, Eristotle automatically updates your agent's voice to match. No manual reconfiguration needed.
API Key ID Format xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx The API key ID is a string of alphanumeric characters.

Custom Avatar: Use Your Own Agent

If you select the Custom avatar in Eristotle, you can use your own ElevenLabs agent instead of the auto-provisioned one. This gives you full control over voice selection, personality, and configuration.

⚠️
Custom agents require manual setup: When using a custom avatar, you must create your own agent in the ElevenLabs dashboard and enter the Agent ID in Eristotle. You'll also need to configure the agent's tools and system prompt manually.

Creating a Custom Agent

  1. Go to Agents

    In ElevenLabs, navigate to Agents in the left sidebar under the Configure section.

  2. Create new agent

    Click the + button next to Agents and choose a template or start from scratch.

  3. Configure your agent

    Set up the following:

    • Voice: Choose any voice from the ElevenLabs library, including cloned voices
    • First message: A warm greeting like "Hi! How are you feeling today?"
    • System prompt: Define personality and include tool usage instructions (see below)
  4. Enable authentication

    Go to the Security tab and toggle on "Enable authentication". This is required for the agent to work with Eristotle.

  5. Copy the Agent ID

    After saving, find your Agent ID in the agent settings. It looks like: agent_xxxxxxxxxxxxxxxxxx

  6. Enter Agent ID in Eristotle

    Select the Custom avatar, then go to Settings β†’ BYOK Features β†’ API Keys β†’ ElevenLabs and enter your Agent ID.

Agent ID Format agent_xxxxxxxxxxxxxxxxxx UUID format with hyphens

Required: System Prompt Tool Instructions

For your custom agent to search journal entries and recall past conversations, you must include tool usage instructions in your agent's system prompt. Without these, the agent won't know when or how to use the journal search capabilities.

πŸ“
Add this to your system prompt: Copy and paste the following tool usage section into your agent's system prompt. This tells the agent when to search your journal and conversation history.
System Prompt Tool Instructions
# Tool Usage:
Use `search_journal` when a user asks about past experiences, emotions, progress, or specific events they've written about in their journal.
Example: "How have I been feeling about work lately?" or "What did I write about my mom?"
Returns: Date, emotion, content, and therapeutic insights.

Use `search_memories` when a user asks about our previous conversations, advice you've shared, or recurring topics we've discussed.
Example: "What did we talk about last time?" or "Remind me of that advice you gave me about stress."
Returns: Date, source, and conversation content.

Adding Journal Retrieval Tools

In addition to the system prompt instructions, you need to add client tools to your agent. These are special functions that allow the agent to request information from Eristotle during the conversation.

πŸ’‘
What are client tools? Client tools let your AI agent trigger actions on your device. When you ask "What did I write about last week?" the agent calls the search_journal tool, and Eristotle searches your entries and returns the results to the conversation. Learn more β†’

Eristotle supports two client tools:

πŸ“–

search_journal

Searches your journal entries for relevant past experiences, emotions, and thoughts. Use when you want your AI companion to have context about what you've written.

πŸ’­

search_memories

Recalls key insights and memories from previous AI conversations. Use when you want continuity between Voice Call sessions.

Adding the search_journal Tool

  1. Open your agent's Tools settings

    In ElevenLabs, go to your agent and click the Tools tab.

  2. Add a new Client tool

    Click Add Tool and ensure the Tool Type is set to Client.

  3. Configure the tool

    Enter the following settings:

    Name search_journal
    Description Search the user's journal history to find relevant past entries, emotions, and experiences. Use this when the user asks about their past, what they've written about, how they felt about something, or when you need context about their life.
  4. Enable required options

    Check Wait for response and Disable interruptions. Set Execution mode to Async.

  5. Add the query parameter

    Click Add Parameter and configure:

    Identifier query
    Data Type String
    Required Yes
    Description The search query
  6. Save the tool

    Click Save to add the tool to your agent.

Adding the search_memories Tool

  1. Add another Client tool

    Click Add Tool again with Tool Type set to Client.

  2. Configure the tool

    Enter the following settings:

    Name search_memories
    Description Search previous conversation memories and key insights from past chats. Use this when the user references something they told you before or asks about previous conversations.
  3. Enable required options

    Check Wait for response and Disable interruptions. Set Execution mode to Async. This tool has no parameters.

  4. Save the tool

    Click Save to add the tool to your agent.

⚠️
Tool names must match exactly! The tool names (search_journal and search_memories) are case-sensitive and must be spelled exactly as shown for Eristotle to recognize them.
Advanced: Import via JSON

If you prefer, you can use ElevenLabs' "Edit as JSON" feature to import these tools directly. Click Edit as JSON in the tool configuration and paste the relevant JSON:

search_journal
{
  "type": "client",
  "name": "search_journal",
  "description": "Search the user's journal history to find relevant past entries, emotions, and experiences. Use this when the user asks about their past, what they've written about, how they felt about something, or when you need context about their life.",
  "disable_interruptions": true,
  "execution_mode": "async",
  "expects_response": true,
  "response_timeout_secs": 10,
  "parameters": [
    {
      "id": "query",
      "type": "string",
      "description": "The search query",
      "required": true
    }
  ]
}
search_memories
{
  "type": "client",
  "name": "search_memories",
  "description": "Search previous conversation memories and key insights from past chats. Use this when the user references something they told you before or asks about previous conversations.",
  "disable_interruptions": true,
  "execution_mode": "async",
  "expects_response": true,
  "response_timeout_secs": 10,
  "parameters": []
}

Optional: Custom Voice ID

If you want to use a specific voice (including cloned voices) for AI responses in text chat, you can override the agent's default voice by entering a Voice ID in Eristotle. Find Voice IDs in Voices β†’ Voice Library in ElevenLabs.

Model Selection Guide

Once you've added API keys, you can choose which models to use for different features. Go to More β†’ Model Settings in Eristotle.

Feature-to-Model Recommendations

πŸ’¬

Text Chat

Your main conversation experience. Use the best model you're comfortable paying for.

Best: Claude Sonnet 4.5 Budget: Gemini 3 Flash
πŸ’‘

Insight Generation

Weekly themes and patterns. Needs good reasoning but runs less frequently.

Best: GPT-5.1 Budget: GPT-4.1 mini
❀️

Sentiment Analysis

Emotion detection runs on every entry. Use a fast, cheap model.

Best: GPT-5.1 Budget: GPT-4.1
🎭

Emotion Tagging

Quick classification task. Fastest model works fine.

Best: Claude Haiku 4.5 Budget: GPT-5 mini

Available Models Reference

Eristotle is optimized to work with many models from leading AI companies. The team strives to ensure that new models are compatible with Eristotle's AI features and are available to users shortly after release. Below are the specific models currently available for selection in the app (as of December 2025).

OpenAI

GPT-5 Series
  • GPT-5.2, 5.1, 5
  • GPT-5 Pro
  • GPT-5 mini, 5 nano
GPT-4 Series
  • GPT-4.1, 4.1 Mini, 4.1 Nano
  • GPT-4o, 4o Mini
  • GPT-4 Turbo
Reasoning (o-series)
  • o4-mini
  • o3, o3-mini
Other
  • Whisper (Transcription)
  • Text Embedding 3 (Small/Large)

Anthropic (Claude)

Claude 4.5
  • Claude Opus 4.5
  • Claude Sonnet 4.5
  • Claude Haiku 4.5
Claude 4.1
  • Claude Opus 4.1

Google Gemini

Gemini 3
  • Gemini 3 Flash (Preview)
Gemini 2.5
  • Gemini 2.5 Pro
  • Gemini 2.5 Flash
  • Gemini 2.5 Flash Lite
Gemini 2.0
  • Gemini 2.0 Flash
  • Gemini 2.0 Flash Lite
Other
  • Gemini Embedding

Voyage AI

Embeddings
  • Voyage 3.5 Lite
  • Voyage 4 Lite

Troubleshooting

"Invalid API Key" error
  • Make sure you copied the entire key without extra spaces
  • Check that the key hasn't been revoked or expired
  • Verify you have billing enabled on the provider's platform
  • Some providers require API access to be explicitly enabled
"Rate Limited" or "Insufficient Credits" error
  • Add more credits to your provider account
  • Check your usage dashboard for spending
  • Consider upgrading your plan for higher limits
  • Google Gemini's Free Tier has strict rate limits; for a more reliable and consistent experience, a paid plan is recommended
  • Eristotle will fall back to Apple Intelligence automatically
AI responses are slow
  • Try switching to a faster model (GPT-5 mini, Gemini 2.5 Flash Lite)
  • Check your internet connection
  • The provider may be experiencing high load, especially with new and popular models. You can switch models or try again later.
Voice Chat not working
  • Verify your ElevenLabs API Key is entered and tap "Set Up" to provision the agent
  • Check that your ElevenLabs plan includes Conversational AI
  • Verify that your key has the correct permissions (Conversational AI, Text-to-Speech, History, User)
  • For Custom avatars: Ensure you've entered your own Agent ID
  • For Custom avatars: Enable authentication in the Security tab for your agentβ€”Eristotle requires this to connect
  • For Custom avatars: Add the tool usage instructions to your agent's system prompt for journal search to work
How do I check my usage?
  • OpenAI: platform.openai.com β†’ Usage
  • Anthropic: console.anthropic.com β†’ Usage
  • Google: aistudio.google.com β†’ API quotas
  • ElevenLabs: elevenlabs.io β†’ Usage
🀝

Still need help?

We understand that setting up your own API keys can be technical and sometimes frustrating. If you've followed the steps above and are still running into issues, we're here to guide you through it.

Contact Support

Security Best Practices

πŸ”

Keys stored securely

Eristotle stores your API keys in iOS Keychain, the same secure enclave used for passwords and Face ID data.

🚫

Never shared

Your API keys are never sent to Eristotle servers. They go directly from your device to the AI providers.

πŸ’³

Set spending limits

Always configure monthly spending limits on each provider's platform to prevent unexpected charges.

πŸ”„

Rotate keys periodically

Generate new API keys every few months and delete old ones. Update the new keys in Eristotle.

πŸ“±

Device-specific keys

Consider creating separate API keys for Eristotle so you can revoke access without affecting other apps.

πŸ—‘οΈ

Easy removal

You can remove all API keys at once from Settings β†’ BYOK Features β†’ API Keys β†’ Remove All.

Ready to get started?

Download Eristotle and subscribe to BYOK Premium to unlock unlimited AI features.

Download Eristotle