Skip to content

feat: add Synthorai LLM factory method - #6983

Open
cuihuan wants to merge 1 commit into
livekit:mainfrom
cuihuan:add-synthorai-llm
Open

feat: add Synthorai LLM factory method#6983
cuihuan wants to merge 1 commit into
livekit:mainfrom
cuihuan:add-synthorai-llm

Conversation

@cuihuan

@cuihuan cuihuan commented Aug 26, 2026

Copy link
Copy Markdown

Adds a with_synthorai() factory method to the OpenAI plugin's LLM class, following the same pattern as the existing gateway integrations (with_cometapi, with_ovhcloud, etc.).

Synthorai (https://synthorai.io) is an OpenAI/Anthropic-compatible LLM gateway routing to 113 models across 11 upstream providers (Claude, GPT, Gemini, GLM, Kimi, DeepSeek, Qwen, etc.) at direct upstream pricing, no markup. Docs: https://synthorai.io/docs

Changes

  • livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/llm.pywith_synthorai() static method, base_url https://synthorai.io/v1, reads SYNTHORAI_API_KEY from env

Plain OpenAI-compatible surface, no custom request/response shaping needed — same shape as the CometAPI/OVHcloud integrations.

@cuihuan
cuihuan requested a review from a team as a code owner August 26, 2026 02:23
@CLAassistant

CLAassistant commented Aug 26, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

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.

2 participants