How to create a Fireworks AI API key to use in Ozeki AI Gateway

This guide demonstrates how to create a Fireworks AI API key and configure it in Ozeki AI Gateway. You'll learn how to access the Fireworks AI platform, generate a new API key, and set up Fireworks AI as a provider in your gateway. By following these steps, you can connect your Ozeki AI Gateway to Fireworks AI's fast and efficient AI model inference platform.

API URL: https://api.fireworks.ai/inference/v1
Example API Key: fw_abc123...
Default model: gpt-oss-120b

What is a Fireworks AI API key?

A Fireworks AI API key is a unique authentication credential that allows applications to access AI models through the Fireworks AI inference platform. Fireworks AI specializes in high-performance model inference with fast response times. When configuring Fireworks AI as a provider in Ozeki AI Gateway, you need this API key to establish the connection between your gateway and Fireworks AI's services.

Overview
Overview

Steps to follow

  1. Open Fireworks AI homepage
  2. Choose Create API Key quick action
  3. Begin API key creation
  4. Enter key name and generate
  5. Copy key and close window
  6. Open Providers page in Ozeki AI Gateway
  7. Create provider

How to create a Fireworks AI API key video

The following video shows how to create a Fireworks AI API key and configure it in Ozeki AI Gateway step-by-step. The video covers accessing the Fireworks AI platform, generating credentials, and setting up the provider in your gateway.

Step 0 - Install Ozeki AI Gateway

Before configuring Fireworks AI as a provider, ensure Ozeki AI Gateway is installed and running on your system. If you haven't installed Ozeki AI Gateway yet, follow our Installation on Linux guide or Installation on Windows guide to complete the initial setup.

Step 1 - Open Fireworks AI homepage

Open your web browser and navigate to the Fireworks AI platform. Sign in with your account credentials or create a new account if needed. The Fireworks AI dashboard provides access to model deployment, API management, and quick actions for common tasks (Figure 1).

Open Fireworks AI homepage
Figure 1 - Open Fireworks AI homepage

Step 2 - Choose Create API Key quick action

On the Fireworks AI dashboard, locate the "Create API Key" option in the quick actions menu. Click on it to navigate to the API Keys management page where you can create and manage your authentication credentials (Figure 2).

Choose Create API Key quick action
Figure 2 - Choose Create API Key quick action

Step 3 - Begin API key creation

On the API Keys management page, click the "Create API Key" button. A dropdown menu appears with two options: API Key and Service account API keys. Select "API Key" to create a standard authentication credential for your application (Figure 3).

Begin API key creation
Figure 3 - Begin API key creation

Step 4 - Enter name and generate key

Enter a descriptive name for your credential, such as "Ozeki AI Gateway". A clear naming convention helps identify which keys are used by which applications or services. Click the "Generate Key" button to create your authentication token (Figure 4).

Enter key name and generate
Figure 4 - Enter key name and generate

Step 5 - Copy key and close window

After generation, Fireworks AI displays the complete credential value. Click the copy button to transfer it to your clipboard. Store this token securely as it provides access to your Fireworks AI account and available models. Close the dialog window after copying the key (Figure 5).

The API key is only shown once during creation. Make sure to copy and securely store the key before closing this window.

Copy key and close window
Figure 5 - Copy key and close window

Step 6 - Open Providers page in Ozeki AI Gateway

Open the Ozeki AI Gateway web interface and navigate to the Providers page. The Providers page displays all configured AI model connections and allows you to add new providers (Figure 6).

Open Providers page
Figure 6 - Open Providers page in Ozeki AI Gateway

Step 7 - Create provider

Click the "New" button on the Providers page to begin creating a provider configuration. This opens a form where you'll specify the connection details for Fireworks AI (Figure 7).

Add new provider
Figure 7 - Click add new provider button

Fill in the configuration form with your Fireworks AI information. Enter the provider name, select "OpenAI compatible" as the type, paste the endpoint URL (https://api.fireworks.ai/inference/v1), and add your authentication token. Select your preferred model from the dropdown list, then click "Create" to save the configuration (Figure 8).

https://api.fireworks.ai/inference/v1

Enter details and create provider
Figure 8 - Enter Fireworks AI provider details and create

After clicking "Create", Fireworks AI is added to Ozeki AI Gateway. The provider now appears in the list, confirming that your gateway can route requests to Fireworks AI services. You can now create routes that allow users to access Fireworks AI models through your gateway (Figure 9).

Provider created
Figure 9 - Fireworks AI provider created successfully

To sum it up

You have successfully created a Fireworks AI API key and configured it as a provider in Ozeki AI Gateway. Your gateway can now communicate with Fireworks AI's high-performance inference platform and access various AI models with fast response times. This setup allows you to manage Fireworks AI access for multiple users and applications from a centralized point.

More information