Quick Start Guide
Get started with LLMTrust in minutes. Follow these simple steps to integrate AI models into your application.
1. Authentication
Authentication is required before accessing our API services. Sign in to your LLMTrust account to get started.
Once signed in, you'll see a confirmation message and can proceed to generate your API key.
2. Generate an API Key
After authentication, generate an API key that will be used to authenticate your requests to the LLMTrust API.
Keep your API key secure and don't share it publicly. You can generate multiple keys for different applications or environments.
3. Top Up Your Account
Add credits to your account to start using our API services. Credits are consumed based on the models you use and the number of requests you make.
You can view your current credit balance and usage history in your account dashboard.
4. Make Your First API Request
Now you're ready to make your first API request. Choose your preferred programming language below:
const axios = require('axios');
const response = await axios.post('https://api.llmtrust.com/api/ai/completions',
{ model: 'gpt-4o',
messages: [
{ role: 'user', content: 'Hello, how are you?' }
] },
{ headers: { 'Authorization': 'Bearer your_api_key' } }
);
console.log(response.data);
Next Steps
Now that you have the basics set up, you can:
- Explore our comprehensive model catalog
- Read verified reviews from other developers
- Compare performance metrics across different models
- Integrate advanced features like streaming responses
- Monitor your usage and costs in the dashboard