solar pro3 tokenizer
upstage/solar-pro-3solar pro3 tokenizer (upstage/solar-pro-3) is an AI model from Upstage with a 128,000-token context window and 128,000 max output tokens, priced at $0.15/1M input and $0.60/1M output tokens. Available via the haimaker.ai OpenAI-compatible API.
Overview
Upstage solar-pro3 tokenizer - Vocab size: 196,608 - Language support: English, Korean, Japanese and more
Model Card
Upstage solar-pro3 tokenizer
- Vocab size: 196,608
- Language support: English, Korean, Japanese and more
Please use this tokenizer for tokenizing inputs for the Upstage solar-pro3 model.
You can load it with the transformers library like this:
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("upstage/solar-pro3-tokenizer")
text = "Hi, how are you?"
enc = tokenizer.encode(text)
print("Encoded input:")
print(enc)
inv_vocab = {v: k for k, v in tokenizer.get_vocab().items()}
tokens = [inv_vocab[token_id] for token_id in enc]
print("Tokens:")
print(tokens)
number_of_tokens = len(enc)
print("Number of tokens:", number_of_tokens)
Features & Capabilities
| Mode | chat |
| Context Window | 128,000 tokens |
| Max Output | 128,000 tokens |
| Function Calling | Supported |
| Vision | Not supported |
| Reasoning | Supported |
| Web Search | Not supported |
| Url Context | Not supported |
API Usage
from openai import OpenAI
client = OpenAI(
base_url="https://api.haimaker.ai/v1",
api_key="YOUR_API_KEY",
)
response = client.chat.completions.create(
model="upstage/solar-pro-3",
messages=[
{"role": "user", "content": "Hello, how are you?"}
],
)
print(response.choices[0].message.content)Frequently Asked Questions
What is the context window of solar pro3 tokenizer?
solar pro3 tokenizer (upstage/solar-pro-3) has a 128,000-token context window and supports up to 128,000 output tokens per request.
How much does solar pro3 tokenizer cost?
solar pro3 tokenizer is priced at $0.15 per 1M input tokens and $0.60 per 1M output tokens when accessed via the haimaker.ai OpenAI-compatible API.
What features does solar pro3 tokenizer support?
solar pro3 tokenizer supports function calling, reasoning.
How do I use solar pro3 tokenizer via API?
Send requests to https://api.haimaker.ai/v1/chat/completions with model "upstage/solar-pro-3" using any OpenAI-compatible SDK. Authentication uses a Bearer API key from https://app.haimaker.ai.
Use solar pro3 tokenizer with the haimaker API
OpenAI-compatible endpoint. Start building in minutes.