google/gemini-3.8-flash
Gemini 3.8 Flash through OneHop. Supports text generation, streaming and function calling. Billed by input, output and cached tokens. Prices follow the current Google standard tier.
출처: https://ai.google.dev/gemini-api/docs/pricing · 2026-10-30 확인
캐시 읽기 $0.075/M · 캐시 쓰기 —/M
API 호출 시 어떤 ID든 사용할 수 있습니다.
google/gemini-3.8-flashONEHOP_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-3.8-flash",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)