Add Bourse to the providers docs (OpenAI-compatible, works today)
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- documentation
Research direction
Locate the providers documentation page and review how existing custom OpenAI-compatible providers are documented. Add Bourse with the supplied configuration, API URL, and notes about using @ai-sdk/openai-compatible and omitting /chat/completions from baseURL; done when the provider is listed with accurate setup guidance.
Written by the indexing model from the issue text.
Description
Feature hasn't been suggested before.
- I have verified this feature I'm about to request 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.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- Avg merge
- 7h 20m
- Merged PRs (30d)
- 358
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from anomalyco/opencode
-
[FEATURE]: Bump gitlab-ai-provider to 6.15.1 on v2 (Fable 5.1, GPT-6 Astra, workflow reconnect fix) Open
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
All issues in anomalyco/opencode
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·