All models

GPT-5 mini

By OpenAI · released Aug 7, 2025

openai/gpt-5-mini

A smaller, cheaper GPT-5 that still reasons well. Good for students and prototypes.

Price in TND

The same in the chat and the API. Charged per token, to the millime.

Input0.825TND/ 1M tokens
Output6.600TND/ 1M tokens
Cached input0.083TND/ 1M tokens
Per messageAbout 2,000 tokens in, 600 out≈ 0.006TND

Prices last updated Oct 20, 2026

Use it from your code

Any OpenAI SDK works. Copy a snippet, add your API key, and send the request.

python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.platform.guitouni-amine.me/v1",
    api_key=os.environ["NOOR_API_KEY"],
)

reply = client.chat.completions.create(
    model="openai/gpt-5-mini",
    messages=[{"role": "user", "content": "Ahla! Explain recursion in two sentences."}],
)
print(reply.choices[0].message.content)