Skip to content

API

One API. Every text model.

Call 89 text models from 16 labs with one key and one credit balance. The API speaks the OpenAI format, so the official SDKs work once you point them at ewpire.

Base URLhttps://ewpire.com/api/v1

curl https://ewpire.com/api/v1/chat/completions \
  -H "Authorization: Bearer $EWPIRE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"auto","messages":[{"role":"user","content":"Hello!"}]}'

Built for the code you already have

  • OpenAI-compatible

    The same request and answer format. Change the base URL and the key; the rest of your code stays.

  • Every text model, one key

    Text models from many labs behind one key. Switching models is changing one string.

  • Auto

    Pass "auto" and ewpire picks a model for each request, and moves to the next one if it is unavailable.

  • One balance

    The API and the workspace spend the same credits. Every answer tells you what it cost and what is left.

  • Limits per key

    Requests per minute and daily or monthly spend limits for each key. Revoke a key the moment it leaks.

  • Safe retries

    Send an Idempotency-Key and a repeated request gets the first answer back, never a second charge.

Pick a model, or let Auto pick

A few from the catalog, with their prices in credits per million tokens. Every model has its own page with an example.
ModelInput / 1M tokensOutput / 1M tokens
Claude Opus 5.53.8819.4
GPT-6.2 Sol272,000+ input tokens: 4.964706 in · 18.617648 out2.482412.4118
GPT-6.1 Sol272,000+ input tokens: 3.88 in · 14.55 out1.949.7
GPT-6 Sol272,000+ input tokens: 3.88 in · 14.55 out1.949.7
Claude Sonnet 5.51.949.7
Claude Sonnet 51.949.7
Gemini 4 Argon1.949.7
Gemini 3.8 Flash0.80034.0013

All 89 models

Pay for what you call

No subscription and no monthly minimum. Add from 10 to 2,000 credits at a time, plus VAT. Each request is charged at the model's price, and credits last 12 months from the day you add them.

See pricing

Images, video, music and consensus

Through the API they are coming soon. In the ewpire workspace they work today.

Your first request takes a minute.

Create a free account, add credits, create a key and send a request with curl or the OpenAI SDK. The API needs a paid top-up; the free credit works only in the app.