Quickstart

Get started with the Limitry TypeScript SDK

Get up and running with the Limitry TypeScript SDK in minutes.

Basic Usage

import { Client } from '@limitry/sdk';

const client = new Client({
  apiKey: 'your-api-key',
});

// Track usage
await client.track.trackUsage({
  customerId: 'customer_123',
  eventType: 'model_call',
  model: 'gpt-4',
  provider: 'openai',
  inputTokens: 100,
  outputTokens: 50,
  totalTokens: 150,
});

Next Steps

On this page