Files
2026-07-13 12:28:55 +08:00

12 lines
674 B
TOML

name = "Xiaomi Token Plan (Singapore)"
# Raw endpoints are POST https://token-plan-sgp.xiaomimimo.com/v1/chat/completions
# and POST https://token-plan-sgp.xiaomimimo.com/anthropic/v1/messages.
# Both protocols use thinking.type="enabled"|"disabled"; Flash defaults
# disabled, while V2.5 Pro, V2.5, and V2 Pro default enabled.
# https://platform.xiaomimimo.com/static/docs/price/tokenplan/quick-access.md (accessed 2026-06-25)
# https://platform.xiaomimimo.com/static/docs/api/chat/openai-api.md (accessed 2026-06-25)
env = ["XIAOMI_API_KEY"]
npm = "@ai-sdk/openai-compatible"
api = "https://token-plan-sgp.xiaomimimo.com/v1"
doc = "https://platform.xiaomimimo.com/#/docs"