upstage
Upstage: Solar Pro 4
Solar Pro 4 is a large language model from Upstage. It is suited for agentic workflows, office productivity, document-intensive work, and coding.
Context
524k tokens
Input / 1M tokens
$0.30
Output / 1M tokens
$1.20
Benchmark
—
Pricing
Input tokens$0.30 per 1M tokens
Output tokens$1.20 per 1M tokens
Cache read$0.06 per 1M tokens
Technical details
Model IDupstage/solar-pro4
Context window524k tokens
Input modalitiestext
Output modalitiestext
TokenizerOther
Max output tokens131,072
Use with MegaBrain
import OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'https://getmegabrain.com/api/gateway/v1',
apiKey: process.env.MEGABRAIN_API_KEY,
})
const response = await client.chat.completions.create({
model: 'upstage/solar-pro4',
messages: [{ role: 'user', content: 'Hello!' }],
})Ready to use Upstage: Solar Pro 4?
Get an API key and start making requests in minutes.
Get an API key