Overview
Integration details
| Class | Package | Serializable | JS support | Downloads | Version |
|---|---|---|---|---|---|
| ChatCrusoe | langchain-crusoe | beta | ❌ |
Model features
| Tool calling | Structured output | Image input | Audio input | Video input | Token-level streaming | Native async | Token usage | Logprobs |
|---|---|---|---|---|---|---|---|---|
| ✅ | ✅ | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ❌ |
Setup
To access Crusoe models you’ll need to create a Crusoe Cloud account, get an Inference API key, and install thelangchain-crusoe integration package.
Credentials
Head to the Crusoe Cloud Console to sign up. Then navigate to the Security tab and select Inference API Key to generate your key. Once you’ve done this, set the CRUSOE_API_KEY environment variable:Installation
The LangChain Crusoe integration is included in thelangchain-crusoe package:
Instantiation
Now we can instantiate our model object and generate chat completions:Available models
Crusoe serves leading open-source models via the Intelligence Foundry. See the full model list for the latest availability.| Model | Provider | Context Length |
|---|---|---|
meta-llama/Llama-3.3-70B-Instruct | Meta | 128k |
openai/gpt-oss-120b | OpenAI | 128k |
deepseek-ai/DeepSeek-V3-0324 | DeepSeek | 160k |
deepseek-ai/DeepSeek-R1-0528 | DeepSeek | 160k |
deepseek-ai/DeepSeek-V3.1 | DeepSeek | 160k |
Qwen/Qwen3-235B-A22B | Qwen | 131k |
google/gemma-3-12b-it | 128k | |
moonshotai/Kimi-K2-Thinking | Moonshot AI | 131k |
Invocation
Chaining
We can chain our model with a prompt template like so:Streaming
Tool calling
Structured output
API reference
For detailed documentation of all ChatCrusoe features and configurations, head to the Crusoe managed inference docs.Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

