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

# Modellix API Pricing for Media, LLM, and Tools

> Understand Modellix pay-as-you-go pricing: media generation by image, second, or character; LLM by token; optional Web Tools by request or URL.

Modellix bills from one account balance. Media Models, LLMs, and Web Tools use different units. Rates are public; confirm the live price before you ship a workload.

| Product | How You Are Billed | Live rates |
| - | - | - |
| **Media Models** | Per image, per second, or per character (some speech jobs bill by audio duration) | [Modellix Models](https://www.modellix.ai/models), [Pricing table](https://www.modellix.ai/pricing) |
| **LLM** | Per token (`usage` on successful responses), USD per 1M tokens | [Modellix LLM](https://www.modellix.ai/llm) |
| **Web Tools** | Web Search per request; Web Fetch per successful URL | [Tools Overview](/tools/overview) |

Fund the same balance for all three: [Top-up](/get-started/top-up). Insufficient balance returns `402`.

## Media Models

Open a model on [Modellix Models](https://www.modellix.ai/models) to see prices for each parameter combination. To compare active media models in one table, use the [Modellix Pricing Page](https://www.modellix.ai/pricing).

### Pricing Units

* `to-image`: Charged by **USD/img**. `img` is the number of output images.
* `to-video`: Charged by **USD/sec**. `sec` is the output video duration.
* `to-audio`: Charged by **USD/M chars**. `M chars` means one million input characters (text-to-speech and related audio models).

Some models change price with input parameters. For example, a video model may cost more at `1080p` than at `720p`. Some speech or transcription models bill by audio duration (**USD/sec**). Always confirm the unit on the model detail page or the pricing table.

<Card title="REST API" icon="rocket" href="/ways-to-use/api">
  Submit an async media task, poll status, and retrieve billed outputs.
</Card>

## LLM

The LLM gateway bills **successful** responses from token `usage` at the model's input and output rates. Cache read/write tokens are billed when the response includes them. `prompt_tokens_details.video_tokens` and `audio_tokens` are already included in `prompt_tokens` and are not billed as a separate line.

Pass `model` as a `provider/name` ID. Current Model IDs, Input Context tiers, discounts, and USD-per-1M-token rates are on the [Modellix LLM](https://www.modellix.ai/llm) page. That page also estimates a call with the cost calculator.

<Columns cols={2}>
  <Card title="LLM Models and Pricing" icon="tag" href="https://www.modellix.ai/llm">
    Filter by provider and input modality; compare list prices with Modellix rates.
  </Card>

  <Card title="LLM Overview" icon="message-square" href="/llm/overview">
    Protocols, `usage` fields, and billing notes for Chat Completions, Responses, and Messages.
  </Card>
</Columns>

## Web Tools

Web Tools are optional. Prices below are in **USD**. Confirm live SKUs on [Tools Overview](/tools/overview) or in the [console](https://modellix.ai/console).

### Web Search

[Web Search](/api/web-search) (`POST /v1/web-search`) is charged **once per request** according to `depth`. It is not billed per result or per URL. Default `depth` is `standard`.

| Depth | SKU | Price (USD / request) |
| - | - | -: |
| `lite` | `web-search.lite` | \$0.01 |
| `standard` | `web-search.standard` | \$0.015 |
| `rich` | `web-search.rich` | \$0.02 |

### Web Fetch

[Web Fetch](/api/web-fetch) (`POST /v1/web-fetch`) is charged **\$0.002 per successful URL** (`web-fetch`). Failed URLs are not billed.

<Note>
  Availability and prices can change. Confirm live rates in the [Modellix console](https://modellix.ai/console) and on [Tools Overview](/tools/overview).
</Note>


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