Scale your AI apps with instant credit billing

The easiest way to meter and charge for LLM usage. No infrastructure needed. Drop in our SDK and start monetizing immediately.

nexus-init.js
import { NexusGateway } from '@nexus/server';

// Initialize the gateway
const gateway = new NexusGateway(process.env.NEXUS_KEY);

async function generateResponse(req) {
  // Check user balance & reserve credits
  const session = await gateway.metering.start({
    userId: req.user.id,
    model: 'gpt-4-turbo'
  });

  try {
    const stream = await llm.generate(req.prompt);

    // Stream and bill simultaneously
    return session.streamWithBilling(stream);
  } catch (err) {
    await session.refund();
  }
}

Engineered for Modern AI

Everything you need to handle complex LLM economics.

speed

Real-time Metering

Calculate token costs dynamically as they stream. Ensure you never over-provision or under-charge, down to the exact fraction of a cent.

cloud_sync

Managed Accounts for Your Customers

Meter, govern, and protect the customer accounts you operate from one workspace while keeping balances, limits, and usage attribution in sync.

terminal

Privacy by Design

GDPR-aligned data handling, encrypted storage for sensitive provider credentials, and audit-ready controls protect the information your operation relies on.

Simple, Transparent Pricing

Pay only for the throughput you secure.

Start here

Starter

For hobbyists and early prototypes.

$0/mo
  • check Up to 10k requests/mo
  • check Standard models
  • check Community support
Start Free
Most popular

Pro

For growing applications in production.

$49/mo
  • check Up to 1M requests/mo
  • check Advanced model routing
  • check Stripe integration
  • check Priority email support
Upgrade to Pro
Scale ready

Enterprise

Custom limits for massive scale.

Custom
  • check Unlimited requests
  • check Custom integrations
  • check SLA guarantees
  • check Dedicated success manager
Contact Sales