Feature hasn't been suggested before.
Describe the enhancement you want to request
Bourse resells unused AI capacity from the providers at 11-58% under list price. It speaks the OpenAI Chat Completions format, so opencode already works with it today as a custom provider - no code change needed. This is a docs request, not an engineering one.
Working config:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"bourse": {
"npm": "@ai-sdk/openai-compatible",
"name": "Bourse",
"options": { "baseURL": "https://api.bourse.run/v1" },
"models": { "claude-opus-5": {} }
}
}
}
Two notes that save support questions, since both caught me out:
- Use @ai-sdk/openai-compatible, not @ai-sdk/openai. We serve /v1/chat/completions.
- Do not put /chat/completions in the baseURL.
Coding agents are the heaviest token users, so the price gap shows up fast. Claude Opus 5 is 50% under Anthropic list, and the cheaper listings run to 58% off. The live catalogue and prices are at https://bourse.run - the table there is generated from a price feed, so it is current.
Catalogue and prices: https://bourse.run
API guide: https://bourse.run/api-guide
Opening this in case you want Bourse named on the providers docs page. Happy to send the PR myself if you would take one - just say where the page should live.
Feature hasn't been suggested before.
Describe the enhancement you want to request
Bourse resells unused AI capacity from the providers at 11-58% under list price. It speaks the OpenAI Chat Completions format, so opencode already works with it today as a custom provider - no code change needed. This is a docs request, not an engineering one.
Working config:
Two notes that save support questions, since both caught me out:
Coding agents are the heaviest token users, so the price gap shows up fast. Claude Opus 5 is 50% under Anthropic list, and the cheaper listings run to 58% off. The live catalogue and prices are at https://bourse.run - the table there is generated from a price feed, so it is current.
Catalogue and prices: https://bourse.run
API guide: https://bourse.run/api-guide
Opening this in case you want Bourse named on the providers docs page. Happy to send the PR myself if you would take one - just say where the page should live.