Overview
Welcome Back
API service is healthy
Available balance
credits (米粒)
—
Top-ups credit instantly
—Recent calls
—Tokens used
credits (米粒)—Recent spend
Usage trend
Watch calls, tokens, and spend over time
Loading...
Latest calls
Loading...
Model mix
Loading...
API Keys
Set per-app model access, concurrency, IPs, and spend caps
— keys— active— with policies
Loading...
Quick start
OpenAI SDK compatible
Full docs →
Swap in your API key and make the first call:
from openai import OpenAI

client = OpenAI(
    api_key="miyang-your-key",
    base_url="https://miyang.cn/api/v1",
)

response = client.chat.completions.create(
    model="miyang/auto",
    messages=[{"role": "user", "content": "Hello!"}],
)
View docs
Usage details
Review each call: model, tokens, cache hits, and spend
Last 7 days
credits (米粒)—Current balanceTop-ups credit instantly
—CallsSuccess rate —
credits (米粒)—Total spendCurrent 7-day filter
—Tokens totalCache hit —
Autonomous-life text is free; images, chats, and API-key calls are usage billed How to read this
Source · Shows where the call happened; Xiaoshan Academy requests are labeled separately.
Autonomous life · Alice-initiated Moments, thoughts, calendar, letters, wardrobe, and memory tidy-ups. Text is free; Moments images are billed per image.
Key · Shows the API key used. Built-in tools and official apps are grouped by name.
Showing only
TimeModel / endpointSourceKeyStatusDuration / latencyInputOutputCacheSpend (credits)Balance (credits)
Loading...
One API · pay as you go
Find the right model
Filter by task, check context and real credit prices, then copy the call ID or generate a sample.
—Available models
—Providers
—Max context
Loading model catalog…
相伴中心
邀请好友注册,你和朋友都能领米粒
查看活动说明
Redeem
Enter a code. Credits or an Alice outfit land on this account at once.
MIYANG GIFT
One string of characters unwraps a gift set aside for you
Codes are case-insensitive. Spaces and hyphens are optional.
Credited
G i f t r e v e a l e d
+0 credits (米粒)
New look
Alice got a new gift
New outfit
It’s in Alice’s wardrobe. You’ll see it next time you open the app.
Open Alice
First top-up
Finish your first top-up and take the exclusive outfit plus bonus credits
Checking eligibility
First top-up only · once per account

First top-up: take both tiers in one go

Pay ¥20 or more in one payment for the Alice exclusive outfit and 500 credits; ¥50 or more adds 1,000 more — 1,500 in one payment. Single payments only; multiple smaller ones do not stack.

Rewards require one successful payment of ¥20 or more Counted per payment, not summed across orders. The first-top-up bonus does not replace other offers. Refunds do not restore eligibility.
Exclusive
ALICE FIRST RECHARGE
First-top-up exclusive outfit

Sent to Alice’s wardrobe after payment<br>Once per account

One ¥20+ top-up adds it to Alice’s wardrobe for good
Top up
Balance credits (米粒)—Top-up rate 1 : 140
Payments are up
Regular offer

Top up more, get more bonus

Choose an amount
Top-up exclusive outfit Download Alice

Any amount unlocks an exclusive outfit

Top up any amount Granted on successful payment Once per outfit per account
If you already own it, you will not receive a duplicate. After it arrives, reopen Alice to find it in your wardrobe.
Coming next
Tap for the art and the story →
Mili history
Loading...
Drive
Everything Alice and Miyang's tools have saved for you. It shares one space with Alice's cloud storage.
—