[PR #7584] feat: add Unbound as a provider #12445

Open
opened 2026-02-16 18:17:21 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/7584

State: open
Merged: No


Closes #7594

Adds Unbound as a provider to opencode. Docs: https://docs.getunbound.ai/

Changes:

  • Added Unbound to bundled providers with custom loader
  • Fetches available models dynamically from /models endpoint
  • Parses model capabilities, token limits, and pricing
  • Added X-Unbound-Metadata header for analytics
  • Added provider icon

Configuration:

export UNBOUND_API_KEY=your-api-key

Verification:

  • Tested opencode models lists Unbound models
  • Tested chat completions with multiple models (gpt-4o-mini, claude-3-5-haiku, claude-sonnet-4-5)
  • Added 10 unit tests covering all functionality

Post Merge: Add opencode support to the Unbound docs.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7584 **State:** open **Merged:** No --- Closes #7594 Adds [Unbound](https://getunbound.ai/) as a provider to opencode. Docs: https://docs.getunbound.ai/ **Changes:** - Added Unbound to bundled providers with custom loader - Fetches available models dynamically from `/models` endpoint - Parses model capabilities, token limits, and pricing - Added `X-Unbound-Metadata` header for analytics - Added provider icon **Configuration:** ```bash export UNBOUND_API_KEY=your-api-key ``` **Verification:** - Tested `opencode models` lists Unbound models - Tested chat completions with multiple models (gpt-4o-mini, claude-3-5-haiku, claude-sonnet-4-5) - Added 10 unit tests covering all functionality Post Merge: Add opencode support to the Unbound docs.
yindo added the pull-request label 2026-02-16 18:17:21 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12445