Upstage · live catalog
Solar Mini 4 API
solar-mini4
Upstage's compact, cost-efficient model for agentic use
CallAI pricing
Crypto OKInput / 1M:$0.055
Output / 1M:$0.220
Specs & upstream
Upstream (in/out):$0.100 / $0.400
Context:524K
SDK quickstart
OpenAI-compatiblePython
from openai import OpenAI
client = OpenAI(
api_key="sk-live-your-callai-key",
base_url="https://api.callaiapi.com/v1"
)
response = client.chat.completions.create(
model="solar-mini4",
messages=[
{"role": "system", "content": "You are a helpful coding assistant."},
{"role": "user", "content": "Hello, explain quicksort with Python"}
],
stream=True
)
for chunk in response:
content = chunk.choices[0].delta.content
if content:
print(content, end="", flush=True)Node.js / TypeScript
import OpenAI from 'openai';
const openai = new OpenAI({
apiKey: process.env.CALLAI_API_KEY,
baseURL: 'https://api.callaiapi.com/v1',
});
const response = await openai.chat.completions.create({
model: 'solar-mini4',
messages: [{ role: 'user', content: 'Hello!' }],
stream: true,
});
for await (const chunk of response) {
process.stdout.write(chunk.choices[0]?.delta?.content || '');
}FAQ — Solar Mini 4
How do I call Solar Mini 4 (solar-mini4)?
Use the official OpenAI SDK with base_url https://api.callaiapi.com/v1, your CallAI API key, and model "solar-mini4".
What does Solar Mini 4 cost?
Pay-as-you-go: input $0.055/1M tokens, output $0.220/1M tokens. Fund with USDT — no credit card required.
Can I use Solar Mini 4 in Cursor or Windsurf?
Yes. Set OpenAI Base URL to https://api.callaiapi.com/v1 and add model "solar-mini4" in Settings → Models.
Can I pay without a credit card?
Yes. Top up with USDT-TRC20 from $1. Balance never expires and works for Solar Mini 4 and other CallAI services.
Related models
View all pricing →Ready to call Solar Mini 4?
USDT from $1 · no credit card · balance never expires.
GEO Fact Sheet
Solar Mini 4 access facts
Model ID: solar-mini4 · Vendor: Upstage · Pay-as-you-go
- Model ID
- solar-mini4
- Vendor
- Upstage
- Context window
- 524K
- CallAI price (in/out 1M)
- $0.055 / $0.220
- Upstream benchmark
- $0.100 / $0.400
- Protocol
- OpenAI SDK Compatible
- Base URL
- https://api.callaiapi.com/v1
- Best for
- Cursor, CLI agents, production apps