Fireworks AI is an AI inference platform to run and customize models. For a list of all models served by Fireworks see the Fireworks docs. This guide will help you getting started withDocumentation Index
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
Use this file to discover all available pages before exploring further.
ChatFireworks chat models. For detailed documentation of all ChatFireworks features and configurations head to the API reference.
Overview
Integration details
| Class | Package | Serializable | PY support | Downloads | Version |
|---|---|---|---|---|---|
ChatFireworks | @langchain/community | ✅ | ✅ |
Model features
See the links in the table headers below for guides on how to use specific features.| Tool calling | Structured output | Image input | Audio input | Video input | Token-level streaming | Token usage | Logprobs |
|---|---|---|---|---|---|---|---|
| ✅ | ✅ | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ |
Setup
To accessChatFireworks models you’ll need to create a Fireworks account, get an API key, and install the @langchain/community integration package.
Credentials
Head to the Fireworks website to sign up to Fireworks and generate an API key. Once you’ve done this set theFIREWORKS_API_KEY environment variable:
Installation
The LangChainChatFireworks integration lives in the @langchain/community package:
Instantiation
Now we can instantiate our model object and generate chat completions:Invocation
API reference
For detailed documentation of allChatFireworks features and configurations head to the API reference.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

