Tất cả models
G
Gemini 2.0 Flash
RẻModel nhanh từ Google với context 1M tokens. Hỗ trợ vision, grounding, code execution.
1M
Context Window
8K
Max Output
Nhanh
Tốc độ
3/5
Chất lượng
Bảng giá
| Loại | Giá gốc ($) | Futrix API (₫) | Bao gồm |
|---|---|---|---|
| Input / 1M tokens | $0.10 | 3.406đ/1M | Smart routing tự động Cache tiết kiệm 35-60% 1 API key cho 99+ models Thanh toán VND/USD/Crypto |
| Output / 1M tokens | $0.40 | 13.624đ/1M |
* Giá Futrix API cao hơn giá gốc ~30% nhưng bao gồm smart routing, semantic cache (tiết kiệm thực tế 35-60%), fallback tự động, và thanh toán VND.
Tính năng hỗ trợ
Chat Vision Streaming Grounding Code Execution
Quick Start
Python
from openai import OpenAI
client = OpenAI(
base_url="https://api.futrixapi.com/v1",
api_key="sk-ftx-your-key"
)
response = client.chat.completions.create(
model="gemini-2.0-flash",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)cURL
curl -X POST https://api.futrixapi.com/v1/chat/completions \
-H "Authorization: Bearer sk-ftx-your-key" \
-H "Content-Type: application/json" \
-d '{"model": "gemini-2.0-flash", "messages": [{"role": "user", "content": "Hello!"}]}'