Tất cả models
O
Auto (Smart Route)
Smart Phổ biếnFutrix API tự động chọn model tốt nhất dựa trên độ phức tạp của request. Câu đơn giản → model rẻ, câu khó → model mạnh. Tiết kiệm 40-60% chi phí.
Tùy model
Context Window
8K
Max Output
Nhanh
Tốc độ
4/5
Chất lượng
Bảng giá
| Loại | Giá gốc ($) | Futrix API (₫) | Bao gồm |
|---|---|---|---|
| Input / 1M tokens | Free | 6.812đ/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 | Free | 20.436đ/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 Smart Routing Cost Optimization Auto Fallback
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="auto",
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": "auto", "messages": [{"role": "user", "content": "Hello!"}]}'