Skip to content

feat: add AnyAPI provider#6794

Open
es697 wants to merge 1 commit into
ChatGPTNextWeb:mainfrom
es697:feat/add-anyapi-provider
Open

feat: add AnyAPI provider#6794
es697 wants to merge 1 commit into
ChatGPTNextWeb:mainfrom
es697:feat/add-anyapi-provider

Conversation

@es697
Copy link
Copy Markdown

@es697 es697 commented May 30, 2026

💻 变更类型 | Change Type

  • feat

🔀 变更说明 | Description of Change

  • Include new service/model provider AnyAPI (https://anyapi.ai), a unified AI platform providing access to 400+ models from OpenAI, Anthropic, Google, Meta, DeepSeek and more through a single OpenAI-compatible API endpoint.

📝 补充信息 | Additional Information

Adds AnyAPI (https://anyapi.ai) as a new AI provider option.
AnyAPI is a unified AI platform that provides access to hundreds of
AI models from OpenAI, Anthropic, Google, Meta, DeepSeek and more
through a single OpenAI-compatible API endpoint.

Changes:
- app/constant.ts: add ANYAPI_BASE_URL, ApiPath, ServiceProvider,
  ModelProvider, AnyAPI config, model list and DEFAULT_MODELS entry
- app/api/anyapi.ts: new API proxy handler
- app/client/platforms/anyapi.ts: new client platform class
- app/api/[provider]/route.ts: register anyapiHandler
- app/api/auth.ts: add AnyAPI auth case
- app/client/api.ts: add AnyAPI to ClientApi, getHeaders, getClientApi
- app/components/settings.tsx: add AnyAPI config component in UI
- app/config/server.ts: add ANYAPI_URL/ANYAPI_API_KEY env vars
- app/store/access.ts: add anyapiUrl/anyapiApiKey store state
- app/locales/en.ts, app/locales/cn.ts: add AnyAPI translations
- README.md, README_CN.md: add env var documentation
@es697 es697 force-pushed the feat/add-anyapi-provider branch from 0588b40 to 96b57d9 Compare May 30, 2026 10:50
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