KeyRouter
Blue and gold painted stars swirl above a quiet village
Starlight

A world of ideas.
One connection.

Find the right model for your next idea.
Connect through one familiar API.

AI-generated artwork · Static preview

Connect with the OpenAI SDK
Python · OpenAI SDK
from openai import OpenAI
import os

client = OpenAI(
  base_url="https://keyrouter.ai/v1",
  api_key=os.environ["KEYROUTER_API_KEY"]
)

One familiar API, with choices from
our published model catalog

Published models
—
Providers
—
Compatible endpoint
1
Pricing currency
USD

Find your starting point

A model for your next idea.

Open live catalog ↗

Compare published input and output prices, then open a model to see the details.

Published model prices · Check model details for current availability.

Loading catalog…

From idea to first request

A familiar way to get started.

01

Create your account

Register and verify your email to open your workspace.

Create account ↗
02

Create an API key

Keep your key private and store it safely after creating it.

Open console ↗
03

Connect your app

Use the OpenAI SDK and point it at the KeyRouter endpoint.

Read the guide ↗
04

Choose your model

Review model details and published prices before making a request.

Find a model ↗

Keep your focus on building

Less setup.
More room to create.

One connection

Discover models from multiple providers through one OpenAI-compatible endpoint.

See how to connect

Prices you can compare

Review public input and output prices per million tokens in USD.

View pricing

A clearer history

Use your console to review requests and the charges associated with them.

Open your workspace

Your next idea starts here

Turn a possibility
into your next project.

Get your API key