Featured image of post OpenRouter BYOK: Get 1 Million Free Requests with Your OpenAI & Anthropic Keys

OpenRouter BYOK: Get 1 Million Free Requests with Your OpenAI & Anthropic Keys

Leverage OpenRouter's BYOK for 1 million free requests! Connect your OpenAI and Anthropic API keys and save on LLM costs. A guide to using OpenRouter with your own keys.

Openrouter an LLM chat API aggregator, announced that they have opened up 1 million free BYOK (bring your own keys) requests per month.

This slashes their standard platform fee of 5%, allowing users to utilize their all-in-one API while still being billed through their OpenAI or Anthropic accounts. This is perfect for those of us who have lingering balances spread across developer accounts and is a good excuse to make the switch.

How to BYOKs

How to get an OpenAI API key

OpenAI API Keys: Location of your secret keys in the OpenAI developer settings.

  • Finally, click the top right create new secret key

You’ll have your API key!

How to get free 250k daily ChatGPT 5 tokens per day!

how to get an anthropic API key

  • Go to anthropics developer console and sign in.

  • Clicking the expansion arrow at the top left, click API keys, which is under the manage section:

Anthropic API Keys: Where to find your API keys in the Anthropic console.

  • Create your anthropic API key.

Connecting your keys to Openrouter

  • In your Openrouter settings, select integrations and from the list input your API keys.

OpenRouter Integrations: Connecting your OpenAI and Anthropic API keys in OpenRouter settings for BYOK.

Configuration of presets (mandatory)

Sometimes you have to learn things the hard way, and that was me a few hours ago when I zapped away a dollar in credits when I went through the hassle of getting my OpenAI account verified to use the free daily 250k tokens for GPT 5.

One of the amazing features of Openrouter is that they will choose the best provider of each model which you can configure from the fastest to the cheapest; however, to make sure it routes through your BYOK key:

  • Go into settings > presets > add presets

In your new preset, you’re going to want to:

  • give it a name (name it around the model you want to use, for easy configuration)
  • select the model you want to use
  • then enable provider routing

OpenRouter Preset Configuration: Setting up provider routing to use your BYOK keys for specific models (e.g., ChatGPT).

  • Under provider routing, make sure to select the actual developing company as the provider under the only option

Then save the preset, you will use the preset’s name, for example, @preset/chat-gpt-free as your model.

How to get a discount on Openrouter’s general use on all models

Another cost savings you can get for your agents is by getting 1% discount on their 5% platform fee, simply by:

  • going into settings > Training, Logging, & Privacy, then toggling Enable input/output logging for all requests on.

OpenRouter Discount: Enabling input/output logging to receive a 1% discount on OpenRouter's platform fee.