Overview
Integration details
| Class | Package | Serializable | JS/TS Support | Downloads | Version |
|---|---|---|---|---|---|
ChatFireworks | langchain-fireworks | beta | ✅ (npm) |
Model features
| Tool calling | Structured output | Image input | Audio input | Video input | Token-level streaming | Native async | Token usage | Logprobs |
|---|---|---|---|---|---|---|---|---|
| ✅ | ✅ | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ |
Setup
To access Fireworks models you’ll need to create a Fireworks account, get an API key, and install thelangchain-fireworks integration package.
Credentials
Head to fireworks.ai to sign up to Fireworks and generate an API key. Once you’ve done this set the FIREWORKS_API_KEY environment variable:Installation
The LangChain Fireworks integration lives in thelangchain-fireworks package:
Instantiation
Now we can instantiate our model object and generate chat completions:Invocation
API reference
For detailed documentation of all features and configuration options, head to theChatFireworks API reference.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

