Mphamvu
Zomwe model iliyonse imatha kudzera mu API, model ndi model: ma tool, input ya zithunzi, reasoning, JSON output, prompt caching, web search ndi streaming.
Model iliyonse imafikiridwa kudzera mu ma endpoint atatu omwewo ndi kiyi yomweyo. Ma table awiri amaonetsa komwe ma model amasiyana. Dash imatanthauza kuti model imayankha popanda luso limenelo.
Ma model a Shannon
| Model | Ma tool | Zithunzi | Reasoning | Effort | JSON object | JSON schema | Caching | Kusaka | Streaming |
|---|---|---|---|---|---|---|---|---|---|
shannon-1.6-lite | Inde | Inde | — | — | Inde | Inde | — | Inde | Inde |
shannon-1.6-pro | Inde | Inde | Inde | — | Inde | Inde | — | Inde | Inde |
shannon-2-lite | Inde | — | Inde | — | Inde | Inde | — | Inde | Inde |
shannon-2-pro | Inde | — | Inde | — | Inde | Inde | — | Inde | Inde |
shannon-3 | Inde | Inde | Inde | — | Inde | Inde | — | Inde | Inde |
shannon-3-pro | Inde | Inde | Inde | — | Inde | Inde | — | Inde | Inde |
shannon-3.1 | Inde | Inde | Inde | — | Inde | Inde | — | Inde | Inde |
shannon-3.1-pro | Inde | Inde | Inde | — | Inde | Inde | — | Inde | Inde |
shannon-3.5 | Inde | — | — | — | Inde | Inde | — | — | Inde |
shannon-coder-1 | Inde | — | Inde | — | Inde | Inde | — | — | Inde |
Hosted open-weight model
Id ya hosted model ndi dzina lake ndi variant yake zolumikizidwa ndi hyphen, mwachitsanzo DeepSeek-V4-Pro-0813-3BIT-REAP.
| Model | Ma tool | Zithunzi | Reasoning | Effort | JSON object | JSON schema | Caching | Kusaka | Streaming |
|---|---|---|---|---|---|---|---|---|---|
DeepSeek-V4-Pro-0813 3BIT-REAP | Inde | — | Inde | Inde | Inde | Inde | Inde | — | Inde |
GLM-5.2 3BIT-REAP | Inde | — | Inde | Inde | Inde | Inde | Inde | — | Inde |
Kimi-K3 3BIT-REAP | Inde | Inde | Inde | Inde | Inde | Inde | Inde | — | Inde |
Nemotron3Ultra 3BIT-REAP | Inde | — | Inde | Inde | Inde | Inde | Inde | — | Inde |
MiniMax-M3 3BIT-REAP | Inde | Inde | Inde | Inde | Inde | Inde | Inde | — | Inde |
DeepSeek-V4-Flash-0731 W4A16-AUTOROUND-REAP | Inde | — | Inde | Inde | Inde | Inde | Inde | — | Inde |
Kimi-K2.6 W4A16-AUTOROUND-REAP | Inde | Inde | Inde | Inde | Inde | Inde | Inde | — | Inde |
Laguna-S-2.1 W4A16-AUTOROUND-REAP | Inde | — | Inde | Inde | — | — | Inde | — | Inde |
inkling W4A16-AUTOROUND-REAP | Inde | Inde | Inde | Inde | Inde | — | Inde | — | Inde |
MiMo-V2.5-Pro W8A16 | Inde | — | Inde | Inde | Inde | Inde | Inde | — | Inde |
MiMo-V2.5 W8A16 | Inde | Inde | Inde | Inde | Inde | Inde | Inde | — | Inde |
Hy3 W8A16 | Inde | — | Inde | Inde | Inde | Inde | Inde | — | Inde |
Tanthauzo la column iliyonse
- Ma tool. Mumafotokoza ma function mu
tools, model imayankha ndi ma call omwe ikufuna kuti achitidwe, ndipo code yanu imawayendetsa. Model iliyonse imalandira ma tool.tool_choiceyokakamiza imagwiritsidwa ntchito ndi hosted open-weight model. Kuyitana mafunkseni - Input ya zithunzi. Model imawerenga zithunzi zotumizidwa mkati mwa message ya user, ngati data URL kapena ngati adilesi.
shannon-2-litendishannon-2-prozimawerenga zithunzi m'ma pempho omwe amatumizansotoolskapenaresponse_format. Banja la Shannon 3 limawerenganso zikalata. Zithunzi ndi ma file - Reasoning. Yankho likhoza kukhala ndi text ya reasoning ya model pambali pa yankho, mu field yake. Reasoning effort
- Reasoning effort. Field ya pempho imakhazikitsa kuzama kwa reasoning ya model:
off,low,mediumkapenahigh. Ma model a Shannon amadzikhazikitsira okha kuzama kwake. Reasoning effort - JSON object. Ndi
response_format: {"type": "json_object"}yankho limakhala JSON yopanda mawonekedwe operekedwa. Pa/v1/chat/completionsndi/v1/responses. Zotuluka zokonzedwa - JSON schema. Ndi
response_formatya mtundu wajson_schemayankho limatsatira schema yomwe mumatumiza. Pa/v1/chat/completionsndi/v1/responses. Zotuluka zokonzedwa - Prompt caching. Prompt yoyambira ngati yaposachedwa pa model yomweyo imawerengedwa kuchokera ku cache, ndipo gawo losungidwa limaperekedwa mtengo wa 25% ya mtengo wa input. Siifuna field iliyonse mu pempho. Kusunga prompt
- Web search. Ndi
web_search: trueAPI imasaka pa web ndikupatsa model zotsatira isanayankhe. Pa/v1/chat/completionsndi/v1/messages. Ndi field ya pempho ndipo ilibe flag muGET /v1/models. Kusaka pa web - Streaming. Ndi
stream: trueyankho limafika ngati server-sent events pamene model ikulemba. Model iliyonse imachita stream pa ma endpoint onse atatu. Kutsitsa nthawi yeniyeni
Mfundo zomwezo kuchokera ku GET /v1/models
GET https://api.shannon-ai.com/v1/models
GET /v1/models imalemba model iliyonse ndi object ya capabilities, kotero pulogalamu imatha kuwerenga mfundozi m'malo mwa tsamba ili. Endpoint iyi siifuna kiyi.
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 ndi capabilities za ma entry awiri a 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 mu capabilities |
|---|---|
| Ma tool | tools |
| Input ya zithunzi | vision |
| Reasoning | reasoning |
| Reasoning effort | reasoning_effort |
| JSON object | response_format |
| JSON schema | json_schema |
| Prompt caching | prompt_caching |
| Web search | Si flag: field ya pempho web_search. |
| Streaming | streaming |
response_formatndiprompt_cachingndi ma flag a ma entry a hosted open-weight. Entry ya Shannon imanena JSON output ndijson_schemayokha, yomwe imaimira ma JSON mode onse awiri.visionnditruepashannon-2-litendishannon-2-pro: zimawerenga zithunzi m'ma pempho omwe amatumizansotoolskapenaresponse_format.
Kunja kwa mzere wa model
Hosted open-weight model imakana chithunzi kapena JSON mode yomwe ili kunja kwa mzere wake. Kukanako kumachitika asanachotse chilichonse pa balance yanu:
| Status | Mtundu | Message | Liti |
|---|---|---|---|
400 | invalid_request_error | <id> does not accept image input | Chithunzi chinatumizidwa kwa hosted open-weight model yopanda input ya zithunzi. |
400 | invalid_request_error | <id> does not accept response_format | JSON output idapemphedwa kwa hosted open-weight model yomwe ilibe JSON mode iliyonse. |
400 | invalid_request_error | <id> does not accept response_format json_schema; use json_object | Schema inatumizidwa kwa hosted open-weight model yomwe ili ndi JSON object mode yokha. |
Model ya Shannon imayankha pempho loterolo ndi status 200: luso lomwe lili kunja kwa mzere wake silikhala ndi gawo pa yankho. Zolakwika