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

# DeepInfra Provider

> Use DeepInfra with PraisonAI TypeScript

# DeepInfra Provider

Fast inference with DeepInfra.

## Environment Variables

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
export DEEPINFRA_API_KEY=...
```

## Quick Start

```typescript theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
import { Agent } from 'praisonai';

const agent = new Agent({
  name: 'DeepInfraAgent',
  instructions: 'You are a helpful assistant.',
  llm: 'deepinfra/meta-llama/Llama-2-70b-chat-hf'
});

const response = await agent.chat('Hello!');
```

## Related

* [DeepInfra CLI Usage](/docs/js/providers/deepinfra-cli)
