Izakhono
Oko imodeli nganye ikwaziyo ukukwenza nge-API, imodeli ngemodeli: ii-tool, i-image input, ukuqiqa, i-JSON output, i-prompt caching, ukufuna kwiwebhu kunye ne-streaming.
Yonke imodeli ifikelelwa nge-endpoint ezintathu ezifanayo ngesitshixo esifanayo. Iitheyibhile ezimbini zibonisa apho iimodeli zahluka khona. Umgca ongqamene ubonisa ukuba imodeli iphendula ngaphandle kwaloo sakhono.
Iimodeli zeShannon
| Imodeli | Ii-tool | Imifanekiso | Ukuqiqa | I-Effort | JSON object | JSON schema | I-Caching | Ukufuna | I-Streaming |
|---|---|---|---|---|---|---|---|---|---|
shannon-1.6-lite | Ewe | Ewe | — | — | Ewe | Ewe | — | Ewe | Ewe |
shannon-1.6-pro | Ewe | Ewe | Ewe | — | Ewe | Ewe | — | Ewe | Ewe |
shannon-2-lite | Ewe | — | Ewe | — | Ewe | Ewe | — | Ewe | Ewe |
shannon-2-pro | Ewe | — | Ewe | — | Ewe | Ewe | — | Ewe | Ewe |
shannon-3 | Ewe | Ewe | Ewe | — | Ewe | Ewe | — | Ewe | Ewe |
shannon-3-pro | Ewe | Ewe | Ewe | — | Ewe | Ewe | — | Ewe | Ewe |
shannon-3.1 | Ewe | Ewe | Ewe | — | Ewe | Ewe | — | Ewe | Ewe |
shannon-3.1-pro | Ewe | Ewe | Ewe | — | Ewe | Ewe | — | Ewe | Ewe |
shannon-3.5 | Ewe | — | — | — | Ewe | Ewe | — | — | Ewe |
shannon-coder-1 | Ewe | — | Ewe | — | Ewe | Ewe | — | — | Ewe |
Iimodeli ze-open-weight ezisingathiweyo
I-id yemodeli esingathiweyo yigama layo nohlobo lwayo oludityaniswe yihayifeni, umzekelo i-DeepSeek-V4-Pro-0813-3BIT-REAP.
| Imodeli | Ii-tool | Imifanekiso | Ukuqiqa | I-Effort | JSON object | JSON schema | I-Caching | Ukufuna | I-Streaming |
|---|---|---|---|---|---|---|---|---|---|
DeepSeek-V4-Pro-0813 3BIT-REAP | Ewe | — | Ewe | Ewe | Ewe | Ewe | Ewe | — | Ewe |
GLM-5.2 3BIT-REAP | Ewe | — | Ewe | Ewe | Ewe | Ewe | Ewe | — | Ewe |
Kimi-K3 3BIT-REAP | Ewe | Ewe | Ewe | Ewe | Ewe | Ewe | Ewe | — | Ewe |
Nemotron3Ultra 3BIT-REAP | Ewe | — | Ewe | Ewe | Ewe | Ewe | Ewe | — | Ewe |
MiniMax-M3 3BIT-REAP | Ewe | Ewe | Ewe | Ewe | Ewe | Ewe | Ewe | — | Ewe |
DeepSeek-V4-Flash-0731 W4A16-AUTOROUND-REAP | Ewe | — | Ewe | Ewe | Ewe | Ewe | Ewe | — | Ewe |
Kimi-K2.6 W4A16-AUTOROUND-REAP | Ewe | Ewe | Ewe | Ewe | Ewe | Ewe | Ewe | — | Ewe |
Laguna-S-2.1 W4A16-AUTOROUND-REAP | Ewe | — | Ewe | Ewe | — | — | Ewe | — | Ewe |
inkling W4A16-AUTOROUND-REAP | Ewe | Ewe | Ewe | Ewe | Ewe | — | Ewe | — | Ewe |
MiMo-V2.5-Pro W8A16 | Ewe | — | Ewe | Ewe | Ewe | Ewe | Ewe | — | Ewe |
MiMo-V2.5 W8A16 | Ewe | Ewe | Ewe | Ewe | Ewe | Ewe | Ewe | — | Ewe |
Hy3 W8A16 | Ewe | — | Ewe | Ewe | Ewe | Ewe | Ewe | — | Ewe |
Oko ikholamu nganye ikuthethayo
- Ii-tool. Uchaza imisebenzi kwi-
tools, imodeli iphendula ngobizo oluyifunayo, kwaye ikhowudi yakho iyaluqhuba. Yonke imodeli yamkela ii-tool. I-tool_choiceenyanzelweyo isetyenziswa ziimodeli ze-open-weight ezisingathiweyo. Umsebenzi Ukufowuna - I-image input. Imodeli ifunda imifanekiso ethunyelwe ngaphakathi kumyalezo womsebenzisi, njenge-data URL okanye njengedilesi. I-
shannon-2-litene-shannon-2-prozifunda imifanekiso kwizicelo ezithumela kwakhona i-toolsokanye i-response_format. Intsapho yeShannon 3 ifunda noxwebhu. Imifanekiso neefayile - Ukuqiqa. Impendulo inokuthwala umbhalo wokuqiqa wemodeli ecaleni kwempendulo, kwintsimi yayo. I-effort yokuqiqa
- I-effort yokuqiqa. Intsimi yesicelo imisela ukuba imodeli iqiqa nzulu kangakanani:
off,low,mediumokanyehigh. Iimodeli zeShannon zizimisela ubunzulu bazo. I-effort yokuqiqa - JSON object. Nge-
response_format: {"type": "json_object"}impendulo yi-JSON engenasimo emiselweyo. Kwi-/v1/chat/completionsnakwi-/v1/responses. Iziphumo ezicwangcisiweyo - JSON schema. Nge-
response_formatyohlobo lwe-json_schemaimpendulo ilandela i-schema oyithumelayo. Kwi-/v1/chat/completionsnakwi-/v1/responses. Iziphumo ezicwangcisiweyo - I-Prompt caching. I-prompt eqala njengesandula ukuba khona kwimodeli enye ifundwa kwi-cache, kwaye inxalenye egcinwe ihlawulwa kwi-25% yexabiso le-input. Ayifuni ntsimi yesicelo. I-Prompt caching
- Ukufuna kwiwebhu. Nge-
web_search: truei-API ifuna kwiwebhu kwaye inika imodeli iziphumo phambi kokuphendula. Kwi-/v1/chat/completionsnakwi-/v1/messages. Yintsimi yesicelo kwaye ayinayo i-flag kwi-GET /v1/models. Uphendlo lwewebhu olwakhelwe ngaphakathi - I-Streaming. Nge-
stream: trueimpendulo ifika njengemisitho ethunyelwe yi-server ngoxa imodeli ibhala. Yonke imodeli i-stream kuzo zontathu ii-endpoint. Umsinga
Ezo nkcukacha ziyafana ukusuka kwi-GET /v1/models
GET https://api.shannon-ai.com/v1/models
I-GET /v1/models idwelisa yonke imodeli kunye ne-capabilities object, ukuze inkqubo ifunde ezi nkcukacha endaweni yeli phepha. I-endpoint ayifuni sitshixo.
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 I-id ne-capabilities yeempawu ezimbini ze-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
}
}
] | Ikholamu | I-flag kwi-capabilities |
|---|---|
| Ii-tool | tools |
| I-image input | vision |
| Ukuqiqa | reasoning |
| I-effort yokuqiqa | reasoning_effort |
| JSON object | response_format |
| JSON schema | json_schema |
| I-Prompt caching | prompt_caching |
| Ukufuna kwiwebhu | Ayiyiyo i-flag: intsimi yesicelo i-web_search. |
| I-Streaming | streaming |
- I-
response_formatne-prompt_cachingzii-flag zeempawu ze-open-weight ezisingathiweyo. Impawu yeShannon ixela i-JSON output nge-json_schemakuphela, emele zombini iimo ze-JSON. - I-
visionyi-truekwi-shannon-2-litene-shannon-2-pro: zifunda imifanekiso kwizicelo ezithumela kwakhona i-toolsokanye i-response_format.
Ngaphandle komgca wemodeli
Imodeli ye-open-weight esingathiweyo iyala umfanekiso okanye imo ye-JSON engaphandle komgca wayo. Ukwala kuza phambi kokuba kuthathwe nantoni na kwibhalansi yakho:
| Isimo | Uhlobo | Umyalezo | Xa |
|---|---|---|---|
400 | invalid_request_error | <id> does not accept image input | Umfanekiso uthunyelwe kwimodeli ye-open-weight esingathiweyo engenayo i-image input. |
400 | invalid_request_error | <id> does not accept response_format | I-JSON output iceliwe kwimodeli ye-open-weight esingathiweyo engenayo nayiphi na imo ye-JSON. |
400 | invalid_request_error | <id> does not accept response_format json_schema; use json_object | I-schema ithunyelwe kwimodeli ye-open-weight esingathiweyo enemo ye-JSON object kuphela. |
Imodeli yeShannon iphendula isicelo esinjalo ngesimo 200: isakhono esingaphandle komgca wayo asithathi nxaxheba kwimpendulo. Ukuphatha imposiso