前沿 AI。
简单 API。
OpenAI 的即插即用替代方案。相同 endpoints,相同 SDK,更优价格。只改一行,立即开始构建。
按用量付费。无起付额、无月度承诺。
// 修改前(OpenAI)
baseURL: "https://api.openai.com/v1"
// 修改后(Smart AIPI)
baseURL: "https://api.smartaipi.com/v1"
可用模型
通过一个 API 访问所有前沿模型
GPT 系列
适用于通用任务的前沿语言模型
- gpt-6-astra 最新
- gpt-5.6-terra Available
- gpt-5.6-sol Available
- gpt-5.6-luna Available
Coding Leaderboard
How the models rank on DeepSWE — 113 real engineering tasks across 91 repos and 5 languages, all run on mini-swe-agent. The top coding models are available on Smart AIPI.
| # | Model | Pass@1 | Avg cost | Steps |
|---|---|---|---|---|
| 1 | gpt-6-astra xhigh · OpenAI Available | 74% ±3% | $6.52 | 29 |
| 2 | gemini-3.8-flash high · Google | 74% ±1% | $2.36 | 166 |
| 3 | claude-opus-5 max · Anthropic | 74% ±4% | $11.84 | 99 |
| 4 | gpt-5.6-sol max · OpenAI Available | 73% ±3% | $6.46 | 61 |
| 5 | claude-fable-5 xhigh · Anthropic | 70% ±3% | $13.41 | 68 |
| 6 | gpt-5.6-terra max · OpenAI Available | 70% ±3% | $3.96 | 76 |
| 7 | glm-5.3 max · ZAI | 69% ±3% | $3.99 | 124 |
| 8 | kimi-k3 max · Moonshot | 69% ±5% | $4.65 | 98 |
| 9 | grok-4.6 medium · xAI | 67% ±2% | $3.45 | 70 |
| 10 | gpt-5.6-luna max · OpenAI Available | 67% ±4% | $0.61 | 102 |
| 11 | gpt-5.5 xhigh · OpenAI Available | 67% ±6% | $7.23 | 82 |
| 12 | gemini-3.7-flash medium · Google | 65% ±3% | $2.03 | 117 |
| 13 | glm-5.3-flash max · ZAI | 63% ±4% | $0.24 | 123 |
| 14 | deepseek-v4-pro max · DeepSeek | 63% ±6% | $1.67 | 155 |
Highlighted rows are available on Smart AIPI. Source: DeepSWE benchmark by Datacurve — 113 tasks · 91 repos · 5 languages · all models on mini-swe-agent · as of Sep 3, 2026.
透明定价
只为你使用的部分付费。无隐藏费用。
Chat 和 Reasoning 模型
| 模型 | 输入 /1M | 缓存输入 /1M | 输出 /1M | 上下文 |
|---|---|---|---|---|
| gpt-6-astra 推荐 | $2.50 | $0.25 | $12.50 | 1M tokens* |
| gpt-5.6-terra | $0.625 | $0.0625 | $3.75 | 1M tokens* |
| gpt-5.6-sol | $1.25 | $0.125 | $7.50 | 1M tokens* |
| gpt-5.6-luna | $0.05 | $0.005 | $0.30 | 1M tokens* |
* GPT-5.4 支持最高 1M context。超过标准 272K context window 的请求将按正常费率的 2 倍计费。
图片生成
Token 定价 (每 1M tokens)
| 模型 | 输入 | 输出 |
|---|---|---|
| gpt-image-2.5-flare / 最新 | $2.50 | $10.00 |
| gpt-image-2.5-sunburst | $2.50 | $10.00 |
| gpt-image-2 | $2.50 | $10.00 |
| gpt-image-1.5 | $2.50 | $5.00 |
| gpt-image-1-mini | $1.00 | $4.00 |
按图片计费 (1024×1024)
| 模型 | 低 | 中 | 高 |
|---|---|---|---|
| gpt-image-2.5-flare / 最新 | $0.003 | $0.0265 | $0.1055 |
| gpt-image-2.5-sunburst | $0.003 | $0.0265 | $0.1055 |
| gpt-image-2 | $0.003 | $0.0265 | $0.1055 |
| gpt-image-1.5 | $0.0045 | $0.017 | $0.067 |
| gpt-image-1-mini | $0.0025 | $0.0055 | $0.018 |
更大尺寸(1024×1536、1536×1024)的价格约为标价的 1.5×。
自动 Prompt Caching
Prompt caching 会自动生效。当你的请求共享相同前缀(system prompt、对话历史)时,cached input tokens 的费用最多可比普通 input tokens 低 90%。无需任何配置。
- ✓ 缓存是自动的——相同前缀会被缓存并复用
- ✓ Cached tokens 会显示在 API 响应中的
prompt_tokens_details.cached_tokens - ✓ 你的 dashboard 会显示 cached 与 non-cached token 明细
- ✓ 带有大型 system prompts 的编码 agents 通常可获得 30-50% 的缓存命中率
成本计算器
估算你的每月成本
估算文本和图片工作负载的每月成本。
估算值仅供参考,基于当前标价。为了便于对比,OpenAI 直连成本按 Smart AIPI 价格的 4 倍展示。
工具集成
与你喜爱的工具无缝协作
OpenCode
将 Smart AIPI 用作你的 OpenCode 后端。通过我们的 Codex 模型获得完整代码库理解能力。
Codex CLI 工具
将终端输出接入我们的 Codex 模型,实现即时调试和代码生成。