Skip to content
One REST API for your entire backend

One key. One wallet. One bill.

Don't stitch together 30 SDKs, juggle 30 keys, or reconcile 30 invoices at month-end. infrai puts 18 production modules and the vendors behind them under one contract — called over plain HTTP, no SDK to install — with transparent pricing and per-call metadata. Swap a vendor without touching your code.

18
GA modules
294
API routes
$0
Minimum / monthly fee
1
Bill
curl
curl https://api.infrai.cc/v1/chat/completions \
-H "Authorization: Bearer $INFRAI_API_KEY" \
-d '{"model": "auto", "messages": [{"role": "user", "content": "Explain useEffect in one line"}]}'

One HTTP call to start. No SDK, no install.

Routes across the vendors you already trust

OpenAIAnthropicGoogleDeepSeekQwenStripeTwilioResendCloudflare R2PusherLiveKit

18 modules, one endpoint

Every module is a thin, clean contract over best-in-class vendors. Pick a capability; infrai picks the route.

Email

/v1/email

Transactional email with domain verification, suppression, and delivery tracking.

email.sendemail.listemail.getemail.event.list
17 routesAPI reference

SMS & OTP

/v1/sms

Programmable SMS, one-time-passcode send and verify, with delivery status.

sms.sendsms.otpsms.verifysms.status
23 routesAPI reference

Scheduling

/v1/queue

Cron jobs, queues, and webhooks — durable background work without a worker fleet.

cron.createcron.listqueue.publishqueue.consume
25 routesAPI reference

Observability

/v1/errors

Error capture, events, spans, metrics, and feature flags in one pipe.

errors.capturemetrics.reportflags.is_enabled
23 routesAPI reference

Captcha

/v1/captcha

Human-verification widgets and server-side verification across providers.

captcha.verify
1 routesAPI reference

PDF

/v1/pdf

Generate, merge, split, OCR, and watermark documents on demand.

pdf.generatepdf.mergepdf.splitpdf.ocr
19 routesAPI reference

Image Processing

/v1/image

Resize, compress, convert, and read metadata through one endpoint.

image.processimage.metadata
21 routesAPI reference

Realtime

/v1/realtime

Channels, presence, and publish, with auth tokens issued for you.

realtime.token.issuerealtime.channel.createrealtime.publishrealtime.presence.get
11 routesAPI reference

Storage

/v1/storage

Buckets and presigned object access across S3-compatible providers.

storage.bucket.createstorage.bucket.liststorage.object.presignstorage.object.delete
22 routesAPI reference

Analytics

/v1/analytics

Track, identify, funnels, and cohorts — product analytics without the wiring.

analytics.trackanalytics.identifyanalytics.query.eventsanalytics.query.retention
8 routesAPI reference

Auth & identity

/v1/auth

End-user auth, sessions, JWT, OAuth and consent — issued for you across the major identity vendors.

auth.user.createauth.session.createauth.session.verifyauth.consent.grant
34 routesAPI reference

Realtime comms

/v1/rtc

Audio/video rooms, join tokens and participants, behind one key.

rtc.room.creatertc.token.issuertc.room.listrtc.participant.list
7 routesAPI reference

Managed database

/v1/db

Provision Postgres, branch it like git, snapshot and restore — across the major DB vendors.

db.project.createdb.branch.createdb.snapshot.createdb.snapshot.restore
12 routesAPI reference

DNS

/v1/dns

Zones, records and domain verification, managed across the major DNS vendors.

dns.domain.adddns.domain.verifydns.record.createdns.record.list
10 routesAPI reference

Risk & fraud

/v1/risk

Fraud scoring, OFAC screening and device/IP signals, behind one risk API.

risk.scorerisk.device.fingerprintrisk.event.report
3 routesAPI reference

Billing

/v1/account

Balance, usage, top-ups and invoices — billing without the wiring.

account.balanceaccount.usageaccount.topupaccount.autorecharge.configure
6 routesAPI reference

AI Runtime

/v1/ai

Chat, embeddings, vision, image, speech-to-text and text-to-speech across every major model.

ai.chatai.embedai.imageai.vision
13 routesAPI reference

AI Video

/v1/video

Text-to-video generation and job tracking across the leading video models.

video.generatevideo.statusvideo.cancel
7 routesAPI reference

Account & control plane

Sign-in, wallet, keys and tier — the 29 control-plane routes you never have to wire up yourself.

account.balanceaccount.topupaccount.keys.createaccount.tier.upgrade

One contract, every vendor underneath

infrai normalizes the providers below behind stable capability ids — swap vendors without touching your code.

AI models

