Skip to main content
Create an API key and send your first request. Once you complete these steps, you’re ready to choose a popular model and use your favorite agent or SDK with FriendliAI. With Friendli Model APIs, you get access to a curated set of popular, open-weight models that are ready for you today. If you want to run any model — including your own — on dedicated GPUs, try Friendli Dedicated Endpoints. To get started, complete the following steps.

Create an API Key

1

Create a Friendli Suite Account

If you haven’t already, sign up for an account.
2

Sign In

Then, sign in. Friendli Suite opens your dashboard.
3

Create a FriendliAI API Key

  1. In the left sidebar, click Settings. Then, click API Keys.
  2. In the upper-right corner, click Create API Key.
  3. Click Copy.

Send a Request

1

Set Up Your API Key

In your terminal, run the following command:
Replace <FRIENDLIAI_API_KEY> with your API key.
2

Install the OpenAI SDK

In your terminal, run the following command:
3

Send Your Request to FriendliAI

Run the following code:
FriendliAI returns a response, similar to the following:
You’re ready to start building with your favorite coding agent or SDK to connect to fast, cost-efficient, and reliable open-weight models.

Models

Use popular FriendliAI models.

Agents

Use your favorite agent with FriendliAI.

SDKs

Use your favorite SDK with FriendliAI.
Last modified on July 19, 2026