Awọn agbara
Ohun tí model kọ̀ọ̀kan lè ṣe nípasẹ̀ API, model kan lẹ́yìn òmíràn: tool, àwòrán gẹ́gẹ́ bí input, ìrònú, JSON output, prompt caching, ìwá orí wẹ́ẹ̀bù àti streaming.
Gbogbo model ni a ń dé nípasẹ̀ endpoint mẹ́ta kan náà pẹ̀lú key kan náà. Àwọn tábìlì méjèèjì fi ibi tí àwọn model ti yàtọ̀ sí ara wọn hàn. Ìlà kúkúrú (dash) túmọ̀ sí pé model náà ń dáhùn láìní agbára yẹn.
Àwọn model Shannon
| Model | Àwọn tool | Àwòrán | Ìrònú | Ipa ìrònú | JSON object | JSON schema | Caching | Ìwá | Streaming |
|---|---|---|---|---|---|---|---|---|---|
shannon-1.6-lite | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni |
shannon-1.6-pro | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni |
shannon-2-lite | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni |
shannon-2-pro | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni |
shannon-3 | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni |
shannon-3-pro | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni |
shannon-3.1 | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni |
shannon-3.1-pro | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni |
shannon-3.5 | Bẹ́ẹ̀ni | — | — | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | — | Bẹ́ẹ̀ni |
shannon-coder-1 | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | — | Bẹ́ẹ̀ni |
Àwọn model open-weight tí a gbàlejò
Id model tí a gbàlejò ni orúkọ rẹ̀ àti variant rẹ̀ tí a fi hyphen so pọ̀, fún àpẹẹrẹ DeepSeek-V4-Pro-0813-3BIT-REAP.
| Model | Àwọn tool | Àwòrán | Ìrònú | Ipa ìrònú | JSON object | JSON schema | Caching | Ìwá | Streaming |
|---|---|---|---|---|---|---|---|---|---|
DeepSeek-V4-Pro-0813 3BIT-REAP | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni |
GLM-5.2 3BIT-REAP | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni |
Kimi-K3 3BIT-REAP | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni |
Nemotron3Ultra 3BIT-REAP | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni |
MiniMax-M3 3BIT-REAP | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni |
DeepSeek-V4-Flash-0731 W4A16-AUTOROUND-REAP | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni |
Kimi-K2.6 W4A16-AUTOROUND-REAP | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni |
Laguna-S-2.1 W4A16-AUTOROUND-REAP | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | — | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni |
inkling W4A16-AUTOROUND-REAP | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni |
MiMo-V2.5-Pro W8A16 | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni |
MiMo-V2.5 W8A16 | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni |
Hy3 W8A16 | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | Bẹ́ẹ̀ni | — | Bẹ́ẹ̀ni |
Ohun tí column kọ̀ọ̀kan túmọ̀ sí
- Àwọn tool. O ṣàpèjúwe àwọn function nínú
tools, model náà dáhùn pẹ̀lú àwọn ìpè tó fẹ́ kí a ṣe, code rẹ sì ń ṣe wọ́n. Gbogbo model ń gba tool. Àwọn model open-weight tí a gbàlejò ni wọ́n ń lotool_choicetí a fipá mú. Ipe iṣẹ - Input àwòrán. Model náà ń ka àwọn àwòrán tí a fi ránṣẹ́ nínú ìfiránṣẹ́ user, bóyá gẹ́gẹ́ bí data URL tàbí gẹ́gẹ́ bí àdírẹ́sì.
shannon-2-liteàtishannon-2-proń ka àwòrán nínú àwọn ìbéèrè tó tún fitoolstàbíresponse_formatránṣẹ́. Ìdílé Shannon 3 tún ń ka àwọn ìwé àkọsílẹ̀. Àwọn àwòrán àti fáìlì - Ìrònú. Èsì lè gbé ọ̀rọ̀ ìrònú model náà wá pẹ̀lú ìdáhùn, nínú field tirẹ̀. Ipa ìrònú
- Ipa ìrònú. Field kan nínú ìbéèrè ni ó ń pinnu bí model ṣe jinlẹ̀ tó nínú ìrònú:
off,low,mediumtàbíhigh. Àwọn model Shannon ni wọ́n ń yan jíjìnlẹ̀ tiwọn. Ipa ìrònú - JSON object. Pẹ̀lú
response_format: {"type": "json_object"}, ìdáhùn jẹ́ JSON láìní ìrísí tí a pinnu ṣáájú. Lórí/v1/chat/completionsàti/v1/responses. Awọn igbejade ti a ṣeto - JSON schema. Pẹ̀lú
response_formatti irújson_schema, ìdáhùn tẹ̀lé schema tí o fi ránṣẹ́. Lórí/v1/chat/completionsàti/v1/responses. Awọn igbejade ti a ṣeto - Caching prompt. Prompt tó bẹ̀rẹ̀ bí èyí tí a fi ránṣẹ́ láìpẹ́ lórí model kan náà ni a ń kà láti inú cache, a sì ń gba owó apá tí a fi pamọ́ ní 25% iye owó input. Kò nílò field kankan nínú ìbéèrè. Caching prompt
- Wíwá lórí web. Pẹ̀lú
web_search: true, API náà ń wá nǹkan lórí wẹ́ẹ̀bù, ó sì fún model ní àbájáde kí ó tó dáhùn. Lórí/v1/chat/completionsàti/v1/messages. Field inú ìbéèrè ni, kò sì ní àmì kankan nínúGET /v1/models. Iwadi Wẹẹbu ti a ṣe sinu - Streaming. Pẹ̀lú
stream: true, èsì máa ń dé gẹ́gẹ́ bí server-sent events nígbà tí model ń kọ̀wé. Gbogbo model ń ṣe streaming lórí gbogbo endpoint mẹ́tẹ̀ẹ̀ta. Sisanwọle
Àwọn òtítọ́ kan náà láti GET /v1/models
GET https://api.shannon-ai.com/v1/models
GET /v1/models máa ń to gbogbo model pẹ̀lú object capabilities, nítorí náà program lè ka àwọn òtítọ́ wọ̀nyí dípò ojú-ìwé yìí. Endpoint náà kò nílò key.
from openai import OpenAI
client = OpenAI(api_key="YOUR_API_KEY", base_url="https://api.shannon-ai.com/v1")
for model in client.models.list():
print(model.id, getattr(model, "capabilities", None)) import OpenAI from "openai";
const client = new OpenAI({ apiKey: "YOUR_API_KEY", baseURL: "https://api.shannon-ai.com/v1" });
for await (const model of client.models.list()) {
console.log(model.id, model.capabilities);
} curl https://api.shannon-ai.com/v1/models id àti capabilities ti entry méjì inú data:
[
{
"id": "shannon-3",
"capabilities": {
"tools": true,
"vision": true,
"reasoning": true,
"reasoning_effort": false,
"streaming": true,
"json_schema": true
}
},
{
"id": "Kimi-K3-3BIT-REAP",
"capabilities": {
"tools": true,
"vision": true,
"reasoning": true,
"reasoning_effort": true,
"streaming": true,
"response_format": true,
"json_schema": true,
"prompt_caching": true
}
}
] | Column | Flag nínú capabilities |
|---|---|
| Àwọn tool | tools |
| Input àwòrán | vision |
| Ìrònú | reasoning |
| Ipa ìrònú | reasoning_effort |
| JSON object | response_format |
| JSON schema | json_schema |
| Caching prompt | prompt_caching |
| Wíwá lórí web | Kì í ṣe flag: field ìbéèrè web_search. |
| Streaming | streaming |
response_formatàtiprompt_cachingjẹ́ flag ti àwọn entry open-weight tí a gbàlejò. Entry Shannon máa ń jábọ̀ output JSON pẹ̀lújson_schemanìkan, èyí tó dúró fún JSON mode méjèèjì.visionjẹ́truefúnshannon-2-liteàtishannon-2-pro: wọ́n máa ń ka àwọn àwòrán nínú àwọn ìbéèrè tó tún fitoolstàbíresponse_formatránṣẹ́.
Lóde ìlà model kan
Model open-weight tí a gbàlejò máa ń kọ àwòrán tàbí JSON mode tó wà lóde ìlà rẹ̀. Kíkọ̀ náà máa ń wáyé kí a tó yọ ohunkóhun nínú balance rẹ:
| Ipò | Irú | Ìfiránṣẹ́ | Ìgbà |
|---|---|---|---|
400 | invalid_request_error | <id> does not accept image input | A fi àwòrán ránṣẹ́ sí model open-weight tí a gbàlejò tí kò ní input àwòrán. |
400 | invalid_request_error | <id> does not accept response_format | A béèrè output JSON lọ́wọ́ model open-weight tí a gbàlejò tí kò ní èyíkéyìí nínú JSON mode méjèèjì. |
400 | invalid_request_error | <id> does not accept response_format json_schema; use json_object | A fi schema ránṣẹ́ sí model open-weight tí a gbàlejò tó ní JSON object mode nìkan. |
Model Shannon máa ń dáhùn irú ìbéèrè bẹ́ẹ̀ pẹ̀lú status 200: agbára tó wà lóde ìlà rẹ̀ kò kópa nínú ìdáhùn náà. Mimu Aṣiṣe