OpenAIAnthropicGoogleDeepSeekChina-directQwenChina-directQwen IntlChina-directHunyuanChina-directKimi (Moonshot)China-directGLM (Zhipu)China-directTokenHubChina-directAzureBedrockElevenLabs

Video models

VeoKlingWanxiangTencent VOD

Email

ResendSendGridPostmarkSESAliyun DMTencent SES

SMS

TwilioAliyun SMSTencent SMS

Storage

Tencent COSS3R2Aliyun OSS

Database

Infrai Managed Postgres (self-operated)

Auth

Infrai Native (self-built)

Vector DB

pgvector (Infrai)PineconeQdrant

Realtime

PusherAbly

RTC

LiveKitAgoraZego

Captcha

TurnstilehCaptcha

DNS

CloudflareRoute 53Aliyun DNS

Risk

MaxMindSiftShumeiTongdun

Web search

TavilyFirecrawl

Image

CloudinaryImageKit

PDF

Infrai (self-hosted)

Analytics

Infrai NativeSensorsGA4

Payments

Stripe

Built to stay up — and stay safe

One endpoint in front of every vendor, with failover, idempotency and encrypted keys on by default.

Automatic multi-vendor failover

When a vendor degrades or rate-limits, traffic fails over to a healthy one automatically — cost-capped at 1.5× (up to 3× on Enterprise). Your app keeps calling one stable endpoint.

Idempotent by default

Every write takes an idempotency key, so retries are safe and effects apply exactly once — no double charges, no duplicate sends.

Your keys, encrypted and scoped

Project and platform credentials are stored in KMS and shown only once. Scope each key to specific capabilities and lock it to an IP allowlist.

Security by default

Tenant isolation enforced server-side on every read, secrets stored as hashes only (never logged), full audit logs, private-by-default storage, and layered abuse rate-limiting.

Pricing you can actually predict

No minimum markup, no small-request fee. Pick a plan; usage is billed transparently on top.

Standard

$0/ month
Wallet cap$500
Failover up to 1.5× cost
1 GB bandwidth free
  • $2 trial credit included
  • Wallet up to $500
  • Failover up to 1.5× cost
  • Trial credit expires after 30 days; paid top-ups never expire
Start free
Most popular

Pro

$20/ month

or $200/year — save 17%

Wallet cap$5,000
Failover up to 1.5× cost
100 GB bandwidth free
  • Wallet up to $5,000
  • 10× rate limits
  • Auto-recharge
  • Failover chain
Upgrade to Pro

Enterprise

$1,500+
Wallet capNo wallet — invoice
Failover up to 3× cost
1 TB+ bandwidth free
  • Invoice post-pay (NET 30/60/90)
  • Priority support · custom terms
  • SSO / audit log
  • BYOC / dedicated tenant
  • Custom SLA · failover up to 3.0× cost
Contact sales

Live pricing

What you see is what you pay. Every model is priced in real time — check the exact price before you call via /v1/discovery. No minimum, no monthly fee, batch never double-billed.

Loading live prices…

One key across every Chinese & global vendor · unified wallet, billing & invoice · automatic failover · no minimum spend, no monthly fee.

Call it from anywhere — zero install

No SDK to install. Every capability is a plain HTTPS request to https://api.infrai.cc with a Bearer key — call it with curl, Python, JavaScript, or any language that speaks HTTP.

bash
curl -X POST https://api.infrai.cc/v1/email/send \
  -H "Authorization: Bearer $INFRAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"to": "sample"}'

Works from any language with an HTTP client — Go, Rust, Java, C#/.NET, Ruby, PHP and more.

Zero install. Every language, every editor.

A zero-install REST API and an MCP server — drop infrai into any stack or environment. Every response returns cost, latency and vendor metadata so you always know what each call did.

Zero-install REST API

Plain HTTPS + a Bearer key. Call it from curl, Python, JavaScript, Go, Rust — any language, same capability ids, same metadata, nothing to install.

MCP server

An MCP server exposes infrai’s capabilities to any MCP-compatible environment.

Transparent metadata

cost_usd, latency_ms, vendor, cache_hit, sla_tier on every response.

Every successful call returns:

json
{
  "cost_usd": 0.0021,
  "latency_ms": 486,
  "vendor": "deepseek",
  "cache_hit": true,
  "sla_tier": "realtime"
}

Available integrations

MCP server

@infrai/mcp-server

Claude Code skill

/infrai

Cursor rules

.cursorrules

The standard library for AI-built apps

Sign in once with Google or GitHub to get a key, then call any of 18 unified modules over plain HTTP — no SDK, no install. The backend services your app needs to run, one wallet, one bill.