← All projects
Project record1 mention
Originally shared on Hacker News

goxy

This is an OpenAI API proxy that enforces a hard spending limit, rejecting requests with a 429 once a configured spend cap (e.g., $1 per hour) is reached. It is a work in progress, with plans to support streaming and possibly other providers if there is demand.

Last shared
01 / The problem

What it addresses

OpenAI only supports "budget alerts" rather than a hard cap on spending, and the author isn't comfortable releasing anything without a hard limit on spend.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. goxy

    This is an OpenAI API proxy that enforces a hard spending limit, rejecting requests with a 429 once a configured spend cap (e.g., $1 per hour) is reached. It is a work in progress, with plans to support streaming and possibly other providers if there is demand.

    Problem: OpenAI only supports "budget alerts" rather than a hard cap on spending, and the author isn't comfortable releasing anything without a hard limit on spend.

    Posted by @bandana · Original source ↗

    Source text · @bandana · · Source ↗

    I'm making an OpenAI API proxy to stay within a spending limit (like 1$ per hour then a 429)