OpenRouter alternative

An OpenRouter alternative with lower prices on many models

One OpenAI-compatible API key for Gemini, DeepSeek, Qwen, GLM, Kimi and more. Switch your base_url, keep your code, and pay less on the models in the live table below.

Flatkey and OpenRouter side by side

FlatkeyOpenRouter
Model pricesDiscounted below the official price on many modelsProvider price passed through, no markup
Buying creditsOne-time top-ups, no subscription5.5% fee per credit purchase ($0.80 minimum), 5% for crypto
Credit expiryCredits never expireMay expire one year after purchase, per its terms
APIOpenAI-compatible: change base_url and keyOpenAI-compatible

OpenRouter details are from its public FAQ. openrouter.ai/docs/faq

Models that cost less on Flatkey right now

Live prices per 1M tokens. A model is listed only while Flatkey is cheaper on both input and output.

ModelFlatkeyOpenRouterSaving
deepseek-v3.2In $0.168Out $0.252In $0.26Out $0.3833% less
gemini-3.8-flashIn $0.6Out $3In $0.825Out $4.12527% less
gemini-4-hydrogenIn $1.2Out $6In $1.5Out $7.520% less
gemini-4-carbonIn $1.6Out $8In $2Out $1020% less
gemini-4-argonIn $1.6Out $8In $2Out $1020% less
gemini-3.7-flashIn $0.6Out $3In $0.75Out $3.7520% less
gemini-3.6-flashIn $0.6Out $3In $0.75Out $3.7520% less
gemini-3.5-flashIn $1.2Out $7.2In $1.5Out $920% less
gemini-3.5-flash-liteIn $0.24Out $2In $0.3Out $2.520% less
gemini-3.1-pro-previewIn $1.6Out $9.6In $2Out $1220% less
gemini-3.1-flash-liteIn $0.2Out $1.2In $0.25Out $1.520% less
gemini-3-flash-previewIn $0.4Out $2.4In $0.5Out $320% less
gemini-2.5-flash-imageIn $0.24Out $2In $0.3Out $2.520% less
glm-5In $0.8Out $2.56In $1Out $3.220% less
glm-5-turboIn $0.96Out $3.2In $1.2Out $420% less
qwen3.8-flashIn $0.12Out $0.376In $0.15Out $0.4720% less
glm-5.1In $1.12Out $3.52In $1.4Out $4.420% less
qwen3.5-27bIn $0.24Out $1.92In $0.26Out $2.67% less

OpenRouter prices come from its public models API and do not include its credit purchase fee. Some models cost the same or more on Flatkey; compare any model on the models page.

Compare every model

Moving from OpenRouter? Change two lines.

Point your OpenAI SDK at Flatkey and use your Flatkey key. Model ids can differ between platforms, so copy the id from the model list.

Start in three steps

  1. 1Create your account and get trial credit.
  2. 2Top up once when you need more. There is no subscription.
  3. 3Swap the base_url and key in your code.
from openai import OpenAI

client = OpenAI(
    base_url="https://router.flatkey.ai/v1",
    api_key="YOUR_FLATKEY_API_KEY",
)

response = client.chat.completions.create(
    model="deepseek-v4-pro",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Questions

Is Flatkey part of OpenRouter?

No. Flatkey is an independent service. OpenRouter is a trademark of its owner and is named here only for comparison.

Is every model cheaper than on OpenRouter?

No. The table shows only the models that cost less on Flatkey right now. Some models cost the same or more, so check the model you use.

Do I need to rewrite my code?

No. Flatkey is OpenAI-compatible. Change the base_url and API key, and check the model id in the model list.

Do my credits expire?

No. Top-ups are one-time payments with no subscription, and the balance stays until you use it.

Same API, lower bill on the models you use

Create a key, run one request, and compare the cost yourself.

Get your API key