I built a tiny $10 prepaid API for Qwen2.5-14B (OpenAI-compatible)
Описание и применение
Пробный сервис, позволяющий пользователям покупать $10 пакет доступа к модели Qwen2.5‑14B через OpenAI‑совместимый API, с простым расчётом токенов и оплатой через Polar.
Задача
Providing affordable, prepaid inference access to a large language model without GPU rental or cloud console reselling.
Результат
The POC demonstrates a low‑cost, prepaid inference service, enabling quick monetization of the Qwen model without complex infrastructure.
Рабочий процесс
- 1. User visits landing page and selects $10 pack.
- 2. User completes checkout via Polar payment gateway.
- 3. System issues a unique API key tied to the prepaid balance.
- 4. User sends POST /v1/chat/completions requests to the gateway.
- 5. Gateway authenticates key, tracks input/output tokens, and deducts cost ($0.70/M input, $1.40/M output).
- 6. When balance reaches zero, API key is disabled until next purchase.
Доказательства
OpenAI-compatible POST /v1/chat/completions
$10 pack (~$9 usable after Polar fee)
- Дата записи: 2026-09-11T14:46:54.936Z