Dashboard
Quick Start
Call SAMALink API with your API Key:
curl /v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v3.2",
"messages": [{"role": "user", "content": "Hello"}]
}'
Available Models
API Keys
Billing
Pricing
| Model | Provider | Input (per 1M tokens) | Output (per 1M tokens) |
|---|---|---|---|
| Chinese Models | |||
| deepseek-v3.2 | DeepSeek | 280 P | 420 P |
| deepseek-r1 | DeepSeek | 500 P | 2,180 P |
| qwen-3.5-plus | Qwen | 220 P | 1,300 P |
| kimi-k2.5 | Moonshot | 450 P | 2,200 P |
| glm-5 | Zhipu | 700 P | 2,300 P |
| minimax-m2.5 | MiniMax | 400 P | 1,100 P |
| International Models | |||
| gpt-5.2 | OpenAI | 1,750 P | 14,000 P |
| claude-4.6-opus | Anthropic | 5,000 P | 25,000 P |
| claude-sonnet-4.5 | Anthropic | 3,000 P | 15,000 P |
| claude-haiku-4.5 | Anthropic | 800 P | 4,000 P |
| gemini-3.1-pro | 2,000 P | 12,000 P | |
1 SAMA-P = $0.001 USD | Chinese model pricing based on official CNY rates
Usage
Cost by Model
No usage data yet. Make API calls to see model breakdown.
Daily Usage
No usage data yet.
Request Log
No usage records yet. Your API call history will appear here.
Payment History
Settings
Account Info
Change Password
Support
Having issues with billing, API access, or your account? Contact us and we'll get back to you within 24 hours.
help@samalink.aiAPI Docs
Overview
SAMALink provides a unified AI API gateway supporting major models from China and worldwide. One API Key to access DeepSeek, Qwen, GLM, Kimi, OpenAI, Claude and more. All endpoints are OpenAI-compatible.
Base URL
Authentication
Add your API Key to the request header:
Authorization: Bearer sama_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Endpoints
| Method | Path | Description |
|---|---|---|
| POST | /v1/chat/completions | Chat Completions (OpenAI format) |
| POST | /v1/completions | Text Completions |
| POST | /v1/embeddings | Embeddings |
| POST | /v1/messages | Messages (Anthropic format) |
| GET | /v1/models | List available models |
Example: DeepSeek V3.2 (Python)
import openai
client = openai.OpenAI(
api_key="sama_your-key-here",
base_url="/v1"
)
response = client.chat.completions.create(
model="deepseek-v3.2", # or gpt-5.2, claude-sonnet-4.5, qwen-3.5-plus...
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
Example: Qwen 3.5 Plus (curl)
curl /v1/chat/completions \
-H "Authorization: Bearer sama_your-key-here" \
-H "Content-Type: application/json" \
-d '{"model":"qwen-3.5-plus","messages":[{"role":"user","content":"Hello"}]}'
Supported Models
| Provider | Models |
|---|---|
| OpenAI | gpt-5.2 gpt-5.2-pro |
| Anthropic | claude-4.6-opus claude-sonnet-4.5 claude-haiku-4.5 |
gemini-3.1-pro | |
| DeepSeek | deepseek-v3.2 deepseek-r1 |
| Qwen | qwen-3.5-plus |
| Moonshot | kimi-k2.5 |
| Zhipu | glm-5 |
| MiniMax | minimax-m2.5 |