# Open-Source LLM APIs

> Hosted APIs for open-weight language models: DeepSeek, Qwen, Kimi, GLM, MiniMax, MiMo, Hunyuan, gpt-oss and Llama, without running your own GPUs.

Source: https://www.sandbase.ai/models/open-source-llms

## Models

- [DeepSeek V4 Pro](https://www.sandbase.ai/models/deepseek/deepseek-v4-pro.md): `deepseek/deepseek-v4-pro`; $0.99 per 1M input tokens, $2.97 per 1M output tokens (25% off list price); DeepSeek V4 Pro is the large tier of DeepSeek's V4 family, a 1.6T-parameter mixture-of-experts model with 49B active parameters, introduced as an open-weight preview in April 2026 with a 1M-token cont...
- [DeepSeek V3.2](https://www.sandbase.ai/models/deepseek/deepseek-v3.2.md): `deepseek/deepseek-v3.2`; $0.25 per 1M input tokens, $0.38 per 1M output tokens; DeepSeek-V3.2 is DeepSeek's open-weight, reasoning-first model released in December 2025 as the official successor to V3.2-Exp. It introduces DeepSeek Sparse Attention to reduce long-context training ...
- [Alibaba Qwen3.8 2.4T A95B](https://www.sandbase.ai/models/alibaba/qwen3.8-2.4t-a95b.md): `alibaba/qwen3.8-2.4t-a95b`; $2 per 1M input tokens, $6 per 1M output tokens; Qwen3.8 2.4T A95B is the open-weight release of Alibaba's Qwen3.8 Max-class model, a sparse Mixture-of-Experts with 2.4 trillion total and about 95 billion active parameters, published in August 2026 ...
- [Alibaba Qwen3.8 27B](https://www.sandbase.ai/models/alibaba/qwen3.8-27b.md): `alibaba/qwen3.8-27b`; $0.50 per 1M input tokens, $3 per 1M output tokens; Qwen3.8 27B is the compact dense member of Alibaba's Qwen3.8 family, an open-weight native vision-language model that understands images and video, with thinking mode on by default. Compared with Qwen...
- [Alibaba Qwen3.6 27B](https://www.sandbase.ai/models/alibaba/qwen3.6-27b.md): `alibaba/qwen3.6-27b`; $0.60 per 1M input tokens, $3.60 per 1M output tokens; Qwen3.6 27B is an open-weight dense 27-billion-parameter vision-language model in Alibaba's Qwen3.6 family, released in April 2026 with thinking and non-thinking modes. Qwen positions it for agentic c...
- [Alibaba Qwen3.5-35B-A3B](https://www.sandbase.ai/models/alibaba/qwen3.5-35b-a3b.md): `alibaba/qwen3.5-35b-a3b`; $0.25 per 1M input tokens, $2 per 1M output tokens; Qwen3.5 35B A3B is an open-weight native vision-language model from Alibaba's Qwen3.5 series, released in February 2026, pairing linear attention with a sparse Mixture-of-Experts design that activates...
- [Moonshot AI Kimi K3.1 Pro](https://www.sandbase.ai/models/moonshotai/kimi-k3.1-pro.md): `moonshotai/kimi-k3.1-pro`; $1.70 per 1M input tokens, $8.50 per 1M output tokens (15% off list price); Kimi K3.1 Pro is Moonshot AI's flagship open-weight multimodal reasoning model, a post-trained successor to Kimi K3 with a 1M-token context window. It accepts text, image and video input and is built ...
- [Moonshot AI Kimi K3](https://www.sandbase.ai/models/moonshotai/kimi-k3.md): `moonshotai/kimi-k3`; $2.10 per 1M input tokens, $10.50 per 1M output tokens (30% off list price); Kimi K3 is Moonshot AI's flagship model, a 2.8-trillion-parameter open-weight mixture-of-experts model with native visual understanding and a 1M-token context. It is built on Kimi Delta Attention, a h...
- [Z.ai GLM 5.2](https://www.sandbase.ai/models/z-ai/glm-5.2.md): `z-ai/glm-5.2`; $1.26 per 1M input tokens, $3.96 per 1M output tokens (10% off list price); GLM-5.2 is Z.ai's open-weight flagship text model released in June 2026 for long-horizon tasks, and the first GLM model to deliver that capability on a usable 1M-token context. Z.ai positions it for p...
- [MiniMax M3.1 Flash](https://www.sandbase.ai/models/minimax/minimax-m3.1-flash.md): `minimax/minimax-m3.1-flash`; $0.15 per 1M input tokens, $0.60 per 1M output tokens; MiniMax-M3.1-Flash is the fast, cost-efficient tier of MiniMax's M3.1 generation, which MiniMax describes as an ultra-efficient open-weight model for everyday work. It is a multimodal coding model tha...
- [MiniMax M3](https://www.sandbase.ai/models/minimax/minimax-m3.md): `minimax/minimax-m3`; $0.22 per 1M input tokens, $0.90 per 1M output tokens (25% off list price); MiniMax-M3 is MiniMax's flagship multimodal foundation model, which MiniMax describes as open-weight. It is built on MiniMax Sparse Attention, which selects key-value blocks to cut long-context comput...
- [Xiaomi MiMo-V2.6-Pro](https://www.sandbase.ai/models/xiaomi/mimo-v2.6-pro.md): `xiaomi/mimo-v2.6-pro`; $0.43 per 1M input tokens, $0.87 per 1M output tokens; MiMo-V2.6-Pro is the flagship of Xiaomi's open-source MiMo-V2.6 series, a trillion-parameter, natively omni-modal reasoning model released in September 2026 that takes text, image, video and audio inp...
- [Xiaomi MiMo-V2.6-Flash](https://www.sandbase.ai/models/xiaomi/mimo-v2.6-flash.md): `xiaomi/mimo-v2.6-flash`; $0.14 per 1M input tokens, $0.28 per 1M output tokens; MiMo-V2.6-Flash is the efficiency tier of Xiaomi's open-source MiMo-V2.6 series, released in September 2026 as a natively omni-modal reasoning model that takes text, image, video and audio input and r...
- [Tencent Hy4 preview](https://www.sandbase.ai/models/tencent/hy4-preview.md): `tencent/hy4-preview`; $0.83 per 1M input tokens, $2.50 per 1M output tokens; Hy4 preview is Tencent Hunyuan's open-source preview of its Hy4 generation, a mixture-of-experts language model with 770B total and 49B active parameters and a context window exceeding 1M tokens. Tenc...
- [OpenAI gpt-oss-120b](https://www.sandbase.ai/models/openai/gpt-oss-120b.md): `openai/gpt-oss-120b`; $0.04 per 1M input tokens, $0.16 per 1M output tokens (10% off list price); gpt-oss-120b is OpenAI's largest open-weight reasoning model, released in August 2025 under the Apache 2.0 license: a 117B-parameter mixture-of-experts model with 5.1B active parameters that fits on a...
- [Meta Llama 3.3 70B Instruct](https://www.sandbase.ai/models/meta/llama-3.3-70b-instruct.md): `meta/llama-3.3-70b-instruct`; $0.10 per 1M input tokens, $0.32 per 1M output tokens; Llama 3.3 70B Instruct is Meta's instruction-tuned, text-only multilingual model released on December 6, 2024, built on an optimized transformer with grouped-query attention and a 128K-token context. ...

## Model lineup

Context window and positioning from each provider.

| Model | Context | Positioning |
| --- | --- | --- |
| DeepSeek V4 Pro | 1049K | DeepSeek V4 Pro is the large tier of DeepSeek's V4 family, a 1.6T-parameter mixture-of-experts model with 49B active parameters, introduced as an… |
| Kimi K3 | 1049K | Kimi K3 is Moonshot AI's flagship model, a 2.8-trillion-parameter open-weight mixture-of-experts model with native visual understanding and a… |
| GLM 5.2 | 1049K | GLM-5.2 is Z.ai's open-weight flagship text model released in June 2026 for long-horizon tasks, and the first GLM model to deliver that capability… |
| DeepSeek V3.2 | 131K | DeepSeek-V3.2 is DeepSeek's open-weight, reasoning-first model released in December 2025 as the official successor to V3.2-Exp |
| MiniMax M3 | 1000K | MiniMax-M3 is MiniMax's flagship multimodal foundation model, which MiniMax describes as open-weight |
| MiMo-V2.6-Pro | 1050K | MiMo-V2.6-Pro is the flagship of Xiaomi's open-source MiMo-V2.6 series, a trillion-parameter, natively omni-modal reasoning model released in… |
| MiMo-V2.6-Flash | 1050K | MiMo-V2.6-Flash is the efficiency tier of Xiaomi's open-source MiMo-V2.6 series, released in September 2026 as a natively omni-modal reasoning model… |
| Llama 3.3 70B Instruct | 131K | Llama 3.3 70B Instruct is Meta's instruction-tuned, text-only multilingual model released on December 6, 2024, built on an optimized transformer… |
| Qwen3.5-35B-A3B | 262K | Qwen3.5 35B A3B is an open-weight native vision-language model from Alibaba's Qwen3.5 series, released in February 2026, pairing linear attention… |
| Qwen3.6 27B | 262K | Qwen3.6 27B is an open-weight dense 27-billion-parameter vision-language model in Alibaba's Qwen3.6 family, released in April 2026 with thinking and… |
| gpt-oss-120b | 131K | gpt-oss-120b is OpenAI's largest open-weight reasoning model, released in August 2025 under the Apache 2.0 license: a 117B-parameter… |
| Qwen3.8 2.4T A95B | 1000K | Qwen3.8 2.4T A95B is the open-weight release of Alibaba's Qwen3.8 Max-class model, a sparse Mixture-of-Experts with 2.4 trillion total and about 95… |

## Overview

### Open models, served for you

Open-weight models can be self-hosted, fine-tuned and audited. SandBase serves them over the OpenAI-compatible `POST /v1/chat/completions`, so you can prototype and run production traffic without managing GPUs, then self-host later if you need to.

Every model on this page is described as open-weight or open-source in its catalog entry.

#### On this page

- **Large MoE models:** DeepSeek V4 Pro and V3.2, Qwen3.8 2.4T A95B, Kimi K3.1 Pro and K3, GLM 5.2, MiniMax M3, MiMo V2.6 Pro, Hunyuan Hy4 Preview.
- **Compact and efficient models:** Qwen3.8 27B, Qwen3.6 27B, Qwen3.5 35B A3B, MiniMax M3.1 Flash, MiMo V2.6 Flash.
- **Western open models:** OpenAI gpt-oss-120b and Meta Llama 3.3 70B.

Licences differ by model; check the provider's licence before you self-host or fine-tune. More Chinese models are on [Chinese LLM APIs](https://www.sandbase.ai/models/chinese-llms).

## Start using Open-Source LLM APIs on SandBase

Switch models by changing one field.

1. **Create an API key** Sign in to the SandBase Console and create a key on the API Keys page. Keep it in an environment variable and never commit it to source control.

```
export SANDBASE_API_KEY="YOUR_SANDBASE_API_KEY"
```

2. **Send a chat request** Call the OpenAI-compatible Chat Completions API with model deepseek/deepseek-v4-pro. Any OpenAI SDK works with base URL https://api.sandbase.ai/v1.

```
curl https://api.sandbase.ai/v1/chat/completions \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "deepseek/deepseek-v4-pro", "messages": [{"role": "user", "content": "Explain vector databases in two sentences."}]}'
```

3. **Connect your AI tools** Use the same key in Claude Code, Codex, Cursor and other clients. See Use in AI tools for setup.

## FAQ

### Why use an API for an open model?

To avoid running GPUs, scaling and upgrades yourself. Your prompts and outputs stay portable if you move to self-hosting later.

### Are these models free?

The weights are openly available, but hosted inference is billed per token. Prices are on each card.

### Can I move to self-hosting later?

Yes. Requests use the OpenAI-compatible format, which most self-hosted inference servers also accept.

### Which licence applies?

Each model’s own licence from its provider. Check the provider page before commercial self-hosting.

## Use it through SandBase

- Base URL: `https://api.sandbase.ai/v1`, with `Authorization: Bearer $SANDBASE_API_KEY`.
- Language models use the OpenAI-compatible `POST /v1/chat/completions`; media models use `POST /v1/run`; data APIs use `POST /v1/api/{vendor}/{endpoint}`.
- AI agents can connect through the SandBase MCP server or CLI: https://www.sandbase.ai/skill.md
- Every model and API page has a Markdown twin at the same URL plus `.md`. Full index: https://www.sandbase.ai/llms.txt
