Embeddinggemma 300m vs Gemini 1.5 Flash 8b
Live API pricing and availability, side by side. Both models run on FastInfra's OpenAI-compatible endpoint — switching between them is a one-line change.
Pricing
Price per 1M tokens
Prices are live and sync automatically from wholesale providers.
| Embeddinggemma 300m | Gemini 1.5 Flash 8b | |
|---|---|---|
| Input | $0.0021 | $0.04 |
| Output | — | $0.16 |
| Default provider | DeepInfra | DeepInfra |
| Providers available | 1 | 1 |
On input tokens, Embeddinggemma 300m is currently 18.8× cheaper than Gemini 1.5 Flash 8b on FastInfra. Output-token pricing and quality trade-offs differ per workload — test both with the free tier.
Quickstart
Try both in 30 seconds
Same endpoint, same SDK — only the model string changes.
from openai import OpenAI
client = OpenAI(api_key="YOUR_API_KEY", base_url="https://api.fastinfra.ai/v1")
for model in ["google/embeddinggemma-300m", "google/gemini-1.5-flash-8b"]:
response = client.chat.completions.create(
model=model,
messages=[{"role": "user", "content": "Hello!"}]
)
print(model, "->", response.choices[0].message.content)