--- title: Using Fireworks AI in LobeChat description: >- Learn how to integrate and utilize Fireworks AI's language model APIs in LobeChat. tags: - LobeChat - Fireworks AI - API Key - Web UI --- # Using Fireworks AI in LobeChat [Fireworks.ai](https://fireworks.ai/) is a high-performance generative AI model inference platform that allows users to access and utilize various models through its API. The platform supports multiple modalities, including text and visual language models, and offers features like function calls and JSON schemas to enhance the flexibility of application development. This article will guide you on how to use Fireworks AI in LobeChat. ### Step 1: Obtain an API Key for Fireworks AI - Log in to the [Fireworks.ai Console](https://fireworks.ai/account/api-keys) - Navigate to the `User` page and click on `API Keys` - Create a new API key {'Create - Copy and securely save the generated API key {'Save Please store the key securely, as it will appear only once. If you accidentally lose it, you will need to create a new key. ### Step 2: Configure Fireworks AI in LobeChat - Access the `Settings` interface in LobeChat - Under `Language Model`, locate the settings for `Fireworks AI` {'Enter - Enter the obtained API key - Select a Fireworks AI model for your AI assistant to start a conversation {'Select Please note that you may need to pay fees to the API service provider during use; refer to Fireworks AI's pricing policy for details. You are now ready to use the models provided by Fireworks AI for conversations in LobeChat.