Tương thích OpenAI SDK. Hoạt động với Claude Code, Cursor, v.v.
https://shibiai.dev/api/v1shi-xxxxxxxxxxcurl https://shibiai.dev/api/v1/chat/completions \
-H "Authorization: Bearer shi-your-api-key" \
-H "Content-Type: application/json" \
-d '{"model":"claude-sonnet-4-6","messages":[{"role":"user","content":"Hello!"}],"stream":true}'from openai import OpenAI
client = OpenAI(
api_key="shi-your-api-key",
base_url="https://shibiai.dev/api/v1"
)
response = client.chat.completions.create(
model="claude-sonnet-4-6",
messages=[{"role": "user", "content": "Hello!"}],
stream=True
)
for chunk in response:
print(chunk.choices[0].delta.content or "", end="")export OPENAI_API_KEY="shi-your-api-key"
export OPENAI_BASE_URL="https://shibiai.dev/api/v1"
# Or for Anthropic SDK:
export ANTHROPIC_API_KEY="shi-your-api-key"
export ANTHROPIC_BASE_URL="https://shibiai.dev/api/v1"| ID | CTX | IN $/M | OUT $/M | Note |
|---|---|---|---|---|
| claude-opus-4-7 | 1M | $7.50 | $37.50 | Most capable |
| claude-opus-4-6 | 1M | $5.00 | $25.00 | Previous flagship |
| claude-sonnet-4-6 | 1M | $3.00 | $15.00 | Best for coding |
| claude-sonnet-4-5 | 200K | $3.00 | $15.00 | Fast + smart |
| claude-haiku-4-5 | 200K | $1.00 | $5.00 | Fastest |
/api/v1/chat/completions/api/v1/models/v1/messages(Anthropic API)• $1 = 3,500 VND (bank transfer via VietQR)
• Tài khoản mới nhận $1 free
• Pay-as-you-go: trừ theo token
• Không phí hàng tháng