All models

Gemini 2.5 Pro

By Google · released Jun 17, 2025

google/gemini-2.5-pro

Google’s strongest reasoning model, with a long context for large documents and codebases.

Price in TND

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

Input4.125TND/ 1M tokens
Output33.000TND/ 1M tokens
Cached input1.031TND/ 1M tokens
Per messageAbout 2,000 tokens in, 600 out≈ 0.029TND

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["TNROUTER_API_KEY"],
)

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