Skip to main content
Vinci uses a simple usage-based model. This guide shows how to query your balance and usage, add a quick balance guard before costly requests, and handle 402 errors. Related:

Check balance

Endpoint
Authentication
Response

Usage statistics

Endpoint
Authentication
Response

Balance check helper

Related

Handle insufficient balance (402)

Example 402 response
handle_402.py
handle_402.js
Info For production, add retry with exponential backoff and alerts when balance falls below a threshold.