Skip to content

API

One API. Every text model.

Call 33 text models from 11 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.

API keys open soon. The docs are ready now, so you can plan your integration.

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.54.2221.1
GPT-6 Sol2.1110.55
Claude Sonnet 52.1110.55
Gemini 3.8 Flash0.79133.9563
GPT-6 Luna0.10550.5275
DeepSeek V4.1 Flash0.15830.633
DeepSeek V4 Pro 04230.90041.8008
Claude Opus 55.27526.375

All 33 models

Pay for what you call

No subscription and no monthly minimum. Add from 10 to 2,000 credits at a time, plus a 5% service fee. Each request is charged at the model's listed 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.

Plan your integration now.

The docs are published and the requests follow the OpenAI format. API keys open soon; until then, every model works in the ewpire workspace.