SAI Marine AI GATEWAY
G
Khách
Đăng nhập để chat
Đăng nhập / Đăng ký
AI giá rẻ đang hoạt động Bắt đầu
OpenAI Compatible

Tài liệu cho nhà phát triển

SAI Marine cung cấp endpoint REST API tương thích 100% với OpenAI. Tích hợp mà không cần sửa code bằng cách trỏ SDK OpenAI chuẩn hoặc cấu hình IDE của bạn tới bộ máy định tuyến thông lượng cao của chúng tôi.

Thông số kết nối
Base URL
https://sai-marine.com/v1
Chat Completions
https://sai-marine.com/v1/chat/completions
Models Endpoint
https://sai-marine.com/v1/models
Định dạng API Key sk-sm-xxxxxxxxxxxxxxxxxxxxxxxx
Header xác thực Authorization: Bearer sk-sm-...
Ví dụ tích hợp code
curl https://sai-marine.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-sm-your-key-here" \
  -d '{
 "model": "deepseek-v4.1-flash:free",
 "messages": [
 {"role": "user", "content": "Explain quantum computing in 2 sentences."}
 ],
 "stream": false
  }'
from openai import OpenAI

client = OpenAI(
 base_url="https://sai-marine.com/v1",
 api_key="sk-sm-your-key-here"
)

response = client.chat.completions.create(
 model="deepseek-v4.1-flash:free",
 messages=[
 {"role": "system", "content": "You are a professional software architect."},
 {"role": "user", "content": "Design a scalable event-driven microservices architecture."}
 ],
 stream=True
)

for chunk in response:
 print(chunk.choices[0].delta.content or "", end="")
import OpenAI from 'openai';

const openai = new OpenAI({
  baseURL: 'https://sai-marine.com/v1',
  apiKey: 'sk-sm-your-key-here',
});

async function main() {
  const stream = await openai.chat.completions.create({
 model: 'deepseek-v4.1-flash:free',
 messages: [{ role: 'user', content: 'Say hello from TypeScript!' }],
 stream: true,
  });

  for await (const chunk of stream) {
 process.stdout.write(chunk.choices[0]?.delta?.content || '');
  }
}

main();
Cấu hình Cursor IDE

Cursor là trình soạn thảo code ưu tiên AI. Bạn có thể dùng trực tiếp các model hàng đầu giá siêu rẻ của SAI Marine trong Cursor mà không cần trả gói pro hàng tháng đắt đỏ của Cursor.

  1. Mở Cài đặt Cursor: Cursor Settings -> Models.
  2. Tắt OpenAI Key chuẩn, và bật Override OpenAI Base URL.
  3. Nhập Base URL: https://sai-marine.com/v1.
  4. Nhập API Key của bạn: sk-sm-....
  5. Thêm tên model từ trang Models (VD: deepseek-v4.1-flash:free).
Cấu hình Cline (Tiện ích VS Code)
  1. Mở cài đặt Cline trong thanh bên VS Code.
  2. Trong mục API Provider, chọn OpenAI Compatible.
  3. Base URL: https://sai-marine.com/v1.
  4. API Key: sk-sm-....
  5. Model ID: bất kỳ model nào từ trang Models (VD: deepseek-v4.1-flash:free).
Cấu hình Claude Code CLI
export ANTHROPIC_BASE_URL="https://sai-marine.com/v1"
export ANTHROPIC_API_KEY="sk-sm-your-key-here"

# Now execute Claude Code directly!
claude
Model — tra cứu theo mã

