tokenmarket

command
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 1 Imported by: 0

README

TokenMarket

Reallocate unused API capacity across teams.

TokenMarket allows teams to request additional token budget from underutilized pools. Auto-rebalance with priority queuing.

Quickstart

export OPENAI_API_KEY=sk-...
npx @stockyard/tokenmarket

# Your app:   http://localhost:6030/v1/chat/completions
# Dashboard:  http://localhost:6030/ui

What You Get

  • Budget pools per team
  • Capacity request workflow
  • Auto-rebalance unused budget
  • Priority queuing
  • Usage forecasting
  • Dashboard with pool status

Config

# tokenmarket.yaml
port: 6030
providers:
  openai:
    api_key: ${OPENAI_API_KEY}
tokenmarket:
  pools:
    engineering: { budget: 100000, priority: high }
    marketing: { budget: 50000, priority: medium }
    support: { budget: 25000, priority: low }
  rebalance_interval: 1h

Docker

docker run -p 6030:6030 -e OPENAI_API_KEY=sk-... stockyard/tokenmarket

Part of Stockyard

TokenMarket is part of Stockyard — an open-source LLM proxy and control plane. MIT licensed.

Documentation

Overview

TokenMarket — Stockyard Phase 3 P3 product.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL