New API
Add Gondola as an upstream channel in your self-hosted New API gateway and resell any Venice model, paid per request in USDC on Base. Your users never see Gondola; they just get more models.
Create an API key
Sign in with your Base wallet at /keys and mint a Gondola API key. Keys start with gnd_. It authenticates every request and each call is charged in USDC against your Gondola balance.
Top up USDC on Base once at /wallet. For a key that lives inside a gateway, also consider setting the optional per-key spend cap and expiry when you mint it: they bound what the channel can ever spend, even if the key leaks.
Add the channel
In the New API console open Channels, then Add channel. Pick type OpenAI, not Custom: New API's own hint on the Custom type recommends the OpenAI type for relay upstreams, and the OpenAI type asks the upstream to report real token usage on streamed requests. Name the channel, set the base URL, and paste your key.
Fetch models and go live
Use the channel form's fetch models action to fill the model list from Gondola's catalog. The endpoint is public, so it works before the first paid request:
Then prune the list to the models you actually want to resell and save the channel. The same steps work in One API and most of its forks.
Notes and troubleshooting
Watch your balance from the gateway side; successful responses also carry an x-gondola-balance header with the remaining spendable USD:
A 402 with code insufficient_balance means top up at /wallet. A 402 with spend_limit_exceeded means the key hit its own spend cap: raise it under the API keys tab, topping up will not help.