Skip to content

feat: add Avian as a new LLM provider#2139

Open
avianion wants to merge 1 commit intostackblitz-labs:mainfrom
avianion:feat/add-avian-provider
Open

feat: add Avian as a new LLM provider#2139
avianion wants to merge 1 commit intostackblitz-labs:mainfrom
avianion:feat/add-avian-provider

Conversation

@avianion
Copy link

@avianion avianion commented Feb 23, 2026

Summary

  • Adds Avian as a new LLM provider for bolt.diy
  • Avian provides fast inference for top open-source models via an OpenAI-compatible API at api.avian.io/v1
  • Uses @ai-sdk/openai with custom baseURL (no new dependencies)
  • Supports both static model list and dynamic model discovery via /v1/models

Available Models

Model Context
DeepSeek V3.2 164K
Kimi K2.5 131K
GLM-5 131K
MiniMax M2.5 131K

Changes

  • app/lib/modules/llm/providers/avian.ts — New provider class extending BaseProvider, follows the Moonshot pattern
  • app/lib/modules/llm/registry.ts — Import and export AvianProvider
  • .env.example — Add AVIAN_API_KEY entry

Test plan

  • Provider appears in the model selector UI
  • API key can be entered in provider settings
  • Static models are listed correctly
  • Dynamic model fetching works with a valid API key
  • Chat completions work with each model

@avianion avianion force-pushed the feat/add-avian-provider branch from e53c79f to 4cb9b62 Compare February 23, 2026 06:23
Add Avian (avian.io) as a provider for accessing open-source models
including DeepSeek V3.2, Kimi K2.5, GLM-5, and MiniMax M2.5 via an
OpenAI-compatible API at api.avian.io/v1.

Supports both static model list and dynamic model discovery via the
/v1/models endpoint.
@avianion avianion force-pushed the feat/add-avian-provider branch from 4cb9b62 to 7367046 Compare February 23, 2026 06:24
@avianion
Copy link
Author

Hey @Stijnus — just following up on this PR. It adds Avian as a new LLM provider following the same pattern as the Cerebras + Fireworks PR (#2113).

Only 3 files changed:

  • New AvianProvider class extending BaseProvider (uses @ai-sdk/openai, no new deps)
  • Registry export (2 lines)
  • .env.example entry

CI is green and it's mergeable. Would appreciate a review when you get a chance!

@avianion
Copy link
Author

avianion commented Mar 5, 2026

Friendly follow-up — this PR is still active and ready for review. Would appreciate a look when you get a chance! cc @Stijnus

@avianion
Copy link
Author

avianion commented Mar 5, 2026

Friendly follow-up — this PR is still active and ready for review. All feedback has been addressed. Would appreciate a look when you get a chance! cc @Stijnus

@avianion
Copy link
Author

avianion commented Mar 5, 2026

Hey @thecodacus @dustinwloring1988 — friendly follow-up on this PR. Avian is an OpenAI-compatible inference provider that's already live and powering apps like ISEKAI ZERO. This is a lightweight integration (standard OpenAI-compatible endpoint) and we're happy to address any feedback or make adjustments. Would love to get this merged if you have a moment to review. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant