Apertus 8B Instruct API Pricing
As of October 10, 2026, Apertus 8B Instruct is free to use on PublicAI. It has an 8,192-token context window and returns up to 4,096 tokens per response.
- Price
- Free
- Context window
- 8,192 tokens
- Max output
- 4,096 tokens
- Providers
- 1
- Added to LiteLLM
- December 2025
Apertus 8B Instruct pricing by provider
1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Context |
|---|---|---|---|---|
| PublicAI | publicai/swiss-ai/apertus-8b-instruct | $0 | $0 | 8K |
What Apertus 8B Instruct costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| PublicAI | $0 |
Apertus 8B Instruct features
- Function calling
Use Apertus 8B Instruct with LiteLLM
Call Apertus 8B Instruct through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="publicai/swiss-ai/apertus-8b-instruct",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: apertus-8b-instruct
litellm_params:
model: publicai/swiss-ai/apertus-8b-instruct
# credentials: see the provider's LiteLLM docs pagecurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
"model": "apertus-8b-instruct",
"messages": [{"role": "user", "content": "Hello!"}]
}'Apertus 8B Instruct FAQ
How much does Apertus 8B Instruct cost?
Apertus 8B Instruct is free to use on PublicAI.
What is the context window of Apertus 8B Instruct?
Apertus 8B Instruct has an 8,192-token context window and returns up to 4,096 tokens per response.
Which providers offer Apertus 8B Instruct?
Apertus 8B Instruct is available from PublicAI through LiteLLM, using the model name publicai/swiss-ai/apertus-8b-instruct.
How do I call Apertus 8B Instruct with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="publicai/swiss-ai/apertus-8b-instruct", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
What features does Apertus 8B Instruct support?
It does not support function calling.
When did LiteLLM add Apertus 8B Instruct?
Apertus 8B Instruct was added to LiteLLM's model price file in December 2025.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:
LiteLLM docs: PublicAI.
Provider pages: PublicAI.
