AI models,one access key.

Connect OpenAI and Claude to your app. See each model’s usage and cost in one dashboard.

Ai Chin Sample usage and costs

Usage overview

Spend this month$138.41
Requests24,8912 providers
Budget remaining$110.5955.6% of $249 used

Models

Share of requests

This month
GPT-6.2 Sol62%
Claude Sonnet 5.538%

Sample requests by model.

YOUR KEY

Your demo key

Demo
aichin_sk_preview_••••••c42

This sample key works with all models in the preview.

Choose a model

Explore eight models from OpenAI and Claude. Your dashboard lists the models enabled on this server.

Build a request

Authorization
Put your key after Bearer in the Authorization header. This example uses a demo key.
model
Set model to an enabled ID from GET /v1/models. Use one unique Idempotency-Key per request.
Provider keys

The keys below show example connections to OpenAI and Anthropic. They stay on the server while your app uses one Ai Chin key.

OpenAIsk-proj-••••••••9f2aDemo key
Claudesk-ant-••••••••72bdDemo key
Sample requestJSON

Choose a model to update this sample request. The key stays the same.

POST /v1/chat/completions
Authorization: Bearer YOUR_API_KEY
Idempotency-Key: unique-request-id

{
  "model": "gpt-6.2-sol",
  "messages": [
    {
      "role": "user",
      "content": "Summarize this message."
    }
  ],
  "max_tokens": 256
}

Usage and cost

Prices below are in US dollars per million tokens. Each request is billed for the tokens you use.

Model pricing

Input (uncached)
$3.40
Output
$17.00

Recent requests

Sample
TimeModelTokensCost
Today10:42GPT-6.2 Sol28,400$0.84
Today09:18GPT-6.2 Astra112,000$0.21
Yesterday18:06Claude Sonnet 5.561,800$1.72
Yesterday14:51GPT-6.2 Sol44,100$1.08

What comes next

Development steps
  1. Accounts and keys

    Available

    Create an account, manage your keys and track recorded usage.

  2. Model access

    Available

    Use one key to send messages and track the cost of each request.

  3. Wallet and messages

    In progress

    View wallet credit and payment history. Online top-ups and SMS receipts are being rolled out.

  4. Test and launch

    Planned

    Test payments, requests and account balances with customers before launch.

Payments and SMS

Zibal

Payment gateway · Planned

Payments, confirmation and receipts

Kavenegar

SMS service · Planned

One-time codes, receipts and usage alerts