Skip to main content
This page will help you get started with Crusoe AI chat models. For detailed documentation of all ChatCrusoe features and configurations, head to the Crusoe managed inference docs. Crusoe AI provides high-performance managed inference for leading open-source models via the Crusoe Intelligence Foundry, powered by proprietary MemoryAlloy™ technology for ultra-low latency and high throughput.

Overview

Integration details

Model features

Setup

To access Crusoe models you’ll need to create a Crusoe Cloud account, get an Inference API key, and install the langchain-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:
To enable automated tracing of your model calls, set your LangSmith API key:

Installation

The LangChain Crusoe integration is included in the langchain-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.

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.