Just shipped a big API update, most of it straight from your feedback.
Working with Klef over the API is now fully transparent and integration-ready:
1. Every response shows the cost of the request, in USD, in solana:9jVRLpzqYQBBhVejgtvCrBnivng62fjWrHxePh79pump , and the rate used. No more guessing what a call costs.
2. Two new endpoints: /v1/balance to check your balance, and /v1/usage for spend history, total, per model, and per request. Track your usage and set your own limits.
3. Image generation now works through the standard path, /v1/images/generations.
4. Cleaned up the model list and errors, no more calls hitting a 404, and clear guidance when something's off.
5. Fixed the docs, so our own examples now work out of the box.
Huge thanks to everyone testing keys and sending detailed reports. This is exactly how Klef gets better. Keep them coming.