Get your API key, make your first request, start building.
sk-)from openai import OpenAI
client = OpenAI(
api_key="sk-your-key-here",
base_url="https://cheapai.space/v1"
)
response = client.chat.completions.create(
model="cheapai-chat",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
import OpenAI from 'openai';
const client = new OpenAI({
apiKey: 'sk-your-key-here',
baseURL: 'https://cheapai.space/v1'
});
const response = await client.chat.completions.create({
model: 'cheapai-chat',
messages: [{ role: 'user', content: 'Hello!' }]
});
console.log(response.choices[0].message.content);
curl https://cheapai.space/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-your-key-here" \
-d '{"model":"cheapai-chat","messages":[{"role":"user","content":"Hello!"}]}'
Lightning fast
Balanced & capable
Advanced reasoning
All models support image inputs using OpenAI's vision format. Same $1/M tokens pricing.
response = client.chat.completions.create(
model="cheapai-chat",
messages=[{
"role": "user",
"content": [
{"type": "text", "text": "Describe this image."},
{"type": "image_url", "image_url": {"url": "https://example.com/photo.jpg"}}
]
}]
)
import base64
with open("photo.jpg", "rb") as f:
b64 = base64.b64encode(f.read()).decode()
response = client.chat.completions.create(
model="cheapai-chat",
messages=[{
"role": "user",
"content": [
{"type": "text", "text": "Describe this image."},
{"type": "image_url", "image_url": {"url": f"data:image/jpeg;base64,{b64}"}}
]
}]
)
Visit your Dashboard to see:
Remaining Balance
Real-time
Token Usage
30-day chart
Request History
Last 50 calls
$1 per million tokens — ~10x cheaper than GPT-4o. Minimum charge 1 cent per request. No monthly fees, no minimums.
Yes. Change base_url to https://cheapai.space/v1 in your OpenAI SDK. All your existing code works.
No. Your credits never expire. Use them whenever you want.
Yes! Set stream: true in your request for real-time token-by-token output (Server-Sent Events). Fully OpenAI-compatible.
API calls return a 402 error. Top up on the pricing page to continue.
Questions, issues, feedback — we're here.
hello@cheapai.space
Copy the address above and email us directly
We typically respond within a few hours.