Jamba Large 1.7 vs Gemma2:2b
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.
| Jamba Large 1.7 | Gemma2:2b | |
|---|---|---|
| Input | $2.10 | Free |
| Output | $8.40 | Free |
| Default provider | OpenRouter | Ollama (free tier) |
| Providers available | 1 | 1 |
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 ["ai21/jamba-large-1.7", "gemma2:2b"]:
response = client.chat.completions.create(
model=model,
messages=[{"role": "user", "content": "Hello!"}]
)
print(model, "->", response.choices[0].message.content)