Yapay Zeka Modelleri
Mevcut yapay zeka modellerine ve yeteneklerine göz atın. Şu anda yalnızca Google Gemini modelleri aktif olup kullanıcıların kullanımına açıktır.
Uç noktalar
| Method | Path | Description | Auth | Rate Limit |
|---|---|---|---|---|
| GET | /ai/models | List available models | JWT + Entitlement | 60/min |
| GET | /ai/models/:id | Get model details | JWT + Entitlement | 60/min |
Aktif Modeller
Şu anda 8 Gemini modeli mevcuttur:
| Model | Input Cost/1K Tokens | Output Cost/1K Tokens |
|---|---|---|
| gemini-2.5-pro | $0.00125 | $0.01000 |
| gemini-2.5-flash | $0.00030 | $0.00250 |
| gemini-2.5-flash-lite | $0.00010 | $0.00040 |
| gemini-2.0-flash | $0.00010 | $0.00040 |
| gemini-3-pro-preview | $0.00200 | $0.01200 |
| gemini-3-flash-preview | $0.00050 | $0.00300 |
| gemini-3.1-pro-preview | $0.00200 | $0.01200 |
| gemini-3.1-flash-lite-preview | $0.00025 | $0.00150 |
Modeller arasında geçiş yapmak için Bitter+ veya daha üst düzey bir abonelik gerekir.
GET /ai/models
Mevcut tüm AI modellerini listeleyin.
Kimlik Doğrulama: JWT Taşıyıcı jetonu + aktif AI yetkisi gereklidir. Hız sınırı: 60/dak
Rica etmek
Sorgu Parametreleri
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | No | Filter by model name |
provider | string | No | Filter by provider (e.g. google) |
isActive | boolean | No | Filter by active status |
minCostPer1kTokens | number | No | Minimum cost filter |
maxCostPer1kTokens | number | No | Maximum cost filter |
limit | number | No | Items per page |
offset | number | No | Pagination offset |
Cevap
Yanıt Örneği
json
{
"data": [
{
"modelKey": "gemini-2.5-pro",
"name": "Gemini 2.5 Pro",
"provider": "google",
"capabilities": ["chat", "analysis", "reasoning", "vision"],
"costPer1kTokens": 0.00125,
"active": true
},
{
"modelKey": "gemini-2.5-flash",
"name": "Gemini 2.5 Flash",
"provider": "google",
"capabilities": ["chat", "analysis", "reasoning"],
"costPer1kTokens": 0.00030,
"active": true
},
{
"modelKey": "gemini-2.5-flash-lite",
"name": "Gemini 2.5 Flash Lite",
"provider": "google",
"capabilities": ["chat", "summarization"],
"costPer1kTokens": 0.00010,
"active": true
},
{
"modelKey": "gemini-2.0-flash",
"name": "Gemini 2.0 Flash",
"provider": "google",
"capabilities": ["chat", "summarization"],
"costPer1kTokens": 0.00010,
"active": true
},
{
"modelKey": "gemini-3-pro-preview",
"name": "Gemini 3 Pro (Preview)",
"provider": "google",
"capabilities": ["chat", "analysis", "reasoning", "vision"],
"costPer1kTokens": 0.00200,
"active": true
},
{
"modelKey": "gemini-3-flash-preview",
"name": "Gemini 3 Flash (Preview)",
"provider": "google",
"capabilities": ["chat", "analysis", "reasoning"],
"costPer1kTokens": 0.00050,
"active": true
},
{
"modelKey": "gemini-3.1-pro-preview",
"name": "Gemini 3.1 Pro (Preview)",
"provider": "google",
"capabilities": ["chat", "analysis", "reasoning", "vision"],
"costPer1kTokens": 0.00200,
"active": true
},
{
"modelKey": "gemini-3.1-flash-lite-preview",
"name": "Gemini 3.1 Flash Lite (Preview)",
"provider": "google",
"capabilities": ["chat", "summarization"],
"costPer1kTokens": 0.00025,
"active": true
}
],
"meta": {
"total": 8,
"limit": 20,
"offset": 0
}
}Yanıt Alanları
| Field | Type | Description |
|---|---|---|
modelKey | string | Machine-readable model key |
name | string | Display name |
provider | string | Provider name |
capabilities | string[] | Supported capabilities |
costPer1kTokens | number | Cost in USD per 1,000 input tokens |
active | boolean | Whether the model is currently available |
Kod Örnekleri
bash
curl https://api.chainabit.com/api/v1/ai/models \
-H "Authorization: Bearer $TOKEN"javascript
const res = await fetch(`${BASE_URL}/ai/models`, {
headers: { Authorization: `Bearer ${TOKEN}` },
});
const { data } = await res.json();python
import requests
res = requests.get(
f"{BASE_URL}/ai/models",
headers={"Authorization": f"Bearer {TOKEN}"},
)
data = res.json()["data"]GET /ai/models/:id
Fiyatlandırma da dahil olmak üzere belirli bir model hakkında ayrıntılı bilgi edinin.
Kimlik Doğrulama: JWT Taşıyıcı jetonu + aktif AI yetkisi gereklidir. Hız sınırı: 60/dak
Rica etmek
Yol parametreleri: id — bir GET /ai/models yanıtının data[].idsinden. Sorgu parametresi yok.
Cevap
Yanıt Örneği
json
{
"data": {
"id": "cm8model01",
"modelKey": "gemini-2.5-pro",
"name": "Gemini 2.5 Pro",
"provider": "google",
"capabilities": ["chat", "analysis", "reasoning", "vision"],
"maxTokens": 8192,
"contextWindow": 1048576,
"costPerInputToken": 0.00000125,
"costPerOutputToken": 0.00001000,
"active": true,
"createdAt": "2026-03-01T00:00:00.000Z"
}
}Yanıt Alanları
| Field | Type | Description |
|---|---|---|
id | string | Model ID |
modelKey | string | Machine-readable model key |
name | string | Model name |
provider | string | Underlying provider |
capabilities | string[] | Supported capabilities |
maxTokens | number | Maximum output tokens |
contextWindow | number | Context window size in tokens |
costPerInputToken | number | Cost per input token (USD) |
costPerOutputToken | number | Cost per output token (USD) |
active | boolean | Whether the model is currently available |
createdAt | string | ISO 8601 |
Kod Örnekleri
bash
curl https://api.chainabit.com/api/v1/ai/models/<model-id> \
-H "Authorization: Bearer $TOKEN"javascript
const res = await fetch(`${BASE_URL}/ai/models/${modelId}`, {
headers: { Authorization: `Bearer ${TOKEN}` },
});
const { data } = await res.json();python
import requests
res = requests.get(
f"{BASE_URL}/ai/models/{model_id}",
headers={"Authorization": f"Bearer {TOKEN}"},
)
data = res.json()["data"]Notlar
- Varsayılan olarak yalnızca etkin modeller döndürülür. Etkin olmayan modelleri dahil etmek için "isActive=false" ifadesini iletin (hiçbiri şu anda kullanıcılara sunulmamaktadır).
- Farklı yetenek katmanları arasında model geçişi Bitter+ veya daha yüksek bir abonelik gerektirir.
- Yapay zeka operasyonları cüzdanınızdaki kredileri tüketir. Kredi maliyetleri, modelin platform marjı uygulanmış USD fiyatlandırmasından elde edilir.
- Önizleme modelleri (
*-preview) bildirimde bulunulmadan güncellenebilir veya değiştirilebilir.