Panduan integrasi OpenAPI JSON
Pilih endpoint

Tarif model dalam rupiah

GET
/pricing

Memerlukan scope models:read.

Authorization

BearerKey
headerAuthorizationBearer <token>

API key Tokotoken dari dashboard.

Response Body

Berhasil.

application/json
  1. response
object*string
data*array<>
Example Request
curl -X GET 'https://tokotoken.co/v1/pricing' \  -H 'Authorization: Bearer <TOKOTOKEN_API_KEY>'
Example Response
{  "object": "list",  "data": [    {      "model": "string",      "input": 0,      "output": 0,      "currency": "IDR",      "unit": "per_million_tokens",      "price_version": "string",      "paused": true    }  ]}