> ## 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

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/deepinfra/Untitled.png" alt="Untitled" />

## 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**”

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/deepinfra/Untitled%201.png" alt="Untitled" />

* Copy the generated API key and move to step 3

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/deepinfra/Untitled%202.png" alt="Untitled" />

## Step 3: Use DeepInfra on TypingMind

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

<Frame>
  <img src="https://mintcdn.com/typingmind/f18I_2hiObU32xEr/images/api-key-tab.webp?fit=max&auto=format&n=f18I_2hiObU32xEr&q=85&s=cd0e293a1514cb9d086e8754ac1106ee" alt="Api Key Tab" width="2342" height="1764" data-path="images/api-key-tab.webp" />
</Frame>

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

<Frame>
  <img src="https://mintcdn.com/typingmind/VAznm0Uo9H9pR4_5/images/deepinfra-model.webp?fit=max&auto=format&n=VAznm0Uo9H9pR4_5&q=85&s=4ae44e69638d4334fbd4b72fba2a3fb1" alt="Deepinfra Model" width="2358" height="1740" data-path="images/deepinfra-model.webp" />
</Frame>

## Step 4: Start chatting!

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

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/deepinfra/Untitled%204.png" alt="Untitled" />
