google/gemini-2.5-pro
Google's flagship long-context model. 1M-token context with strong reasoning, coding, and vision. Competitive with top-tier models on GPQA, MATH, and SWE-bench at significantly lower cost.
์ถ์ฒ: gemini_x0.5 ยท 2026-07-21 ํ์ธ
์บ์ ์ฝ๊ธฐ $0.0625/M ยท ์บ์ ์ฐ๊ธฐ โ/M
| ๋จ๊ณ | ์ ๋ ฅ | ์บ์ ์ฝ๊ธฐ | ์บ์ ์ฐ๊ธฐ | ์ถ๋ ฅ |
|---|---|---|---|---|
| Standard โค200K | $0.625 | $0.0625 | โ | $5 |
| Standard >200K | $1.25 | $0.125 | โ | $7.5 |
API ํธ์ถ ์ ์ด๋ค ID๋ ์ฌ์ฉํ ์ ์์ต๋๋ค.
google/gemini-2.5-proYou can use these names directly in the request model field.
ONEHOP_KEY ์๋ฆฌ ํ์์๋ฅผ ๊ทํ์ API key๋ก ๊ต์ฒดํ์ธ์. ์์ฑํ๊ธฐ โ
from openai import OpenAI
client = OpenAI(
base_url="https://api.onehop.ai/v1",
api_key="<ONEHOP_KEY>",
)
completion = client.chat.completions.create(
model="google/gemini-2.5-pro",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)์ต๊ทผ 30์ผ๊ฐ ์์ฒญ 1๊ฑด