AI Gateway
One GatewayEvery Model
An OpenAI- and Anthropic-compatible gateway with intelligent routing, automatic failover, and transparent billing in Rupiah.
One URL
One URL for OpenAI & Anthropic, Any SDK.
Point your baseURL at Mortera Cloud and use your API key. Start routing without deploying gateway infrastructure.
baseURL: https://mortera.cloud
Send Your First Request
import OpenAI from "openai"; const client = new OpenAI({ baseURL: "https://mortera.cloud/v1", apiKey: process.env.MORTERA_API_KEY,}); const completion = await client.chat.completions.create({ model: "glm-5.2", messages: [{ role: "user", content: "Hello!" }], stream: true,});Intelligent Routing
Reroute Before Users Notice.
When a provider slows down or fails, requests reroute automatically to the next best provider. Users keep moving.
StatusTwo Billing Modes
Pay the Way Your Workload Needs.
Use Pay As You Go per token type, or perpetual Token packages. Each request uses one clear billing mode.
See Full PricingHonest Metering
See Every Call and Its Exact Cost.
Cache tokens use cache rates, failed requests are not charged, and every Rupiah is recorded in an immutable ledger.
See Live Leaderboard