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.
Kaynak: https://ai.google.dev/gemini-api/docs/pricing · Doğrulandı: 2026-10-30
Cache okuma $0.075/M · Cache yazma —/M
API çağrısında her iki ID de kullanılabilir.
google/gemini-3.8-flashONEHOP_KEY yer tutucusunu API key'inizle değiştirin. Oluşturun →
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)