OpenAI-compatible API
Connect your app to chat AI in minutes.
Krapi lets you use chat AI models in your own apps and code. Paste the key from your seller and the base URL below into any app that supports a custom or OpenAI-compatible AI, then pick a model.
Base URL
Works with:
- Chat apps
- Python
- Node.js
- cURL
- Live replies
How it works
Three steps, about two minutes
Every app or tool that supports a "custom" or "OpenAI-compatible" AI works the same way.
-
Get your key from your seller
Your API key is a private code, often starting with
sk-. Keep it secret, like a password. -
Paste the base URL, key and model
Your app's settings (or your code) need three things: the base URL, your key and a model name. The Test your key page lists the models your key can use.
-
Start chatting
Send your first message. Not sure it's set up right? Check it on the Test your key page.
Where to go next
Pick what you need
Set things up step by step, or check that your key works.