> For the complete documentation index, see [llms.txt](https://docs.apismart.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apismart.ai/models-and-pricing/models-and-model-ids.md).

# Models and Model IDs

ApiSmart provides access to supported language, image, and video models through a unified API platform.

Before sending a request, select a model that fits your use case and copy its exact **Model ID**. The Model ID determines which model processes the request.

***

### 🤖 Browse Available Models

Open the ApiSmart [**Models**](https://www.apismart.ai/models) page and select a category:

* All
* Large Language Models (LLM)
* Image Generation
* Video Generation

You can switch between **Card View** and **List View** depending on how you prefer to browse the models.

<figure><img src="/files/AQUweouOUKlW5cCLiu0Q" alt=""><figcaption></figcaption></figure>

Each model card may display:

* Model name
* Provider
* Model category
* Billing mode
* Pricing summary
* Capability tags
* **View Details**
* **Compare Models**

<figure><img src="/files/d7YquGf3W4TTZm5c2zE4" alt=""><figcaption></figcaption></figure>

***

### Filter the Model List

Use the available filters to narrow your results by:

* **Billing Mode**
* **Provider**
* **Context Length**
* **Price Range**
* **Sorting Options**

For language models, Context Length indicates how much content a model can process in one request. Image and video models may display `N/A`.

> 💡 A lower listed price does not always mean a lower total request cost. Actual cost depends on the selected model and request settings.

***

### Compare Models

Select **Compare Models** on the model cards to review suitable models side by side.

<figure><img src="/files/umglpx0CCvuId0UPgvX1" alt=""><figcaption></figcaption></figure>

Compare factors such as:

* Provider
* Model category
* Capabilities
* Context length
* Billing mode
* Price Configuration

<figure><img src="/files/rFjGn3dPQ4npSnnBtx2z" alt=""><figcaption></figcaption></figure>

Use the comparison view as an initial reference, then select **View Details** before integrating the model.

***

### Open the Model Details

Select **View Details** to review the complete model information.

<figure><img src="/files/UQettPEOXm1SL2yD3CzF" alt=""><figcaption></figcaption></figure>

Depending on the model, the details page may include:

* Model description
* Capabilities
* Release date
* Price Configuration
* Code Example
* Quick Integration information, where available

The model name displayed at the top of the page may be different from the Model ID required by the API.

For example:

```
Display name: DeepSeek-V4-Flash.DeepSeek
Model ID:     DEEPSEEK_V4_FLASH
```

***

### 🔍 Find the Model ID

The Model ID can usually be found in two places on the details page.

#### Code Example

Look for the value assigned to the `model` field:

```python
data = {
    "model": "DEEPSEEK_V4_FLASH",
    "messages": [
        {
            "role": "user",
            "content": "Hello!"
        }
    ]
}
```

In this example, the Model ID is:

```
DEEPSEEK_V4_FLASH
```

#### Quick Integration

The **Quick Integration** section may also display the Model ID.

Do not:

* Replace it with the display name
* Change uppercase or lowercase letters
* Remove underscores, hyphens, or periods
* Add extra spaces

> ⚠️ **Important:** Model IDs are case-sensitive.

***

### Use the Model ID in a Request

#### Text Model Example

```python
{
  "model": "DEEPSEEK_V4_FLASH"
}
```

Replace `DEEPSEEK_V4_FLASH` with the exact Model ID shown in the selected model’s Code Example.

For complete request examples, see [**Chat Completions API**](/api-guides/chat-completions-api.md), [**Image Generation API**](/api-guides/image-generation-api.md), or [**Video Generation API**](/api-guides/video-generation-api.md).

***

### Use the Correct Endpoint and Request Format

Different model categories use different endpoints and request structures.

Always refer to the model’s **Code Example** before integration.

| Model category | Endpoint                 | Common request fields                             |
| -------------- | ------------------------ | ------------------------------------------------- |
| Language       | `/v1/chat/completions`   | Uses `messages` and a supported language Model ID |
| Image          | `/v1/images/generations` | Uses model-specific image generation fields       |
| Video          | `/v1/video/tasks`        | Creates an asynchronous video task                |

> ⚠️ **Important:** Always use the exact endpoint, Model ID, and request format shown in the model’s **Code Example**.

***

### 💰 Review Pricing Before Selection

Before selecting a model, review its **Billing Mode** and **Price Configuration**.

Pricing may vary by model, input type, output type, resolution, duration, or other model-specific settings.

For details, see [**Understand Model Pricing and Billing**](/models-and-pricing/model-pricing-and-billing.md).

***

### 🛠️ Troubleshoot Model ID and Request Errors

If a model request fails, first check that:

* The Model ID was copied from the model’s **Code Example**
* The display name was not used as the Model ID
* Capitalization and punctuation are unchanged
* The correct endpoint is being used
* The request fields match the selected model
* The model is currently available

Example:

```
Display name: DeepSeek-V4-Flash.DeepSeek
Model ID:     DEEPSEEK_V4_FLASH
```

Incorrect:

```
{  "model": "DeepSeek-V4-Flash.DeepSeek"}
```

Correct:

```
{  "model": "DEEPSEEK_V4_FLASH"}
```

If the Model ID and request format are correct but the request still fails, check your **API Token status, remaining usage allowance, Current Balance, and Usage Logs**.

***

### 🚀 Next Steps

Continue with:

* [**Understand Model Pricing and Billing**](/models-and-pricing/model-pricing-and-billing.md)
* [**Chat Completions API**](/api-guides/chat-completions-api.md)
* [**Image Generation API**](/api-guides/image-generation-api.md)
* [**Video Generation API**](/api-guides/video-generation-api.md)
* [**Quick Start**](/welcome-to-apismart/quick-start.md)
* [**API Basics**](/api-guides/api-basics.md)
