ExosAIGet your API key

An OpenRouter alternative you can switch to in a minute

OpenRouter and ExosAI both speak the OpenAI API, so switching is a change of base URL, API key and model ID. Your code and tools stay the same.

Why developers try ExosAI

How to switch

  1. Create an ExosAI account and an API key.
  2. Replace the OpenRouter base URL with https://api.exosai.tech/v1.
  3. Replace the API key with your ExosAI key.
  4. Pick the model ID from the ExosAI catalog. IDs can differ from OpenRouter's.
from openai import OpenAI

client = OpenAI(base_url="https://api.exosai.tech/v1", api_key="YOUR_EXOSAI_KEY")
reply = client.chat.completions.create(
    model="MODEL_ID_FROM_THE_CATALOG",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(reply.choices[0].message.content)

Compare before you switch

Check the catalog for the models you use today and their prices. You can keep both services and route only some traffic to ExosAI.

Questions

Do I have to change my code?

Only the base URL, the API key and the model IDs. Both services use the OpenAI API format.

Are the model IDs the same?

Not always. Copy the exact ID from exosai.tech/models.

Can I use both at once?

Yes. Many developers keep a second provider as a fallback.

More