Back to Home
Documentation
Everything you need to integrate Credlier into your application and start managing AI credits.
Quick Start
Get started with the Credlier SDK in minutes
import { Credlier } from '@credlier/sdk';
const client = new Credlier({
apiKey: process.env.CREDLIER_API_KEY,
});
// Track AI usage across all providers
const usage = await client.usage.track({
provider: 'openai',
model: 'gpt-4',
tokens: { input: 150, output: 50 },
});
// Get unified billing report
const report = await client.billing.getReport({
startDate: '2024-01-01',
endDate: '2024-01-31',
});Getting Started
Learn the basics of Credlier and set up your first integration
API Reference
Complete API documentation with examples
Security
Learn about our security practices and compliance
Need Help?
Can't find what you're looking for? Our support team is here to help.