Skip to content

feat(openai): add LLM.with_crusoe for Crusoe Managed Inference - #6408

Open
acheamponge wants to merge 3 commits into
livekit:mainfrom
acheamponge:feat-crusoe-llm
Open

feat(openai): add LLM.with_crusoe for Crusoe Managed Inference#6408
acheamponge wants to merge 3 commits into
livekit:mainfrom
acheamponge:feat-crusoe-llm

Conversation

@acheamponge

Copy link
Copy Markdown

Adds LLM.with_crusoe() to the OpenAI plugin, following the same pattern as with_nebius / with_cerebras.

Crusoe Managed Inference is OpenAI-API compatible: endpoint https://api.inference.crusoecloud.com/v1/, auth via CRUSOE_API_KEY.

  • llm.pywith_crusoe() static method (default model zai/GLM-5.2)
  • models.pyCrusoeChatModels literal with the current catalog (GLM 5.x, NVIDIA Nemotron 3 family, Gemma 4, Llama 3.3, DeepSeek V3/V4, GPT-OSS, Qwen3, Kimi K2.6)

I maintain Crusoe's ecosystem integrations (LiteLLM: BerriAI/litellm#23195, SGLang: sgl-project/sglang#20475).

@acheamponge
acheamponge requested a review from a team as a code owner July 13, 2026 21:57
@CLAassistant

CLAassistant commented Jul 13, 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

Groups openai/openai.types with httpx as third-party, livekit.agents.*
as first-party (per known-first-party config), and fixes the
alphabetical position of CrusoeChatModels in the .models import.
@acheamponge

Copy link
Copy Markdown
Author

Status update: the ruff formatting check is fixed and CI is now fully green on the current head. Ready for review whenever someone has a chance — happy to make any changes needed.

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