I built a tiny $10 prepaid API for Qwen2.5-14B (OpenAI-compatible)
说明与用途
一个试点预付费 API,允许用户通过 OpenAI 兼容端点购买 $10 套餐使用 Qwen2.5‑14B,按 token 计费并通过 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