> ## Documentation Index
> Fetch the complete documentation index at: https://docs.typingmind.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DeepInfra

DeepInfra allows you to access Open-source AI models such as Meta LLaMA 3, Mistral AI, Gemma, etc. at low cost.

Here’s how to set up DeepInfra on TypingMind

## Step 1: Create DeepInfra account

Go to [https://deepinfra.com/](https://deepinfra.com/) and Log into DeepInfra via your GitHub account

![Untitled](https://mintcdn.com/typingmind/7fxalBaEFNO2seEf/manage-and-connect-ai-models/deepinfra/Untitled.webp?fit=max\&auto=format\&n=7fxalBaEFNO2seEf\&q=85\&s=f8555a6b923cdd66a6d9c45a42082e60)

## Step 2: Generate an API key

* Go to DeepInfra API Key page at [https://deepinfra.com/dash/api\_keys](https://deepinfra.com/dash/api_keys)
* Click on “**New API Key**”
* Enter your API Key Name and click “**Generate API Key**”

![Untitled](https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/deepinfra/Untitled%201.webp)

* Copy the generated API key and move to step 3

![Untitled](https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/deepinfra/Untitled%202.webp)

## Step 3: Use DeepInfra on TypingMind

* Go to [**typingmind.com**](https://www.typingmind.com/)
* Navigate the Models menu on the left sidebar → Switch to API key tab
* Input the copied API key for DeepInfra.

![Api Key Tab](https://mintcdn.com/typingmind/f18I_2hiObU32xEr/images/api-key-tab.webp?fit=max\&auto=format\&n=f18I_2hiObU32xEr\&q=85\&s=cd0e293a1514cb9d086e8754ac1106ee)

After entering the API key for DeepInfra, switch back to Models tab → select DeepInfra → enable DeepInfra models you want to chat with.

![Deepinfra Model](https://mintcdn.com/typingmind/VAznm0Uo9H9pR4_5/images/deepinfra-model.webp?fit=max\&auto=format\&n=VAznm0Uo9H9pR4_5\&q=85\&s=4ae44e69638d4334fbd4b72fba2a3fb1)

## Step 4: Start chatting!

Now, you can choose the model and interact with it! Below is an example chat with LLaMA 3 70b:

![Untitled](https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/deepinfra/Untitled%204.webp)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.