{
  "site": "Y-API",
  "url": "https://y-api.bestvirtualgoods.com",
  "api_base_url": "https://api.y-api.bestvirtualgoods.com/v1",
  "protocols": [
    "OpenAI Chat Completions",
    "Anthropic Messages"
  ],
  "generated_by": "scripts/generate-seo-assets.mjs",
  "synced_at": "2026-09-21",
  "currency": "USD",
  "unit": "per_1m_tokens",
  "models_total": 15,
  "vendors_total": 6,
  "vendors": [
    "DeepSeek",
    "Z.ai",
    "Moonshot AI",
    "Tencent",
    "Xiaomi",
    "OpenAI"
  ],
  "top_up_quota_rate": 20,
  "top_up_is_promotional": true,
  "top_up_regular_quota_rate": 10,
  "top_up_promotional_ends_at": "2026-09-30T23:59:59Z",
  "auth": {
    "header": "Authorization: Bearer <api_key>",
    "anthropic_header": "x-api-key: <api_key>",
    "anthropic_header_note": "The same key in the header the Anthropic SDKs send. Accepted by `POST /messages` only.",
    "this_file_requires_key": false,
    "catalog_endpoint_requires_key": true,
    "catalog_endpoint_note": "`GET https://api.y-api.bestvirtualgoods.com/v1/models` is the live catalog and answers 401 without a key — by design, it is a metered endpoint. This file is the anonymous equivalent, one build behind."
  },
  "links": {
    "spec": "https://y-api.bestvirtualgoods.com/openapi.json",
    "docs": "https://y-api.bestvirtualgoods.com/docs",
    "prices": "https://y-api.bestvirtualgoods.com/pricing.json",
    "failures": "https://y-api.bestvirtualgoods.com/docs/errors",
    "index": "https://y-api.bestvirtualgoods.com/llms.txt",
    "live_catalog_endpoint": "https://api.y-api.bestvirtualgoods.com/v1/models"
  },
  "model_fields": {
    "id": "The string that goes verbatim in the `model` field of a request. Copy it byte for byte; it is not a display name and it is case-sensitive.",
    "vendor": "Who trained the model, not who serves it. Every model in this file is served by this gateway, which is a resale gateway rather than the vendor. `Other` means the ID prefix is not on our verified brand list — a model code we will not guess a brand name for."
  },
  "price_fields": {
    "credit_price": "USD of account credit deducted per 1M tokens. Input and output are billed separately.",
    "cash_price": "USD actually paid per 1M tokens — credit_price divided by top_up_quota_rate. This is the figure to compare against other providers' list prices."
  },
  "models": [
    {
      "id": "deepseek/deepseek-v4-flash",
      "vendor": "DeepSeek",
      "credit_price": {
        "input": 0,
        "output": 0
      },
      "cash_price": {
        "input": 0,
        "output": 0
      }
    },
    {
      "id": "deepseek/deepseek-v4-pro",
      "vendor": "DeepSeek",
      "credit_price": {
        "input": 0.5,
        "output": 1
      },
      "cash_price": {
        "input": 0.025,
        "output": 0.05
      }
    },
    {
      "id": "deepseek/deepseek-v4.1-flash",
      "vendor": "DeepSeek",
      "credit_price": {
        "input": 0.2,
        "output": 1
      },
      "cash_price": {
        "input": 0.01,
        "output": 0.05
      }
    },
    {
      "id": "deepseek/deepseek-v4-flash-0731",
      "vendor": "DeepSeek",
      "credit_price": {
        "input": 0.15,
        "output": 0.3
      },
      "cash_price": {
        "input": 0.0075,
        "output": 0.015
      }
    },
    {
      "id": "z-ai/glm-5.2",
      "vendor": "Z.ai",
      "credit_price": {
        "input": 1.4,
        "output": 4.4
      },
      "cash_price": {
        "input": 0.07,
        "output": 0.22
      }
    },
    {
      "id": "z-ai/glm-5.3",
      "vendor": "Z.ai",
      "credit_price": {
        "input": 1.4,
        "output": 5
      },
      "cash_price": {
        "input": 0.07,
        "output": 0.25
      }
    },
    {
      "id": "z-ai/glm-5.3-flash",
      "vendor": "Z.ai",
      "credit_price": {
        "input": 0.15,
        "output": 0.5
      },
      "cash_price": {
        "input": 0.0075,
        "output": 0.025
      }
    },
    {
      "id": "moonshotai/kimi-k3",
      "vendor": "Moonshot AI",
      "credit_price": {
        "input": 3,
        "output": 15
      },
      "cash_price": {
        "input": 0.15,
        "output": 0.75
      }
    },
    {
      "id": "moonshotai/kimi-k2.6",
      "vendor": "Moonshot AI",
      "credit_price": {
        "input": 0.95,
        "output": 4
      },
      "cash_price": {
        "input": 0.0475,
        "output": 0.2
      }
    },
    {
      "id": "tencent/hy3",
      "vendor": "Tencent",
      "credit_price": {
        "input": 0,
        "output": 0
      },
      "cash_price": {
        "input": 0,
        "output": 0
      }
    },
    {
      "id": "xiaomi/mimo-v2.5",
      "vendor": "Xiaomi",
      "credit_price": {
        "input": 0,
        "output": 0
      },
      "cash_price": {
        "input": 0,
        "output": 0
      }
    },
    {
      "id": "openai/gpt-6-astra",
      "vendor": "OpenAI",
      "credit_price": {
        "input": 10,
        "output": 50
      },
      "cash_price": {
        "input": 0.5,
        "output": 2.5
      }
    },
    {
      "id": "openai/gpt-5.6-sol",
      "vendor": "OpenAI",
      "credit_price": {
        "input": 5,
        "output": 30
      },
      "cash_price": {
        "input": 0.25,
        "output": 1.5
      }
    },
    {
      "id": "openai/gpt-5.6-terra",
      "vendor": "OpenAI",
      "credit_price": {
        "input": 2,
        "output": 12
      },
      "cash_price": {
        "input": 0.1,
        "output": 0.6
      }
    },
    {
      "id": "openai/gpt-5.6-luna",
      "vendor": "OpenAI",
      "credit_price": {
        "input": 0.3,
        "output": 1.3
      },
      "cash_price": {
        "input": 0.015,
        "output": 0.065
      }
    }
  ],
  "notes": [
    "This file is a build-time snapshot synced 2026-09-21 and needs no key to read. `https://api.y-api.bestvirtualgoods.com/v1/models` is the authoritative catalog but requires one; the console is the source of truth for both.",
    "An `id` that is not in this file comes back as HTTP 503 `model_not_found` rather than a 404, and 503 is in the retry set the official SDKs use, so two retries happen before your code sees the failure. Resolve the ID against this file before sending.",
    "A model absent from this file is not served here at all. Absence is not a price we declined to publish.",
    "`cash_price` is derived: credit_price / top_up_quota_rate. Recompute it from those two fields rather than quoting it from a stale copy.",
    "`top_up_quota_rate` is promotional: it ends 2026-09-30T23:59:59Z and from 2026-10-01 reverts to 10, which multiplies every `cash_price` here by 2.",
    "This file is the catalog. Vendor list-price comparisons, top-up tiers and the billing rules are in https://y-api.bestvirtualgoods.com/pricing.json; the endpoints, request shapes and every measured failure are in https://y-api.bestvirtualgoods.com/openapi.json.",
    "Human-readable equivalents: https://y-api.bestvirtualgoods.com/pricing, https://y-api.bestvirtualgoods.com/pricing.md and https://y-api.bestvirtualgoods.com/llms-full.txt."
  ]
}
