Skip to content

feat: add AnyAPI provider#31921

Open
es697 wants to merge 4 commits into
anomalyco:devfrom
es697:feat/add-anyapi-provider
Open

feat: add AnyAPI provider#31921
es697 wants to merge 4 commits into
anomalyco:devfrom
es697:feat/add-anyapi-provider

Conversation

@es697

@es697 es697 commented Jun 11, 2026

Copy link
Copy Markdown

Issue for this PR

N/A (new provider)

Type of change

  • Bug fix
  • New feature
  • Documentation

What does this PR do?

Adds AnyAPI (anyapi.ai) — an OpenAI-compatible gateway with 400+ models. Already on models.dev, works through bundled @ai-sdk/openai-compatible.

Changes:

  • packages/opencode/src/provider/provider.ts — custom loader entry
  • packages/web/src/content/docs/providers.mdx — docs section

How did you verify your code works?

  • bun run --cwd packages/opencode typecheck — no errors in our changes
  • Same pattern as existing providers (Trillionir, zenmux)

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Adds AnyAPI (anyapi.ai) as a documented OpenAI-compatible provider.
AnyAPI provides access to 400+ models through a single API endpoint
and is already available on models.dev. No runtime code changes needed
— opencode supports it through the bundled @ai-sdk/openai-compatible.
@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Jun 11, 2026
@es697 es697 changed the title docs: add AnyAPI provider feat: add AnyAPI provider Jun 11, 2026
eva added 2 commits June 11, 2026 20:22
Adds AnyAPI (anyapi.ai) as a built-in OpenAI-compatible provider. AnyAPI is already listed on models.dev and works through the bundled @ai-sdk/openai-compatible.
@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Jun 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

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