MIYAAIModelHub
Skip to main content

AI model aggregation platform

One account for every leading AI model

Supported protocols: OpenAI-compatible, Claude and Gemini.

Sign up for one account, create an API key and call models over the OpenAI-compatible, Claude-native and Gemini protocols.

Request path

Reach the leading AI models with one key on either route.

  • OpenAI
  • Claude
  • Gemini
  • DeepSeek
  • Grok
  • Qwen
  • Llama
  • Mistral
  • Doubao
  • Kimi
  • Zhipu GLM
  • MiniMax

These are common model brands, shown as examples. The models you can actually use, and their pricing, are listed in the model plaza.

One entry point is all you need

The OpenAI-compatible, Claude native and Gemini protocols all go through the same entry point, and calls are charged to your account balance.

1account
Sign up with an email code; keys, orders and balance are all managed in the console.
1key
Created per group, with an optional spending limit and validity period.
2routes
International: https://api.miyax.si. Dedicated: https://cn.miyax.si:3002. The same key works on both.
3protocols
OpenAI-compatible, Claude native and Gemini.

Account, keys and billing in one place

Manage your account, API keys, orders and balance in MIYA AI Model Hub, and call models through the Base URL of the international or dedicated route.

The secret is shown only once

The plaintext secret is returned only in the create-key response, so save it right away. The key list afterwards returns metadata such as the prefix.

  • One account and session

    Sign up with an email code. After you log in, a session lasts 24 hours by default; logging out ends the current session and a password reset ends earlier ones.

  • Group keys

    Pick one of the enabled public balance-billed groups and create a named API key for it, with an optional spending limit and validity period.

  • One API

    Creating a key gives you an API key. Pair it with the Base URL of the international or dedicated route in your client or SDK and start calling models.

  • Balance billing

    Model calls are charged against your account balance. You can check the balance and your orders in the console at any time.

  • Key lifecycle

    A key moves from pending to active; check it in the key list. Requesting revocation puts it in revoking, and it leaves the list once confirmed.

  • Model plaza

    Browse models and pricing by group, with per-token, per-request, image and video billing.

Integrate in four steps

From registering an account to sending your first model request, follow these four steps in order.

  1. Step 1: Sign up with an email code

    Enter your email to get a 6-digit code, then set a password of 6–18 characters with a letter and a digit. You can log in as soon as you have signed up.

    POST /api/v1/auth/register
  2. Step 2: Pick a group and create a key

    Browse the models and pricing of each group in the model plaza, choose an available group and name the key. The key is shown only once, at creation, so save it right away.

    POST /api/v1/api-keys
  3. Step 3: Wait for the key to become active

    A new key starts as pending. Use it once the key list shows it as active.

    status: pending → active
  4. Step 4: Call models with the Base URL and API key

    Fetch the model list first, then send requests with a model ID available to the group.

    GET https://api.miyax.si/v1/models

The four steps as API calls

# 1 Sign up with an email code › POST /api/v1/auth/register/send-code {"email": "user@example.com"} 202 › POST /api/v1/auth/register 201 provisioningStatus: "ready" # 2 Pick a group and create a key › POST /api/v1/api-keys {"groupId": 7, "name": "my-app"} 202 key.status: "pending" secret: "<api-key>" baseUrl: "https://api.miyax.si" # 3 Wait for the key to become active › GET /api/v1/api-keys 200 status: "active" # 4 Call models with the Base URL and API key › GET https://api.miyax.si/v1/models Authorization: Bearer <api-key>

Request examples for three protocols

<api-key> and <model-id> are placeholders. Replace them with the API key returned when you create a key and a model ID available to the group.

# International route. In mainland China, use the dedicated route https://cn.miyax.si:3002
BASE_URL="https://api.miyax.si"
API_KEY="<api-key>"

curl "$BASE_URL/v1/chat/completions" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "<model-id>",
    "messages": [
      {"role": "user", "content": "Hello"}
    ]
  }'

Frequently asked questions

Every answer here comes from the platform API documentation.

Account and session

  • How do I sign up?

    Enter your email to get a 6-digit code, then set a password. The code is valid for 10 minutes by default, can be sent once a minute per email, and allows up to 5 wrong attempts.

  • How long does a login session last?

    A session lasts 24 hours by default, and expiresAt in the login response gives the exact expiry time. Protected endpoints return 401 when the token is missing, invalid or expired.

  • What are the password requirements?

    Passwords are 6–18 characters with at least one letter and one digit; symbols and spaces are allowed. Sign-up, login and password reset share this rule, and an account with an older password can reset it with an emailed code.

  • How do I reset a forgotten password?

    Submit your email and an eligible address receives a verification code. The code is 6 digits, valid for 10 minutes by default, and allows at most 5 verification attempts. Earlier sessions end once the reset succeeds.

Keys and billing

  • What statuses can a key have?

    There are three. Pending: the key is being provisioned. Active: you can call models through the Base URL, within the key's spending limit and expiry. Revoking: revocation was requested and awaits confirmation, and the key may still work until then. Once the revocation is confirmed, the key leaves the list.

  • How are models priced?

    After you log in, the model plaza in the console lists models and pricing by group. Token prices are in US dollars, a group may carry a rate multiplier, and some models bill per request, per image or per video.

  • Where are model calls charged?

    Model calls are charged against your account balance. The balance is in US dollars and shown in the console; it is not shown while the account is being set up.

Calling models

  • How do I get the list of available models?

    Once the key is active, call GET /v1/models on your route (for example https://api.miyax.si/v1/models), then use a model ID available to the group.

  • What Base URL does the OpenAI SDK need?

    Use https://api.miyax.si/v1 on the international route, or https://cn.miyax.si:3002/v1 on the dedicated route for networks in mainland China. Both take the same API key, the one shown when you create a key.

  • Which key do follow-up requests of an async task use?

    The same key that created the task. Images, audio and video, SSE, WebSocket and async tasks all go through the Base URL of your route.

Register and create your first key

Sign up, pick a group, create a key and call models with the Base URL and your API key.