Skip to content

feat: add API Route as an LLM Advisor provider - #8965

Open
DennyHo0917 wants to merge 1 commit into
oxsecurity:mainfrom
DennyHo0917:feat/api-route-llm-provider
Open

DennyHo0917 wants to merge 1 commit into
oxsecurity:mainfrom
DennyHo0917:feat/api-route-llm-provider

Conversation

@DennyHo0917

Copy link
Copy Markdown

Add API Route as a first-class LLM Advisor provider, following the same OpenAI-compatible integration pattern already used by OrcaRouter.

API Route is an OpenAI-compatible multi-model gateway that exposes GPT, Claude, Gemini, Kimi, Qwen, and other models behind one API key and base URL.

Changes

add ApiRouteProvider backed by ChatOpenAI

use https://global.api-route.com/v1 as the default endpoint

add API_ROUTE_API_KEY and optional API_ROUTE_BASE_URL

register LLM_PROVIDER: api-route in the provider factory and lazy imports

default to gpt-5.6-sol while allowing any API Route model through LLM_MODEL_NAME

add provider documentation, provider tables, MkDocs navigation, and changelog entry

The implementation intentionally reuses the existing langchain_openai dependency and keeps the provider-specific surface minimal.

References:

https://www.api-route.com/

https://www.api-route.com/pricing

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