by Google · chat
Gemini 2.5 Flash Preview 05-20 by Google — Access via Apertis API. Input: $0.0001/1M tokens, Output: $0.0004/1M tokens. Context: 1.0M tokens. OpenAI-compatible API with 50% cost savings.
| Input | Output | Context Window |
|---|---|---|
| $0.0001 / 1M tokens | $0.0004 / 1M tokens | 1.0M tokens |
Use the Apertis API (OpenAI-compatible) to access Gemini 2.5 Flash Preview 05-20:
curl https://api.apertis.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gemini-2.5-flash-preview-05-20", "messages": [{"role": "user", "content": "Hello!"}]}'