$1 in free API credits on sign-up + 50% bonus on your first top-up — no credit card required

Frontier AI.
Simple API.

Drop-in replacement for OpenAI. Same endpoints, same SDKs, better pricing. Change one line and start building.

Pay-as-you-go pricing. No minimums, no monthly commitments.

Just change the base URL
// Before (OpenAI)
baseURL: "https://api.openai.com/v1"

// After (Smart AIPI)
baseURL: "https://api.smartaipi.com/v1"

Available Models

Access all frontier models through a single API

GPT Series

Frontier language models for general tasks

  • gpt-6-astra Latest
  • 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.

Transparent Pricing

Pay only for what you use. No hidden fees.

Chat & Reasoning Models

Model Input /1M Cached Input /1M Output /1M Context
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 supports up to 1M context. Requests exceeding the standard 272K context window are charged at 2x the normal rate.

Image Generation

Token pricing (per 1M tokens)

Model Input Output
gpt-image-2.5-flare / Latest $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

Per-image pricing (1024×1024)

Model Low Medium High
gpt-image-2.5-flare / Latest $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

Larger sizes (1024×1536, 1536×1024) cost ~1.5× the listed price.

Automatic Prompt Caching

Prompt caching happens automatically. When your requests share the same prefix (system prompt, conversation history), cached input tokens are charged at up to 90% less than regular input tokens. No configuration needed.

  • Caching is automatic — identical prefixes are cached and reused
  • Cached tokens are visible in API responses under prompt_tokens_details.cached_tokens
  • Your dashboard shows cached vs non-cached token breakdown
  • Coding agents with large system prompts typically see 30-50% cache hit rates

Cost Calculator

Estimate Your Monthly Cost

Estimate your monthly cost for text and image workloads.

1M 1B
5% 200%
0% 99%
OpenAI Direct Cost
Smart AIPI Cost
You Save
10 10,000
Cost per Image
Monthly Cost

Estimates are approximate and based on current list pricing. OpenAI direct cost is shown as 4x Smart AIPI pricing for comparison.

Tool Integrations

Works seamlessly with your favorite tools

OpenCode

Use Smart AIPI as your OpenCode backend. Full codebase understanding with our Codex models.

# In ~/.config/opencode/opencode.json
"npm": "@ai-sdk/openai-compatible"
"baseURL": "https://api.smartaipi.com/v1"

Codex CLI Tools

Pipe terminal output into our Codex models for instant debugging and code generation.

# Debug errors instantly
cat error.log | codex fix --model gpt-6-astra

Ready to build?

Get your API key in seconds and start building with AI.

Get Your Free API Key

Message sent

We'll get back to you within 2 business days.

Contact Support

Have a question or need help? Send us a message and we'll get back to you within 2 business days.