Portal / Text API

Text API

Balance-
Quickstart

Copy text API MD

curl -X POST https://www.ar24.studio/v1/chat/completions \
  -H "Authorization: Bearer $AR24_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-5.5","messages":[{"role":"user","content":"Write a short launch checklist."}]}'
Chat

Completions

POST /v1/chat/completions
Authorization: Bearer sk_test_...
Content-Type: application/json

{
  "model": "gpt-5.5",
  "messages": [
    { "role": "user", "content": "Create a product launch checklist." }
  ]
}
Models

List active text models

curl https://www.ar24.studio/v1/models \
  -H "Authorization: Bearer sk_test_..."
Pricing

GPT-5.5

Input20.000 VNDPer 1M tokens
Output80.000 VNDPer 1M tokens
Billing

Token charge

input_tokens = 10,000
output_tokens = 2,000

cost = 10,000 / 1,000,000 * 20,000
     + 2,000 / 1,000,000 * 80,000
     = 360 VND