Upstage's compact, cost-efficient language model - a 35B-parameter mixture-of-experts with 3B active parameters and a 524K-token context, built for agentic use cases - served through the OpenRouter aggregator. Billed at OpenRouter's actual usage cost.
Test this model instantly in the Console Playground โ no code required
Copy usage instructions for Claude, ChatGPT, or other AI
| Token Type | Credits | USD Equivalent |
|---|---|---|
| Input Tokens | 93 | $0.06 |
| Output Tokens | 372 | $0.25 |
| Cached Tokens | 9.29 | $0.01 |
* 1,500 credits โ $1 (actual charges may vary based on usage)
curl -X POST "https://api.core.today/llm/openrouter/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "upstage/solar-mini4",
"messages": [
{
"role": "user",
"content": "Summarize the attached report in 5 bullets."
}
],
"max_tokens": 1024
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | - | Model ID in vendor/model form, e.g. "upstage/solar-mini4". |
messages | array | Yes | - | Chat messages in OpenAI format (system/user/assistant roles). |
max_tokens | integer | No | 2048 | Maximum completion tokens. |
stream | boolean | No | false | Stream the response as server-sent events. |
OpenAI-compatible chat completion request via OpenRouter
curl -X POST "https://api.core.today/llm/openrouter/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "upstage/solar-mini4",
"messages": [
{
"role": "user",
"content": "Summarize the attached report in 5 bullets."
}
],
"max_tokens": 1024
}'POST /llm/openrouter/v1/chat/completions