You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
viloforge
authored and
viloforge
committed
feat(api,spa): model price reference page
Add a read-only reference of every priced model and its list rate (USD
per 1M tokens), backed by the existing model_prices table — no schema
change. GET /api/prices returns the rows + max(updated_at) ("last
fetched"). New SPA /prices page: searchable table (Input/Output/Cache
read/Cache write per 1M tokens), last-fetched timestamp, and a nav link
from /me. $0 rates render as "—" (free / flat-rate subscription).
- db.ts fetchModelPrices(); prices/routes.ts mounted at /api
- 2 new integration tests (seeded rows + updatedAt; auth required)
0 commit comments