Welcome to KorinAI for developers! This guide will help you quickly integrate KorinAI's powerful Chat API into your applications.
To access KorinAI's Chat API, you'll need an API key:
⚠️ Keep your API key secure. Do not expose it in client-side code or public repositories.
KorinAI's Chat API works seamlessly with Next.js using the AI SDK. Before proceeding, we recommend reviewing our Message Structure Documentation to understand how messages work in our system.
Install the AI SDK in your Next.js project:
Create a simple chat component in your Next.js application:
Replace YOUR_API_KEY
with the actual API key you generated.
Your API usage is limited by two factors:
Model Rate Limits: Each Language Model (LLM) you select in your Dashboard Settings has its own specific rate limits.
Paid Credits Balance: Your usage is also limited by how many paid credits you have available. Each API request consumes credits based on the model used and request size.
You can view and top up your paid credits balance in your Dashboard Credits page. Adding more credits allows for higher usage of the API services.
💡 Tip: Monitor your credit usage regularly to ensure uninterrupted service for your applications.
Need higher limits? Check out our pricing plans or contact us for custom enterprise solutions.