AG

Agnes 2.5 Flash API

VN Agnes AI | publié 2026-10
Essayer dans le bac à sable → Obtenir une clé API

Agnes 2.5 Flash is a full-availability upgrade of Agnes 2.0 Flash, keeping the OpenAI-compatible Chat Completions interface while improving instruction following and tool reliability. A solid free choice for agent loops, function calling and everyday coding assistance.

RapideOutilsCode

Tarifs (officiel, par 1M tokens)

Gratuit
Sans frais de tokens. $0 / M tokens.

Spécifications

Fenêtre de contexte512K tokens Modalités d'entréeTexte StreamingOui APICompatible OpenAI

Comment utiliser Agnes 2.5 Flash

Remplacement direct d'OpenAI. Changez base_url et modèle.

# Python - pip install openai
from openai import OpenAI

client = OpenAI(
    base_url="https://meshtok.com/v1",
    api_key="sk-your-MeshTok-key",
)

resp = client.chat.completions.create(
    model="agnes/agnes-2.5-flash",
    messages=[{"role":"user","content":"Hello!"}],
)
print(resp.choices[0].message.content)
# cURL
curl https://meshtok.com/v1/chat/completions \
  -H "Authorization: Bearer sk-your-MeshTok-key" \
  -H "Content-Type: application/json" \
  -d '{"model":"agnes/agnes-2.5-flash","messages":[{"role":"user","content":"Hello!"}]}'

Modèles similaires

D'autres modèles à considérer.