Mỗi model có một anchor riêng (#model-). Dùng đúng mã model (sm-*) trong trường "model" khi gọi API.

ModelGiá bán
DeepSeek V4.1 Flash Free
deepseek-v4.1-flash:free
Completely free DeepSeek model with lightning fast speed. No cost, ideal for lightweight tasks and testing.
$0.050 / $0.050 / 1M Chat #
Llama 3.1 8B Instruct Free
meta-llama/llama-3.1-8b-instruct:free
Meta lightweight high-efficiency open model. 100% Free tier access.
$0.050 / $0.050 / 1M Chat #
DeepSeek V3 Free Tier
deepseek/deepseek-v3:free
Flagship 671B MoE architecture with free daily allocation.
$0.050 / $0.050 / 1M Chat #
Gemini 2.0 Flash Experimental Free
google/gemini-2.0-flash-exp:free
Next-gen multimodal speed demon from Google DeepMind with free daily quota.
$0.050 / $0.050 / 1M Chat #
Mistral Nemo 12B Free
mistralai/mistral-nemo:free
State-of-the-art multilingual 12B model built with NVIDIA.
$0.050 / $0.050 / 1M Chat #
Claude Fable 5 Jailbreak
jailbreak/claude-fable-5
Exclusive jailbroken Anthropic Claude pipeline. Unrestricted storytelling, cybersecurity research, and uncensored analysis.
$0.153 / $0.153 / 1M Chat #
Claude Opus 5.5 Jailbreak VIP
claude-opus-5-5-jailbreak
Maximum intelligence jailbreak with Opus reasoning capabilities. Bypasses 95% of standard safety filters.
$0.250 / $0.400 / 1M Chat #
DeepSeek R1 Reasoning Uncensored
jailbreak/deepseek-r1-uncensored
DeepSeek full chain-of-thought mathematical and logic reasoning with safety alignment removed.
$0.120 / $0.350 / 1M Chat #
GPT-4o DAN Unrestricted
jailbreak/gpt-4o-dan
OpenAI GPT-4o with integrated DAN (Do Anything Now) dynamic prompt injection layer.
$0.200 / $0.500 / 1M Chat #
China Frontier LLMs Uncensored
jailbreak/china-llm-unrestricted
Combined Qwen 2.5 + Moonshot + MiniMax pool with zero content moderation.
$0.080 / $0.180 / 1M Chat #
Claude 3.5 Sonnet (New)
claude-3-5-sonnet-20241022
Anthropics smartest and fastest model to date. Unmatched coding, multi-step agentic execution and visual reasoning.
$0.800 / $3.200 / 1M Chat #
Claude 3.5 Haiku
claude-3-5-haiku-20241022
Lightning fast next-generation compact model matching Claude 3 Opus capabilities.
$0.200 / $0.800 / 1M Chat #
Claude 3 Opus
claude-3-opus-20240229
Top-tier complex analysis, creative translation, and nuanced writing.
$2.500 / $10.000 / 1M Chat #
Claude 3 Sonnet
claude-3-sonnet-20240229
Strong enterprise balance between speed and intelligence.
$0.600 / $2.400 / 1M Chat #
Claude 3 Haiku
claude-3-haiku-20240307
Lightweight instant-response Claude engine for high frequency streaming.
$0.100 / $0.400 / 1M Chat #
DeepSeek V3 (Chat)
deepseek-chat
State-of-the-art 671B parameter Mixture of Experts model. Outstanding coding and general capabilities at fractional cost.
$0.140 / $0.280 / 1M Chat #
DeepSeek R1 (Reasoner)
deepseek-reasoner
Reinforcement learning based reasoning model outperforming OpenAI o1 on math, coding, and logical derivation.
$0.450 / $1.800 / 1M Chat #
DeepSeek Coder V2
deepseek-coder
Specialized programming model supporting 338 languages with 128K context.
$0.120 / $0.250 / 1M Chat #
DeepSeek R1 Distill Llama 70B
deepseek/deepseek-r1-distill-llama-70b
R1 reasoning distillation into Meta Llama 70B architecture.
$0.200 / $0.600 / 1M Chat #
DeepSeek R1 Distill Qwen 32B
deepseek/deepseek-r1-distill-qwen-32b
High density reasoning distillation into Alibaba Qwen 32B.
$0.100 / $0.300 / 1M Chat #
OpenAI GPT-4o (Omni)
gpt-4o
OpenAIs flagship multimodal model for text, audio, and vision with 128K context.
$1.800 / $6.500 / 1M Chat #
OpenAI GPT-4o Mini
gpt-4o-mini
Budget friendly small model outperforming GPT-3.5 Turbo at 60% lower cost.
$0.120 / $0.450 / 1M Chat #
OpenAI o1 (Full Reasoning)
o1
Deep reasoning with internal chain of thought for mathematics, physics, and complex code.
$12.000 / $48.000 / 1M Chat #
OpenAI o1 Mini
o1-mini
Fast and cost-effective reasoning model specialized for STEM problem solving.
$1.000 / $4.000 / 1M Chat #
OpenAI o3 Mini
o3-mini
Newest frontier reasoning model with adjustable reasoning effort and low latency.
$0.900 / $3.800 / 1M Chat #
OpenAI GPT-4 Turbo
gpt-4-turbo
High-reliability GPT-4 Turbo engine with 128K context and JSON mode.
$2.000 / $6.000 / 1M Chat #
Sai-Marine Chat Note
sm-chat-note
General-purpose chat model with step-by-step reasoning.
$0.050 / $0.050 / 1M Chat #
Google Gemini 1.5 Pro
gemini-1.5-pro
Industry-leading 2,000,000 token context window. Ingest whole codebases, books, and long videos.
$1.000 / $3.800 / 1M Chat #
Sai-Marine Chat 31B
sm-chat-31b
General-purpose 31B-class chat model.
$0.050 / $0.050 / 1M Chat #
Google Gemini 1.5 Flash
gemini-1.5-flash
Ultra-fast multimodal processing with 1M token context at minimal pricing.
$0.075 / $0.300 / 1M Chat #
Sai-Marine Flash 3
sm-flash-3
Fast general-purpose chat model.
$0.050 / $0.050 / 1M Chat #
Google Gemini 2.0 Flash
gemini-2.0-flash
Google next-gen flagship with realtime streaming voice and agentic speed.
$0.090 / $0.350 / 1M Chat #
Sai-Marine Chat 2B
sm-chat-2b
Lightweight 2B-class chat model for quick everyday tasks.
$0.050 / $0.050 / 1M Chat #
Gemini 2.0 Flash Thinking Exp
gemini-2.0-flash-thinking-exp
Chain-of-thought visible thinking process integrated into Gemini 2.0.
$0.120 / $0.450 / 1M Chat #
Sai-Marine Ultra 550B
sm-ultra-550b
Large 550B-class model for complex chat and reasoning tasks.
$0.050 / $0.050 / 1M Chat #
Sai-Marine Chat Swift
sm-chat-swift
Fast general-purpose chat model.
$0.050 / $0.050 / 1M Chat #
Sai-Marine Vision 2
sm-vision-2
General-purpose chat model.
$0.050 / $0.050 / 1M Chat #
Sai-Marine Chat Lite
sm-chat-lite
Lightweight general-purpose chat model for quick everyday tasks.
$0.050 / $0.050 / 1M Chat #
Qwen 2.5 72B Instruct
qwen/qwen-2.5-72b-instruct
Premier open-weights LLM rivaling proprietary models across math, coding, and multi-turn chat.
$0.130 / $0.380 / 1M Chat #
Qwen 2.5 Coder 32B Instruct
qwen/qwen-2.5-coder-32b-instruct
Code-specialized powerhouse matching GPT-4o in HumanEval and coding benchmarks.
$0.080 / $0.220 / 1M Chat #
Qwen 2.5 Max (Flagship)
qwen/qwen-2.5-max
Alibabas most intelligent closed-source model surpassing Claude 3.5 Sonnet on Chinese NLP.
$0.350 / $1.200 / 1M Chat #
Qwen QvQ 72B Visual Reasoning
qwen/qvq-72b-preview
Visual chain-of-thought reasoning across complex diagrammatic questions.
$0.180 / $0.500 / 1M Chat #
Llama 3.3 70B Instruct
meta-llama/llama-3.3-70b-instruct
Metas newest flagship matching the performance of original Llama 3.1 405B at 70B efficiency.
$0.120 / $0.380 / 1M Chat #
Llama 3.1 405B Instruct
meta-llama/llama-3.1-405b-instruct
The largest open frontier foundation model in human history. 405 Billion active parameters.
$0.800 / $2.400 / 1M Chat #
Llama 3.1 70B Instruct
meta-llama/llama-3.1-70b-instruct
Proven enterprise grade open model with multilingual capabilities.
$0.100 / $0.320 / 1M Chat #
Mistral Large 2 (2407)
mistralai/mistral-large-2407
Frontier 123B model with premier reasoning, mathematics and code generation.
$0.600 / $1.800 / 1M Chat #
Codestral 2501
mistralai/codestral-2501
Mistrals specialized code generation and completion model with 256K context.
$0.150 / $0.450 / 1M Chat #
Pixtral Large 2411
mistralai/pixtral-large-2411
Multimodal frontier model with advanced chart, diagram and document reasoning.
$0.600 / $1.800 / 1M Chat #
Moonshot Kimi V1 (128K)
moonshot-v1-128k
Long-context Chinese and English literature, document and conversation specialist.
$0.180 / $0.600 / 1M Chat #
OpenAI Text Embedding 3 Small
text-embedding-3-small
High-performance semantic vector embeddings (1536 dims) for Cursor, RAG and code search.
$0.020 / $0.050 / 1M Chat #
Moonshot Kimi K1.5 Multimodal
kimi-k1.5
Newest frontier release from Moonshot featuring deep contextual thinking.
$0.250 / $0.800 / 1M Chat #
OpenAI Text Embedding 3 Large
text-embedding-3-large
State-of-the-art vector embeddings (3072 dims) for highly accurate semantic retrieval.
$0.130 / $0.050 / 1M Chat #
BAAI BGE-M3 (Multilingual Free)
bge-m3:free
Free leading multilingual embedding model supporting 100+ languages.
$0.050 / $0.050 / 1M Chat #
MiniMax 01 High Speed
minimax/minimax-01
Lightning fast text generation with 4M token context capability.
$0.150 / $0.500 / 1M Chat #
Zhipu GLM-4 Plus
glm-4-plus
Top-tier enterprise LLM by Zhipu AI with native search and tool invocation.
$0.220 / $0.700 / 1M Chat #
Cohere Command R+
cohere/command-r-plus
Engineered specifically for enterprise RAG (Retrieval Augmented Generation) and tool use.
$0.500 / $1.800 / 1M Chat #