Lewati ke konten

AI API Overview

AI API Gateway SemutSSH memungkinkan Anda mengakses berbagai model AI dari berbagai provider menggunakan satu API key. API 100% kompatibel dengan format OpenAI SDK.

Lebih dari 60 model dari 9 provider:

ProviderContoh Model
AnthropicClaude Opus 4.6, Claude Sonnet 4.6, Claude Sonnet 5, Claude Fable 5
GoogleGemini 3.1 Pro Preview, Gemini 3 Flash Preview, Gemini 3.5 Flash
Zhipu AIGLM 5, GLM 5.1, GLM 5.2
Moonshot AIKimi K2, Kimi K2.5 Thinking, Kimi K2.6, Kimi K2.7 Code
DeepSeekDeepSeek V4 Pro, DeepSeek V4 Flash
MiniMaxMiniMax M2.5, M2.7, M3
AlibabaQwen 3.6 Plus, Qwen 3.7 Plus
XiaomiMimo V2.5
OpenAI (via GPT plan)GPT-5.4, GPT-5.5, GPT-5.6 Luna/Sol/Terra

Daftar model lengkap dapat dilihat di halaman pricing bagian “Model AI Tersedia”.

https://ai.semutssh.com

Gunakan API key Anda di header Authorization:

Authorization: Bearer sk-semut-your-key

Atau untuk SDK Anthropic, gunakan header x-api-key:

x-api-key: sk-semut-your-key
  • RPM: 30 requests/minute (semua plan)
  • Parallel requests: 1–10 tergantung plan (lihat detail di pricing)
  • Budget harian/bulanan: tergantung plan (Daily $5, Lite $50, Pro $125, dst)
KategoriDeskripsi
UnifiedAkses semua model (Claude, Gemini, GLM, Kimi, DeepSeek, dll) dengan budget bulanan
Claude PlanHarga 1:1 official Anthropic, supports prompt caching, Claude Desktop compatible di tier Pro+
GLM PlanHarga 1:1 official Z.AI/GLM, supports prompt caching
GPT PlanHarga per model sesuai official OpenAI

Detail plan dan pricing lihat di halaman pricing atau Subscribe Plan AI.

API mengembalikan error dalam format standar:

{
"error": {
"type": "rate_limit_error",
"message": "Rate limit exceeded. Please try again later."
}
}
Terminal window
curl https://ai.semutssh.com/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-semut-your-key" \
-d '{
"model": "claude-sonnet-4-6",
"max_tokens": 1024,
"messages": [
{"role": "user", "content": "Hello, Claude!"}
]
}'

Lebih lengkap lihat di REST API.