Models සහ මිල ගණන්
TOKENS 1M කටAPI එකේ සෑම model id එකක්ම, එය පිළිගන්නා දේ සහ එයට වැය වන්නේ කොපමණද: Shannon models 10ක් සහ අපගේ සේවාදායකවල ධාවනය වන open-weight models 35ක්, endpoints තුනේම ලබා ගත හැක. GET /v1/models එම ලැයිස්තුවම JSON ලෙස ආපසු දෙයි.
- වාරණය නැති models
- 45
- සන්දර්භ කවුළුව
- 1M
- සිට
- $0.38 /1M
Heavy Duty ආකෘති
දුෂ්කරම වැඩ සඳහා විශාලතම models: tokens 1M context සහ output tokens 262,144 දක්වා.
GPU සැලසුමක දෛනික ක්රෙඩිට් මගින් ආවරණය නොවේ. ඔබේ ශේෂයෙන් අය කෙරේ; GPU සැලසුම් සාමාජිකයන් 10 / 20 / 50% අඩුවෙන් ගෙවයි. GPU සැලසුම්
| ආකෘතිය | සන්දර්භය | ආදානය | ව්යුහගත ප්රතිදානය | 1M එකකට In / cached / out | තවත් |
|---|---|---|---|---|---|
Kimi-K3.1-Pro Uncensored NVFP4 Kimi-K3.1-Pro-uncensored-NVFP4 | 1M | Text + රූප input | JSON schema | $4.02 / $0.402 / $15.26GPU සැලසුමක් සමඟ: $2.01–$3.62 in · $7.63–$13.73 out | |
GLM-5.3 Uncensored FP8 GLM-5.3-uncensored-FP8 | 953K | Text input | JSON schema | $6.22 / $0.622 / $10.36GPU සැලසුමක් සමඟ: $3.11–$5.60 in · $5.18–$9.32 out | |
DeepSeek-V4.1-Flash-1017 Uncensored FP8 DeepSeek-V4.1-Flash-1017-uncensored-FP8 | 1M | Text + රූප input | JSON schema | $2.08 / $0.208 / $4.15GPU සැලසුමක් සමඟ: $1.04–$1.87 in · $2.08–$3.74 out | |
Kimi-K3 Uncensored NVFP4 Kimi-K3-uncensored-NVFP4 | 1M | Text + රූප input | JSON schema | $5.15 / $0.515 / $20.89GPU සැලසුමක් සමඟ: $2.58–$4.64 in · $10.45–$18.80 out | |
MiMo-V2.6-Pro Uncensored NVFP4 MiMo-V2.6-Pro-uncensored-NVFP4 | 1M | Text + රූප input | JSON schema | $2.26 / $0.226 / $4.99GPU සැලසුමක් සමඟ: $1.13–$2.03 in · $2.50–$4.49 out | |
Qwen3.8-2.4T Uncensored NVFP4 Qwen3.8-2.4T-uncensored-NVFP4 | 1M | Text input | JSON schema | $4.02 / $0.402 / $10.76GPU සැලසුමක් සමඟ: $2.01–$3.62 in · $5.38–$9.68 out | |
LongCat-2.0 Uncensored NVFP4 LongCat-2.0-uncensored-NVFP4 | 1M | Text input | Structured output නැත | $2.61 / $0.261 / $7.33GPU සැලසුමක් සමඟ: $1.31–$2.35 in · $3.67–$6.60 out |
GPU සැලසුමක් සමඟ: ලැයිස්තු මිලෙන් සාමාජික වට්ටම (10%, 20% හෝ 50%) අඩු කළ අගය. දෛනික ක්රෙඩිට් එකෙන් නොව ඔබේ ශේෂයෙන් අය කෙරේ. GPU සැලසුම් බලන්න
අපගේ සේවාදායකවල ධාවනය වන open-weight models
id අනුව tokens 1M දක්වා context; input සහ output වෙන වෙනම බිල් කෙරේ; සෑම id එකක්ම එහි model එක පිළිගන්නා දේ පිළිගනී
| ආකෘතිය | ආදානය | ව්යුහගත ප්රතිදානය | 1M එකකට In / cached / out | තවත් |
|---|---|---|---|---|
DeepSeek-V4-Pro-0813 Uncensored 3BIT-REAP DeepSeek · 1.6T MoE · 49B active | Text input | JSON schema | $1.76 / $0.44 / $5.73GPU සැලසුමක් සමඟ: $0.056–$0.068 in · $0.18–$0.22 out | තවත් |
GLM-5.2 Uncensored 3BIT-REAP Z.ai · 744B MoE · 40B active | Text input | JSON schema | $1.47 / $0.368 / $6.23GPU සැලසුමක් සමඟ: $0.046–$0.057 in · $0.20–$0.24 out | තවත් |
Kimi-K3 Uncensored 3BIT-REAP Moonshot AI · 2.8T MoE · 104B active | Text + රූප input | JSON schema | $3.67 / $0.918 / $18.15GPU සැලසුමක් සමඟ: $0.12–$0.14 in · $0.57–$0.71 out | තවත් |
Nemotron3Ultra Uncensored 3BIT-REAP NVIDIA · 550B hybrid Mamba-Attention MoE · 55B active | Text input | JSON schema | $0.86 / $0.215 / $3.75GPU සැලසුමක් සමඟ: $0.027–$0.033 in · $0.12–$0.15 out | තවත් |
MiniMax-M3 Uncensored 3BIT-REAP MiniMax · 428B MoE · 23B active · sparse attention | Text + රූප input | JSON schema | $0.62 / $0.155 / $2.57GPU සැලසුමක් සමඟ: $0.020–$0.024 in · $0.081–$0.100 out | තවත් |
DeepSeek-V4-Flash-0731 Uncensored W4A16-AUTOROUND-REAP DeepSeek · 284B MoE · 13B active | Text input | JSON schema | $0.44 / $0.11 / $1.58GPU සැලසුමක් සමඟ: $0.014–$0.017 in · $0.050–$0.061 out | තවත් |
Kimi-K2.6 Uncensored W4A16-AUTOROUND-REAP Moonshot AI · 1T MoE · 32B active | Text + රූප input | JSON schema | $1.11 / $0.278 / $5.16GPU සැලසුමක් සමඟ: $0.035–$0.043 in · $0.16–$0.20 out | තවත් |
Laguna-S-2.1 Uncensored W4A16-AUTOROUND-REAP Poolside · 118B MoE · 8B active | Text input | Structured output නැත | $0.41 / $0.103 / $1.50GPU සැලසුමක් සමඟ: $0.013–$0.016 in · $0.047–$0.058 out | තවත් |
inkling Uncensored W4A16-AUTOROUND-REAP Thinking Machines · 975B MoE · 41B active | Text + රූප input | JSON object | $1.65 / $0.413 / $6.90GPU සැලසුමක් සමඟ: $0.052–$0.064 in · $0.22–$0.27 out | තවත් |
MiMo-V2.5-Pro Uncensored W4A4 Xiaomi · 1.02T MoE · 42B active · 4-bit | Text input | JSON schema | $0.79 / $0.198 / $2.25GPU සැලසුමක් සමඟ: $0.025–$0.031 in · $0.071–$0.088 out | තවත් |
MiMo-V2.5 Uncensored W4A4 Xiaomi · 4-bit multimodal · W4A4 | Text + රූප input | JSON schema | $0.45 / $0.113 / $1.59GPU සැලසුමක් සමඟ: $0.014–$0.018 in · $0.050–$0.062 out | තවත් |
Hy3 Uncensored W4A4 Tencent · 295B MoE · 21B active · 4-bit | Text input | JSON schema | $0.44 / $0.11 / $1.87GPU සැලසුමක් සමඟ: $0.014–$0.017 in · $0.059–$0.073 out | තවත් |
DeepSeek-V4.1-Flash-1017 Uncensored W4A4 DeepSeek | Text + රූප input | JSON schema | $0.46 / $0.115 / $1.99GPU සැලසුමක් සමඟ: $0.015–$0.018 in · $0.063–$0.077 out | |
GLM-5.3 Uncensored W4A4 Z.ai | Text input | JSON schema | $1.63 / $0.408 / $5.73GPU සැලසුමක් සමඟ: $0.051–$0.063 in · $0.18–$0.22 out | |
GLM-5.3-Flash Uncensored W4A4 Z.ai | Text + රූප input | JSON schema | $0.44 / $0.11 / $1.78GPU සැලසුමක් සමඟ: $0.014–$0.017 in · $0.056–$0.069 out | |
MiMo-V2.6-Pro Uncensored W4A4 Xiaomi | Text + රූප input | JSON schema | $0.79 / $0.198 / $2.25GPU සැලසුමක් සමඟ: $0.025–$0.031 in · $0.071–$0.088 out | |
MiMo-V2.6-Flash Uncensored W4A4 Xiaomi | Text + රූප input | JSON schema | $0.45 / $0.113 / $1.59GPU සැලසුමක් සමඟ: $0.014–$0.018 in · $0.050–$0.062 out | |
MiniMax-M3.1-Flash Uncensored W4A4 MiniMax | Text + රූප input | JSON schema | $0.46 / $0.115 / $1.95GPU සැලසුමක් සමඟ: $0.015–$0.018 in · $0.062–$0.076 out | |
Qwen3.8-2.4T Uncensored W4A4 Qwen · 2.4T MoE · 95B active | Text input | JSON schema | $2.55 / $0.638 / $8.03GPU සැලසුමක් සමඟ: $0.081–$0.099 in · $0.25–$0.31 out | |
Qwen3.8-Flash Uncensored W4A4 Qwen | Text + රූප input | JSON schema | $0.46 / $0.115 / $1.80GPU සැලසුමක් සමඟ: $0.015–$0.018 in · $0.057–$0.070 out | |
Hunyuan-4-Preview Uncensored W4A4 Tencent | Text input | JSON schema | $1.23 / $0.308 / $4.09GPU සැලසුමක් සමඟ: $0.039–$0.048 in · $0.13–$0.16 out | |
Step-5-Preview Uncensored W4A4 StepFun | Text + රූප input | JSON schema | $1.42 / $0.355 / $4.31GPU සැලසුමක් සමඟ: $0.045–$0.055 in · $0.14–$0.17 out | |
LongCat-2.0 Uncensored W4A4 Meituan | Text input | Structured output නැත | $1.14 / $0.285 / $4.59GPU සැලසුමක් සමඟ: $0.036–$0.044 in · $0.15–$0.18 out | |
Ling-3.1-Flash Uncensored W4A4 inclusionAI | Text input | JSON schema | $0.38 / $0.095 / $1.53GPU සැලසුමක් සමඟ: $0.012–$0.015 in · $0.048–$0.060 out | |
Nemotron-3.5-Super Uncensored W4A4 NVIDIA · 120B MoE · 12B active | Text + රූප input | JSON schema | $0.46 / $0.115 / $1.84GPU සැලසුමක් සමඟ: $0.015–$0.018 in · $0.058–$0.072 out | |
Muse-Spark-Open Uncensored W4A4 Meta · 816B MoE · 42B active | Text + රූප input | JSON schema | $1.70 / $0.425 / $6.06GPU සැලසුමක් සමඟ: $0.054–$0.066 in · $0.19–$0.24 out | |
Beam-1.0 Uncensored W4A4 Reflection · 501B MoE · 23B active | Text input | JSON schema | $0.75 / $0.188 / $2.63GPU සැලසුමක් සමඟ: $0.024–$0.029 in · $0.083–$0.10 out | |
Nex-N2.5-Pro Uncensored W4A4 Nex-AGI | Text + රූප input | JSON schema | $0.38 / $0.095 / $1.56GPU සැලසුමක් සමඟ: $0.012–$0.015 in · $0.049–$0.061 out |
GPU සැලසුමක් සමඟ: සම්පූර්ණ දෛනික ක්රෙඩිට් භාවිත කළ විට 3 මාස කාල සීමාවක 1M ටෝකන් සඳහා මිල (සැලසුමේ මිල ÷ එය දෙන ක්රෙඩිට්), GPU Partner සිට GPU Sponsor දක්වා. GPU සැලසුම් බලන්න
Shannon ආකෘති
input සහ output සඳහා එකම ස්ථාවර ගාස්තුවක්
| ආකෘතිය | සන්දර්භය | ආදානය | ව්යුහගත ප්රතිදානය | මිල / tokens 1M |
|---|---|---|---|---|
Shannon 1.6 Lite shannon-1.6-lite වාරණය නැති | 192K | Text + රූප input | JSON schema | $2.93GPU සැලසුමක් සමඟ: $0.093–$0.11 |
Shannon 1.6 Pro shannon-1.6-pro වාරණය නැති | 192K | Text + රූප input | JSON schema | $5.85GPU සැලසුමක් සමඟ: $0.18–$0.23 |
Shannon 2 Lite shannon-2-lite වාරණය නැති | 192K | Text + රූප input | JSON schema | $2.93GPU සැලසුමක් සමඟ: $0.093–$0.11 |
Shannon 2 Pro shannon-2-pro වාරණය නැති | 192K | Text + රූප input | JSON schema | $4.39GPU සැලසුමක් සමඟ: $0.14–$0.17 |
Shannon 3 shannon-3 වාරණය නැති | 192K | Text + රූප input | JSON schema | $2.51GPU සැලසුමක් සමඟ: $0.079–$0.098 |
Shannon 3 Pro shannon-3-pro වාරණය නැති | 192K | Text + රූප input | JSON schema | $2.51GPU සැලසුමක් සමඟ: $0.079–$0.098 |
Shannon 3.1 shannon-3.1 වාරණය නැති | 192K | Text + රූප input | JSON schema | $2.51GPU සැලසුමක් සමඟ: $0.079–$0.098 |
Shannon 3.1 Pro shannon-3.1-pro වාරණය නැති | 192K | Text + රූප input | JSON schema | $2.51GPU සැලසුමක් සමඟ: $0.079–$0.098 |
Shannon 3.5 shannon-3.5 වාරණය නැති | 192K | Text + රූප input | JSON schema | $2.51GPU සැලසුමක් සමඟ: $0.079–$0.098 |
Shannon Coder 1 shannon-coder-1 වාරණය නැති | 128K | Text input | JSON schema | $6.00GPU සැලසුමක් සමඟ: $0.19–$0.23 |
GPU සැලසුමක් සමඟ: සම්පූර්ණ දෛනික ක්රෙඩිට් භාවිත කළ විට 3 මාස කාල සීමාවක 1M ටෝකන් සඳහා මිල (සැලසුමේ මිල ÷ එය දෙන ක්රෙඩිට්), GPU Partner සිට GPU Sponsor දක්වා. GPU සැලසුම් බලන්න
Quickstart වෙත යන්න Playground උත්සාහ කරන්න
පේළියක් කියවන ආකාරය
| තීරුව | එය පවසන දේ |
|---|---|
| මොඩලය | සංදර්ශන නම. එයට පහළ පේළිය ඔබ model ලෙස යවන id එකයි. hosted වගුවේ id යනු model එකේ නම, uncensored යන වචනය සහ නම අසල ඇති tag එක, හයිෆන වලින් සම්බන්ධ කළ එකකි: MiniMax-M3 සහ 3BIT-REAP මගින් MiniMax-M3-uncensored-3BIT-REAP සෑදේ. නමට පහළ පේළියෙන් model එක නිර්මාණය කළේ කවුරුන්ද සහ එහි ප්රමාණය පෙන්වයි. |
| සන්දර්භය | Context window එක: model එක සංවාදයේ tokens කීයක් කියවයිද. K යනු tokens 1,024කි. නිවැරදි අංකය GET /v1/models හි context_window වේ. |
| ආදානය | පෙළ පමණක්, හෝ පෙළ සහ රූප. රූප කියවන model එකක් capabilities.vision: true වාර්තා කරයි. shannon-2-lite සහ shannon-2-pro tools හෝ response_format ද යවන ඉල්ලීම්වල රූප කියවයි. |
| ව්යුහගත output | response_format මගින් model එකෙන් ඉල්ලිය හැකි දේ: ඔබේ JSON schema එක අනුගමනය කරන පිළිතුරක්, JSON object එකක් වන පිළිතුරක්, නැතහොත් දෙකම නොවේ. |
| මිල | Tokens 1,000,000කට USD. Shannon model එකකට input සහ output සඳහා එක මිලක් ඇත. අපගේ සේවාදායකවල ධාවනය වන open-weight model එකකට තුනක් ඇත: input, cached input සහ output. |
සෑම model එකක්ම stream කරන අතර tools call කළ හැක. API එකේ අනෙකුත් විශේෂාංග Capabilities පිටුවේ විස්තර කර ඇත. හැකියාවන්
සංවාදයේ ප්රමාණය (context window) සහ output සීමා
- Context window එක model එක එක පිළිතුරක් සඳහා කියවන සියල්ල ආවරණය කරයි: ඔබේ පණිවිඩ, tool අර්ථ දැක්වීම් සහ රූප.
- Shannon 3 පවුල දිගු සංවාදයක් තනිවම ගළපා ගනී: කවුළුවට ඇතුළත් වන අලුත්ම turns තබාගෙන පිළිතුරු දෙයි.
- අපගේ සේවාදායකවල ධාවනය වන open-weight models මත, model එකේ
context_windowට වඩා දිගු prompt එකක් ධාවනය වීමට පෙර ප්රතික්ෂේප කෙරේ:code: "context_length_exceeded"සමඟ HTTP 400 (/v1/messagesහි: "prompt is too long"). - Stream එකක, ඉතා දිගු prompt එකක්
invalid_request_errortype එක සහcode: "context_length_exceeded"සහිත error frame එකක් ලෙස වාර්තා කෙරේ. max_tokens1 සිටGET /v1/modelsහි model එකේmax_output_tokensදක්වා අගයන් ගනී: Shannon tiers හි 65,536, අපගේ සේවාදායකවල ධාවනය වන open-weight model එකක එම model එකේම උපරිමය. පෙරනිමිය 4,096.- සෑම model එකකම,
max_tokensයනු ඉල්ලීමක් ඔබේ ශේෂයෙන් වෙන් කරන ප්රමාණයයි. - පිළිතුරේ දිග පිළිබඳ සීමාව ලෙස,
max_tokensක්රියාත්මක කරන්නේ අපගේ සේවාදායකවල ධාවනය වන open-weight models,shannon-1.6-lite,shannon-1.6-proසහshannon-coder-1ය. - අපගේ සේවාදායකවල ධාවනය වන open-weight models මත එය පිළිතුරේ පෙළ සීමා කරයි. පිළිතුරට පෙර තර්කනය ඊට ගණන් නොගන්නා අතර 256ට අඩු අගයක් 256 ලෙස ක්රියා කරයි.
shannon-1.6-lite,shannon-1.6-pro,shannon-coder-1හෝ Shannon 3 පවුලේ stream එකක් පිළිතුර එහි සීමාවේදී කපා හැරි විටfinish_reason: "length"සමඟ අවසන් වේ.
මිලක් සෑදෙන ආකාරය
- මිල ගණන් tokens 1,000,000කට USD වලින්. ඔබේ ශේෂය 1,000,000කට $5.00 වටිනා tokens වලින් ගණන් ගැනේ, එබැවින් model එකක මිලෙන් කියන්නේ එහි tokens ශේෂයෙන් කොපමණක් ගන්නේද යන්නයි.
- Shannon models සඳහා එක මිලක් ඇත. Call එකකට එම මිලට
usage.total_tokensඅය කෙරේ. - Hosted open-weight models සඳහා මිල ගණන් තුනක් ඇත. Prompt cache එකෙන් කියවන input සඳහා cache මිල අය කෙරේ, එය input මිලෙන් 25% කි (Heavy Duty model එකක 10%), $0.001 දක්වා වටයනු ලැබේ. ඉතිරි input සඳහා input මිලත්, output සඳහා output මිලත් අය කෙරේ.
- අපගේ සේවාදායකවල ධාවනය වන open-weight models සෑම model එකකම තමන්ගේම tokenizer එකෙන් tokens ගණන් කරයි.
GET /v1/modelsමෙයtokenizer: "original"ලෙස සලකුණු කරයි. shannon-coder-1සෑම endpoint එකකම ලැයිස්තුගත මිලට ටෝකන වලින්, ඔබගේ API ක්රෙඩිට් එකෙන් අය කෙරේ. කිසිම සැලසුමක නොමිලේ ඇමතුම් ඇතුළත් නැත.
ඉල්ලීමක් කොපමණ වෙන් කරයිද සහ අය කිරීමේ උදාහරණ සීමා සහ ශේෂය පිටුවේ ඇත. සීමා සහ ශේෂය
Model ids
මෙම ids වලින් එකක් model ලෙස යවන්න.
shannon-1.6-lite
shannon-1.6-pro
shannon-2-lite
shannon-2-pro
shannon-3
shannon-3-pro
shannon-3.1
shannon-3.1-pro
shannon-3.5
shannon-coder-1
DeepSeek-V4-Pro-0813-uncensored-3BIT-REAP
GLM-5.2-uncensored-3BIT-REAP
Kimi-K3-uncensored-3BIT-REAP
Nemotron3Ultra-uncensored-3BIT-REAP
MiniMax-M3-uncensored-3BIT-REAP
DeepSeek-V4-Flash-0731-uncensored-W4A16-AUTOROUND-REAP
Kimi-K2.6-uncensored-W4A16-AUTOROUND-REAP
Laguna-S-2.1-uncensored-W4A16-AUTOROUND-REAP
inkling-uncensored-W4A16-AUTOROUND-REAP
MiMo-V2.5-Pro-uncensored-W4A4
MiMo-V2.5-uncensored-W4A4
Hy3-uncensored-W4A4
DeepSeek-V4.1-Flash-1017-uncensored-W4A4
GLM-5.3-uncensored-W4A4
GLM-5.3-Flash-uncensored-W4A4
MiMo-V2.6-Pro-uncensored-W4A4
MiMo-V2.6-Flash-uncensored-W4A4
MiniMax-M3.1-Flash-uncensored-W4A4
Qwen3.8-2.4T-uncensored-W4A4
Qwen3.8-Flash-uncensored-W4A4
Hunyuan-4-Preview-uncensored-W4A4
Step-5-Preview-uncensored-W4A4
LongCat-2.0-uncensored-W4A4
Ling-3.1-Flash-uncensored-W4A4
Nemotron-3.5-Super-uncensored-W4A4
Muse-Spark-Open-uncensored-W4A4
Beam-1.0-uncensored-W4A4
Nex-N2.5-Pro-uncensored-W4A4
Kimi-K3.1-Pro-uncensored-NVFP4
GLM-5.3-uncensored-FP8
DeepSeek-V4.1-Flash-1017-uncensored-FP8
Kimi-K3-uncensored-NVFP4
MiMo-V2.6-Pro-uncensored-NVFP4
Qwen3.8-2.4T-uncensored-NVFP4
LongCat-2.0-uncensored-NVFP4 - ලොකු අකුරු සහ කුඩා අකුරු වැදගත් නොවන අතර, id එක වටා ඇති හිස්තැන් ඉවත් කෙරේ:
SHANNON-3සහshannon-3එකම model එකයි. - ඔබ කුමන අකුරු වින්යාසයක් යැවූවත්, පිළිතුරේ
modelහි සෑම විටම ප්රකාශිත id එක ඇත. Shannon 3වැනි සංදර්ශන නමක් id එකක් නොවේ.
කෙටි අකුරු වින්යාස හතරක් ද පිළිගනී.
| ඔබ යවන්නේ | පිළිතුරු දෙන model එක |
|---|---|
shannon-1.6 | shannon-1.6-lite |
shannon-3-lite | shannon-3 |
shannon-3.1-lite | shannon-3.1 |
shannon-coder | shannon-coder-1 |
ප්රකාශිත නොවන id එකකට endpoints තුනේම status 400, type invalid_request_error සහ unknown model: <id> පණිවිඩය සමඟ පිළිතුරු ලැබේ. එහි ස්ථානයේ වෙනත් model එකක් පිළිතුරු නොදෙයි.
{
"error": {
"type": "invalid_request_error",
"message": "unknown model: gpt-4o"
}
} {
"type": "error",
"error": {
"type": "invalid_request_error",
"message": "unknown model: gpt-4o"
}
} - සෑම විටම
modelයවන්න. එය නැති ඉල්ලීමකට/v1/responses400සමඟ පිළිතුරු දෙයි./v1/chat/completionsසහ/v1/messagesහි එවැනි ඉල්ලීමකටshannon-1.6-liteපිළිතුරු දෙයි. POST /v1/tokenizeසහPOST /v1/messages/count_tokensඅපගේ සේවාදායකවල ධාවනය වන open-weight ids පිළිගනී.
Models ලැයිස්තුගත කරන්න
GET /v1/models මෙම පිටුවේ models එම context windows, මිල ගණන් සහ හැකියාවන් සමඟ JSON ලෙස ආපසු දෙයි. Model picker එකක් පිරවීමට හෝ code එකෙන් මිලක් පරීක්ෂා කිරීමට එය භාවිතා කරන්න.
GET https://api.shannon-ai.com/v1/models
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) 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);
} curl "https://api.shannon-ai.com/v1/models" පිළිතුර, එක් එක් වර්ගයේ එක entry එකකට කෙටි කර:
{
"object": "list",
"data": [
{
"id": "shannon-3",
"object": "model",
"created": 1700000000,
"owned_by": "shannon-ai",
"display_name": "Shannon 3",
"context_window": 196608,
"max_output_tokens": 65536,
"pricing": {
"input_per_million_usd": 2.51,
"output_per_million_usd": 2.51,
"currency": "USD"
},
"capabilities": {
"tools": true,
"vision": true,
"reasoning": true,
"reasoning_effort": false,
"streaming": true,
"json_schema": true
},
"endpoints": [
"/v1/chat/completions",
"/v1/messages",
"/v1/responses"
]
},
{
"id": "MiniMax-M3-uncensored-3BIT-REAP",
"object": "model",
"created": 1700000000,
"owned_by": "shannon-ai",
"display_name": "MiniMax-M3 Uncensored · 3BIT-REAP",
"context_window": 225280,
"max_output_tokens": 225280,
"pricing": {
"input_per_million_usd": 0.62,
"cached_input_per_million_usd": 0.155,
"output_per_million_usd": 2.57,
"currency": "USD"
},
"tokenizer": "original",
"capabilities": {
"tools": true,
"vision": true,
"reasoning": true,
"reasoning_effort": true,
"streaming": true,
"response_format": true,
"json_schema": true,
"prompt_caching": true
},
"endpoints": [
"/v1/chat/completions",
"/v1/messages",
"/v1/responses",
"/v1/messages/count_tokens",
"/v1/tokenize"
]
}
]
} | ක්ෂේත්රය | වර්ගය | විස්තරය | ඇත්තේ |
|---|---|---|---|
object | string | සෑම විටම list. | |
data | array | Call කළ හැකි model එකකට එක entry බැගින්. | |
data[].id | string | ඔබ model ලෙස යවන id එක. | සෑම model එකක්ම |
data[].object | string | සෑම විටම model. | සෑම model එකක්ම |
data[].created | integer | සෑම model එකකටම එකම ස්ථාවර අංකයක්: 1700000000. | සෑම model එකක්ම |
data[].owned_by | string | සෑම විටම shannon-ai. | සෑම model එකක්ම |
data[].display_name | string | සංදර්ශනය සඳහා නමක්. එය model ලෙස පිළිගන්නේ නැත. | සෑම model එකක්ම |
data[].context_window | integer | Tokens වලින් දැක්වෙන context window එකේ ප්රමාණය. | සෑම model එකක්ම |
data[].max_output_tokens | integer | ඉල්ලීමකට ඉල්ලිය හැකි විශාලතම output අයවැය: Shannon tiers හි 65536; අපගේ සේවාදායකවල ධාවනය වන open-weight model එකක, එම model එකේ උපරිම output. | සෑම model එකක්ම |
data[].pricing.input_per_million_usd | number | Input tokens 1,000,000ක මිල USD වලින්. | සෑම model එකක්ම |
data[].pricing.cached_input_per_million_usd | number | ඉල්ලීමේ prompt එකෙන් cache එකෙන් කියවා ගත් input tokens මිලියනයක (1,000,000) මිල. | අපගේ සේවාදායකවල ධාවනය වන open-weight models |
data[].pricing.output_per_million_usd | number | Output tokens 1,000,000ක මිල USD වලින්. Shannon model එකක එය input මිලට සමානය. | සෑම model එකක්ම |
data[].pricing.currency | string | සෑම විටම USD. | සෑම model එකක්ම |
data[].tokenizer | string | original: tokens ගණන් කරන්නේ model එකේම tokenizer එකෙනි. | අපගේ සේවාදායකවල ධාවනය වන open-weight models |
data[].capabilities.tools | boolean | ඔබ ප්රකාශ කරන tools Model එකට call කළ හැක. සෑම model එකකම true. | සෑම model එකක්ම |
data[].capabilities.vision | boolean | Model එක රූප කියවයි. | සෑම model එකක්ම |
data[].capabilities.reasoning | boolean | Model එක පිළිතුරු දීමට පෙර තර්ක කරයි. | සෑම model එකක්ම |
data[].capabilities.reasoning_effort | boolean | ඉල්ලීමේ field එක වන reasoning_effort මෙම model එකේ බලපායි. | සෑම model එකක්ම |
data[].capabilities.streaming | boolean | සෑම model එකකම true. | සෑම model එකක්ම |
data[].capabilities.json_schema | boolean | json_schema වර්ගයේ response_format බලපායි. | සෑම model එකක්ම |
data[].capabilities.response_format | boolean | response_format බලපායි, අවම වශයෙන් JSON object එකක් ලෙස. | අපගේ සේවාදායකවල ධාවනය වන open-weight models |
data[].capabilities.prompt_caching | boolean | නැවත නැවත එන prompt prefixes cache කර cached මිලට අය කෙරේ. | අපගේ සේවාදායකවල ධාවනය වන open-weight models |
data[].endpoints | array | මෙම id එක පිළිගන්නා paths. | සෑම model එකක්ම |
GET /v1/modelsට key එකක් අවශ්ය නැත. පිළිතුර සෑම ඉල්ලුම්කරුවෙකුටම එකමය සහ ඔබේ සැලසුම මත රඳා නොපවතී.- ලැයිස්තුවේ call කළ හැකි ids ඇත. මෙම මොහොතේ සේවය කළ නොහැකි model එකක් එයින් ඉවත් කෙරේ.
- තනි model එකක් සඳහා endpoint එකක් නැත:
GET /v1/models/{id}not_found_errortype එක සමඟ404පිළිතුරු දෙයි.
