Overview
Integration details
Model features
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.

