# GPT-4.1 Mini

> GPT-4.1 Mini on Clonvo: 1M context, $0.40 input and $1.60 output per 1M tokens.

Compact version of GPT-4.1 with vision and tool support.

-   Model id: `openai/gpt-4.1-mini`
-   Provider: OpenAI
-   Released: Apr 14, 2025
-   Context: 1M tokens
-   Max output: not published

## Pricing

The provider’s list price in USD. Requests on credits are charged exactly this; each response reports its cost in usage.cost.

| Charge | Price | Unit |
| --- | --- | --- |
| Input (prompt) | $0.40 | per 1M tokens |
| Output (completion) | $1.60 | per 1M tokens |
| Cache read | $0.10 | per 1M tokens |

## Capabilities

-   Tools
-   Vision
-   Structured outputs

## Quick start

Use the OpenAI SDK with Clonvo’s base URL and this model id.

```python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.clonvo.com/v1",
    api_key=os.environ["CLONVO_API_KEY"],
)

completion = client.chat.completions.create(
    model="openai/gpt-4.1-mini",
    messages=[{"role": "user", "content": "Summarise the plot of Hamlet in one sentence."}],
)
print(completion.choices[0].message.content)
```

## Data policy

Requests to this model are sent to OpenAI, whose API terms govern how they handle your data: [OpenAI data policy](https://openai.com/enterprise-privacy/). Clonvo doesn’t store prompts or responses unless your organization turns on retention.

## Bring your own key

From Pay as you go up, a OpenAI key added under Provider keys is used for this model before your credits: $25,000 a month free, then 4% of list price. [How bring-your-own-key works](https://clonvo.com/docs/byok.md).
