---
title: "Directory Structure"
description: "When adding a new provider, you need to create a directory for the provider that follows the following structure:"
type: skill
canonical_url: https://claudary.paisolsolutions.com/skills/directory-structure
source: "Claudary"
difficulty: intermediate
author: "Claude Code Knowledge Pack"
date: 2026-07-10T11:19:54.380Z
license: CC-BY-4.0
attribution: "Directory Structure — Claudary (https://claudary.paisolsolutions.com/skills/directory-structure)"
---

# Directory Structure
When adding a new provider, you need to create a directory for the provider that follows the following structure:

## Overview

# Directory Structure

When adding a new provider, you need to create a directory for the provider that follows the following structure:

```
litellm/llms/
└── provider_name/
    ├── completion/ # use when endpoint is equivalent to openai's `/v1/completions`
    │   ├── handler.py
    │   └── transformation.py
    ├── chat/ # use when endpoint is equivalent to openai's `/v1/chat/completions`
    │   ├── handler.py
    │   └── transformation.py
    ├── embed/ # use when endpoint is equivalent to openai's `/v1/embeddings`
    │   ├── handler.py
    │   └── transformation.py
    ├── audio_transcription/ # use when endpoint is equivalent to openai's `/v1/audio/transcriptions`
    │   ├── handler.py
    │   └── transformation.py
    └── rerank/ # use when endpoint is equivalent to cohere's `/rerank` endpoint.
        ├── handler.py
        └── transformation.py
```

---

Source: [Claudary](https://claudary.paisolsolutions.com/skills/directory-structure) · https://claudary.paisolsolutions.com
