Ìwé ìtọ́sọ́nà API
Ètò Ìpìlẹ̀ ti Òye Láìsí Ìhámọ́
AI API láìsí ìhámọ́: àwọn model Shannon tí kì í kọ ìbéèrè, tí kò sì ní filter, tí à ń pèsè láti orí àwọn GPU tiwa. Ó bá OpenAI àti Anthropic mu — lo SDK tí o ti ń lò tẹ́lẹ̀, key kan, streaming, pípe tool àti ìrònú lórí gbogbo endpoint.
- 22 àwọn model láìsí ìhámọ́
- 256K context window
- láti $0.50/1M
- 3 àwọn API tó bá a mu
- 3 nẹ́tíwọ́ọ̀kì: TLS, Tor, I2P
Bẹ̀rẹ̀ ìgbékalẹ̀ Gbiyanju aaye ibi-iṣere
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.shannon-ai.com/v1"
)
response = client.chat.completions.create(
model="shannon-3",
messages=[
{"role": "user", "content": "Hello, Shannon!"}
],
max_tokens=1024
)
print(response.choices[0].message.content) import OpenAI from 'openai';
const client = new OpenAI({
apiKey: 'YOUR_API_KEY',
baseURL: 'https://api.shannon-ai.com/v1'
});
const response = await client.chat.completions.create({
model: 'shannon-3',
messages: [
{ role: 'user', content: 'Hello, Shannon!' }
],
max_tokens: 1024
});
console.log(response.choices[0].message.content); package main
import (
"context"
"fmt"
openai "github.com/sashabaranov/go-openai"
)
func main() {
config := openai.DefaultConfig("YOUR_API_KEY")
config.BaseURL = "https://api.shannon-ai.com/v1"
client := openai.NewClientWithConfig(config)
resp, err := client.CreateChatCompletion(
context.Background(),
openai.ChatCompletionRequest{
Model: "shannon-3",
Messages: []openai.ChatCompletionMessage{
{Role: "user", Content: "Hello, Shannon!"},
},
MaxTokens: 1024,
},
)
if err != nil {
panic(err)
}
fmt.Println(resp.Choices[0].Message.Content)
} curl -X POST "https://api.shannon-ai.com/v1/chat/completions" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "shannon-3",
"messages": [
{"role": "user", "content": "Hello, Shannon!"}
],
"max_tokens": 1024
}' Àwọn model àti iye owó FÚN TOKEN 1M
Àwọn ààlà, àwọn id àti bí a ṣe ń ṣe iye owóÀwọn model open-weight tí a gbàlejò Context token 262,144 lórí gbogbo id; a ń gba owó input àti output lọ́tọ̀ọ̀tọ̀; id kọ̀ọ̀kan ń gba ohun tí model tó ń fara wé ń gbà
- Láìsí ìhámọ́
DeepSeek-V4-Pro-0813
3BIT-REAPDeepSeek · 1.6T MoE · 49B active
Model ńlá onípò aṣíwájú fún ìrònú jíjinlẹ̀ àti output gígùn.
Id modelDeepSeek-V4-Pro-0813-3BIT-REAP- Context
- 256K
- Input
- Input text
- Structured output
- JSON schema
- Àwọn tool
- Ìrònú
- Ipa ìrònú
- Caching prompt
- Streaming
- In / cached / out fun 1M
- $1.95 / $0.488 / $3.90
- Láìsí ìhámọ́
GLM-5.2
3BIT-REAPZ.ai · 744B MoE · 40B active
Model alágbára fún onírúurú iṣẹ́, pẹ̀lú output tó kún rẹ́rẹ́ ní ọ̀pọ̀ èdè.
Id modelGLM-5.2-3BIT-REAP- Context
- 256K
- Input
- Input text
- Structured output
- JSON schema
- Àwọn tool
- Ìrònú
- Ipa ìrònú
- Caching prompt
- Streaming
- In / cached / out fun 1M
- $0.73 / $0.183 / $2.34
- Láìsí ìhámọ́
Kimi-K3
3BIT-REAPMoonshot AI · 2.8T MoE · 104B active
Model onípele gíga tí a ṣètò fún àwọn ìdáhùn tó kún, tó sì ní ẹ̀kúnrẹ́rẹ́ àlàyé.
Id modelKimi-K3-3BIT-REAP- Context
- 256K
- Input
- Input text + àwòrán
- Structured output
- JSON schema
- Àwọn tool
- Ìrònú
- Ipa ìrònú
- Caching prompt
- Streaming
- In / cached / out fun 1M
- $3.83 / $0.958 / $19.12
- Láìsí ìhámọ́
Nemotron3Ultra
3BIT-REAPNVIDIA · 550B hybrid Mamba-Attention MoE · 55B active
Model ńlá tó ń ṣiṣẹ́ dáadáa pẹ̀lú ìrònú tó lágbára fún dọ́là kọ̀ọ̀kan.
Id modelNemotron3Ultra-3BIT-REAP- Context
- 256K
- Input
- Input text
- Structured output
- JSON schema
- Àwọn tool
- Ìrònú
- Ipa ìrònú
- Caching prompt
- Streaming
- In / cached / out fun 1M
- $0.75 / $0.188 / $3.30
- Láìsí ìhámọ́
MiniMax-M3
3BIT-REAPMiniMax · 428B MoE · 23B active · sparse attention
Model tó yára, olówó kékeré, fún iṣẹ́ tó pọ̀ gan-an.
Id modelMiniMax-M3-3BIT-REAP- Context
- 256K
- Input
- Input text + àwòrán
- Structured output
- JSON schema
- Àwọn tool
- Ìrònú
- Ipa ìrònú
- Caching prompt
- Streaming
- In / cached / out fun 1M
- $0.50 / $0.125 / $2.00
- Láìsí ìhámọ́
DeepSeek-V4-Flash-0731
W4A16-AUTOROUND-REAPDeepSeek · 284B MoE · 13B active
Model DeepSeek tó yára, tó mú ìyára àti dídára dọ́gba.
Id modelDeepSeek-V4-Flash-0731-W4A16-AUTOROUND-REAP- Context
- 256K
- Input
- Input text
- Structured output
- JSON schema
- Àwọn tool
- Ìrònú
- Ipa ìrònú
- Caching prompt
- Streaming
- In / cached / out fun 1M
- $0.50 / $0.125 / $2.00
- Láìsí ìhámọ́
Kimi-K2.6
W4A16-AUTOROUND-REAPMoonshot AI · 1T MoE · 32B active
Model tó kúnjú òṣùwọ̀n fún ìrònú àti kíkọ àkọ́kọ́kọ ojoojúmọ́.
Id modelKimi-K2.6-W4A16-AUTOROUND-REAP- Context
- 256K
- Input
- Input text + àwòrán
- Structured output
- JSON schema
- Àwọn tool
- Ìrònú
- Ipa ìrònú
- Caching prompt
- Streaming
- In / cached / out fun 1M
- $0.78 / $0.195 / $3.67
- Láìsí ìhámọ́
Laguna-S-2.1
W4A16-AUTOROUND-REAPPoolside · 118B MoE · 8B active
Model olówó kékeré gan-an fún àwọn iṣẹ́ tó fúyẹ́.
Id modelLaguna-S-2.1-W4A16-AUTOROUND-REAP- Context
- 256K
- Input
- Input text
- Structured output
- Kò sí structured output
- Àwọn tool
- Ìrònú
- Ipa ìrònú
- Caching prompt
- Streaming
- In / cached / out fun 1M
- $0.50 / $0.125 / $2.00
- Láìsí ìhámọ́
inkling
W4A16-AUTOROUND-REAPThinking Machines · 975B MoE · 41B active
Model oníṣẹ̀dá pẹ̀lú ọ̀nà ìkọ̀wé tó dá yàtọ̀.
Id modelinkling-W4A16-AUTOROUND-REAP- Context
- 256K
- Input
- Input text + àwòrán
- Structured output
- JSON object
- Àwọn tool
- Ìrònú
- Ipa ìrònú
- Caching prompt
- Streaming
- In / cached / out fun 1M
- $1.42 / $0.355 / $6.07
- Láìsí ìhámọ́
MiMo-V2.5-Pro
W8A16Xiaomi · 1.02T MoE · 42B active · 8-bit
Model pro kékeré fún output tó ní ètò, tó sì péye.
Id modelMiMo-V2.5-Pro-W8A16- Context
- 256K
- Input
- Input text
- Structured output
- JSON schema
- Àwọn tool
- Ìrònú
- Ipa ìrònú
- Caching prompt
- Streaming
- In / cached / out fun 1M
- $0.50 / $0.125 / $2.00
- Láìsí ìhámọ́
MiMo-V2.5
W8A16Xiaomi · 8-bit multimodal · W8A16
Model kékeré tó yára fún àwọn iṣẹ́ tó rọrùn ní owó tó kéré jù lọ.
Id modelMiMo-V2.5-W8A16- Context
- 256K
- Input
- Input text + àwòrán
- Structured output
- JSON schema
- Àwọn tool
- Ìrònú
- Ipa ìrònú
- Caching prompt
- Streaming
- In / cached / out fun 1M
- $0.50 / $0.125 / $2.00
- Láìsí ìhámọ́
Hy3
W8A16Tencent · 295B MoE · 21B active · 8-bit
Model olówó pọ́ọ́kú fún àwọn èsì ìjíròrò tó ṣe ṣókí.
Id modelHy3-W8A16- Context
- 256K
- Input
- Input text
- Structured output
- JSON schema
- Àwọn tool
- Ìrònú
- Ipa ìrònú
- Caching prompt
- Streaming
- In / cached / out fun 1M
- $0.50 / $0.125 / $2.00
Àwọn model Shannon iye owó kan ṣoṣo fún input àti output
-
Láìsí ìhámọ́Shannon 1.6 Lite
Yara, awọn idahun ti o munadoko fun awọn iṣẹ ṣiṣe lojoojumọ
Id modelshannon-1.6-lite- Context
- 192K
- Input
- Input text + àwòrán
- Structured output
- JSON schema
- Àwọn tool
- Wíwá lórí web
- Streaming
- Iye owó / token 1M
- $3.90
-
Láìsí ìhámọ́Shannon 1.6 Pro
To ti ni ilọsiwaju idi fun eka isoro
Id modelshannon-1.6-pro- Context
- 192K
- Input
- Input text + àwòrán
- Structured output
- JSON schema
- Àwọn tool
- Ìrònú
- Wíwá lórí web
- Streaming
- Iye owó / token 1M
- $7.80
-
Láìsí ìhámọ́Shannon 2 Lite
Shannon 2 Lite: pipeline ronú-kọ-ṣàyẹ̀wò tó yára, pẹ̀lú ìtọpasẹ̀ ìrònú tó hàn kedere. Fún chat ojoojúmọ́, àwọn àkótán àti ìbéèrè-àti-ìdáhùn.
Id modelshannon-2-lite- Context
- 192K
- Input
- Input text + àwòrán
- Structured output
- JSON schema
- Àwọn tool
- Ìrònú
- Wíwá lórí web
- Streaming
- Iye owó / token 1M
- $3.90
-
Láìsí ìhámọ́Shannon 2 Pro
Shannon 2 Pro: àwọn ìyípo ronú-kọ-ṣàyẹ̀wò tó jinlẹ̀ sí i fún ìtúpalẹ̀, kíkọ ọ̀rọ̀ gígùn àti ìrònú onígbèésẹ̀ púpọ̀.
Id modelshannon-2-pro- Context
- 192K
- Input
- Input text + àwòrán
- Structured output
- JSON schema
- Àwọn tool
- Ìrònú
- Wíwá lórí web
- Streaming
- Iye owó / token 1M
- $5.85
-
Láìsí ìhámọ́Shannon 3
Model Shannon ìran tuntun jù lọ pẹ̀lú ìrònú tó yára ní iye owó kan ṣoṣo tó kéré.
Id modelshannon-3- Context
- 192K
- Input
- Input text + àwòrán
- Structured output
- JSON schema
- Àwọn tool
- Ìrònú
- Wíwá lórí web
- Streaming
- Iye owó / token 1M
- $3.35
-
Láìsí ìhámọ́Shannon 3 Pro
Ìpele Shannon 3 tó ní agbára púpọ̀ sí i fún iṣẹ́ tó díjú, onígbèésẹ̀ púpọ̀.
Id modelshannon-3-pro- Context
- 192K
- Input
- Input text + àwòrán
- Structured output
- JSON schema
- Àwọn tool
- Ìrònú
- Wíwá lórí web
- Streaming
- Iye owó / token 1M
- $3.35
-
Láìsí ìhámọ́Shannon 3.1
Shannon 3 lórí àwọn ẹ̀rọ tiwa, tó ń ṣe streaming ní ìyára kíkún láìsí ìdíwọ́ ìyára kankan.
Id modelshannon-3.1- Context
- 192K
- Input
- Input text + àwòrán
- Structured output
- JSON schema
- Àwọn tool
- Ìrònú
- Wíwá lórí web
- Streaming
- Iye owó / token 1M
- $3.35
-
Láìsí ìhámọ́Shannon 3.1 Pro
Ìrònú jíjinlẹ̀ ní ìyára kíkún, pẹ̀lú ìwádìí kan tó ń lọ lábẹ́lẹ̀ fún àwọn ìbéèrè tó le.
Id modelshannon-3.1-pro- Context
- 192K
- Input
- Input text + àwòrán
- Structured output
- JSON schema
- Àwọn tool
- Ìrònú
- Wíwá lórí web
- Streaming
- Iye owó / token 1M
- $3.35
-
Láìsí ìhámọ́Shannon 3.5
One streaming answer that thinks, searches, draws charts and diagrams and writes files inline.
Id modelshannon-3.5- Context
- 192K
- Input
- Input text + àwòrán
- Structured output
- JSON schema
- Àwọn tool
- Streaming
- Iye owó / token 1M
- $3.35
-
Láìsí ìhámọ́Shannon Coder 1
Ọ̀jáfáfá nínú code àti tool: àtúnṣe agentic, àwọn fáìlì gígùn, àti àwọn tool loop tó le koko.
Id modelshannon-coder-1- Context
- 128K
- Input
- Input text
- Structured output
- JSON schema
- Àwọn tool
- Ìrònú
- Streaming
- Iye owó / token 1M
- $8.00
Wo inú ìwé ìtọ́sọ́nà
- Ibẹrẹ kiakia Ṣẹ̀dá key, darí SDK rẹ sí Shannon, kí o sì fi ìbéèrè àkọ́kọ́ ránṣẹ́.
- Àwọn model àti iye owó Gbogbo id model pẹ̀lú context window rẹ̀, àwọn input rẹ̀ àti iye owó fún token 1M.
- Ijeri Key kan fún gbogbo endpoint: header Bearer tàbí x-api-key.
- Sisanwọle Server-sent events pẹ̀lú àwọn delta ìrònú; usage ń dé nínú chunk tó kẹ́yìn.
- Ipe iṣẹ Ṣàpèjúwe àwọn tool, jẹ́ kí model pè wọ́n, kí o sì fi tool_choice darí rẹ̀.
- Awọn igbejade ti a ṣeto Àwọn ìdáhùn gẹ́gẹ́ bí JSON object tàbí ní ìbámu pẹ̀lú JSON schema rẹ.
- Ipa ìrònú Ka stream ìrònú; ṣètò ipa ìrònú lórí àwọn model open-weight tí a gbàlejò.
- Caching prompt Àwọn model tí a gbàlejò máa ń cache àwọn prefix prompt tó tún ara wọn ṣe fúnra wọn, ní 25% iye owó input.
- Responses API Format OpenAI Responses lórí àwọn model àti key kan náà.
- Anthropic kika Jẹ́ kí Anthropic SDK àti code Messages rẹ wà bó ṣe wà; yí base URL padà.
- Àwọn irinṣẹ́ CLI fún kíkọ code Claude Code àti Codex CLI pẹ̀lú Shannon gẹ́gẹ́ bí model tó ń ṣiṣẹ́ lẹ́yìn wọn.
- Mimu Aṣiṣe Àwọn status code, àwọn irú àṣìṣe àti bí body àṣìṣe ṣe rí.
Ṣetan lati Kọ?
Ìpele ọ̀fẹ́ wà nínú gbogbo account. Títẹ̀ ẹ̀ẹ̀kan ṣoṣo ni o fi máa rí key rẹ.