High-throughput infrastructure engineered for mission-critical software. Access low-latency South Asian Anycast PoPs, guaranteed rate limit ceilings, HMAC-SHA256 cryptographic security, and zero-lockin SDK compatibility with the OpenAI specification.
API requests are terminated at the nearest Anycast edge node with TLS 1.3 full-handshake resumption, eliminating cross-continental routing hops and providing sub-15ms round-trips across Nepal and India.
Primary Sovereign Ingress & Local Edge Cache
North India Transit & Sub-second Routing
South Asia High-Concurrency Compute Bridge
APAC Regional Foundation Cluster
European Financial & Enterprise Proxy
North America Mirror & Global Backup Core
Scale from rapid sandbox testing to multi-million token enterprise production workloads. Rate limits are enforced at the edge with transparent x-ratelimit-* headers.
Every webhook payload dispatched by SUPREME Setu carries an X-Supreme-Signature header. Implement constant-time verification and replay-attack checks within a 300-second drift window.
import crypto from 'crypto';
/**
* Validates incoming Setu Gateway webhook signatures with replay protection
*/
export function verifySupremeWebhook(
rawPayload: string,
signatureHeader: string,
timestampHeader: string,
secretKey: string
): boolean {
// 1. Verify timestamp is within 300-second replay window
const requestTimestamp = parseInt(timestampHeader, 10);
const currentTimestamp = Math.floor(Date.now() / 1000);
if (Math.abs(currentTimestamp - requestTimestamp) > 300) {
throw new Error('Webhook rejected: Timestamp skew exceeds 300s replay window.');
}
// 2. Compute HMAC-SHA256 signature
const signedString = `${timestampHeader}.${rawPayload}`;
const computedSignature = crypto
.createHmac('sha256', secretKey)
.update(signedString)
.digest('hex');
// 3. Constant-time buffer comparison against timing attacks
return crypto.timingSafeEqual(
Buffer.from(signatureHeader),
Buffer.from(computedSignature)
);
}Create your API key in the developer console, experiment with models in the interactive playground, or read our step-by-step SDK guides.