πŸš€Quick Start Guide

Initial Connection

spinner

Installation Steps

Sign up herearrow-up-right to get an API key

  1. Choose your implementation method.

    1. Recommended: Install one of Revenium's SDKs (pythonarrow-up-right and npmarrow-up-right) that can be integrated using just a few lines of code. You can also view our full list of supported integrations.

    2. Each SDK contains a configuration guide and examples for how to properly implement the SDK in your code.

    3. You can also create a direct integration using our metering APIarrow-up-right.

  2. Add the SDK into your current code with a single import line. Revenium's code will wrap your existing AI calls and begin metering immediately.

πŸŽ‰ You're Connected!

LLM Agents Looking for Agent-Friendly API Documentation?

Load the text version of our API documentation here.

Advanced Config

  1. Enhance your AI calls with additional metadata to enable powerful reporting by customer, by agent, by task, by product, by subscriber, and more.

  2. Set up spending & performance alerts in Revenium to avoid spending or performance surprises.

  3. Customize Revenium's standard dashboards as you see fit to provide the information you need at a glance.

Example Configuration using OpenAI

circle-exclamation

Install Appropriate SDK for Your Use Case

Configure Environment Variables

Import Revenium SDK to Existing Python Script

Usage Metadata Schema

View the reference guide to see the list of supported metadata across our SDKs.

Additional SDKs

πŸ“˜ Complete list of supported SDKs β†’

Last updated

Was this helpful?