---
title: Typhoon 2.1 12B API | Text Generation | ModelsLab
description: Thai-focused large language model with 12 billion parameters, 128K token context length, and advanced function-calling for chat, content creation, and.
url: https://modelslab.com/models/meta/scb10x-scb10x-typhoon-2-1-gemma3-12b/api.md
canonical: https://modelslab.com/models/meta/scb10x-scb10x-typhoon-2-1-gemma3-12b/api.md
type: product
component: Playground/LLM/Index
generated_at: 2026-04-15T02:10:39.977954Z
---

Typhoon 2.1 12B
---

 [LLMs.txt](https://modelslab.com/models/meta/scb10x-scb10x-typhoon-2-1-gemma3-12b/llms.txt) [.md](https://modelslab.com/models/meta/scb10x-scb10x-typhoon-2-1-gemma3-12b.md)

scb10x-scb10x-typhoon-2-1-gemma3-12b meta Closed Source Model $0.240000 / call

Typhoon 2.1 12B
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### Typhoon 2.1 12B

meta scb10x-scb10x-typhoon-2-1-gemma3-12b

Copy model ID

PricingInput $0.24 / 1M tokens

Output $0.24 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[SR](https://modelslab.com/models/open_router/switchpoint-router)[Open Router](https://modelslab.com/models/open_router)

 [Switchpoint Router

Closed Source Model](https://modelslab.com/models/open_router/switchpoint-router)

[NN](https://modelslab.com/models/open_router/nvidia-nemotron-nano-12b-v2-vl)[Open Router](https://modelslab.com/models/open_router)

 [NVIDIA: Nemotron Nano 12B 2 VL

Closed Source Model](https://modelslab.com/models/open_router/nvidia-nemotron-nano-12b-v2-vl)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3-max)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 Max

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3-max)

[Q0](https://modelslab.com/models/together_ai/Qwen-Qwen3-0.6B-Base)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3 0.6B Base

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3-0.6B-Base)

[OG](https://modelslab.com/models/open_router/openai-gpt-4o-mini-search-preview)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-4o-mini Search Preview

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-4o-mini-search-preview)

[DS](https://modelslab.com/models/together_ai/mistralai-Devstral-Small-2505)[Together AI](https://modelslab.com/models/together_ai)

 [Devstral Small 2505

Closed Source Model](https://modelslab.com/models/together_ai/mistralai-Devstral-Small-2505)

[ZG](https://modelslab.com/models/open_router/z-ai-glm-4.5v)[Open Router](https://modelslab.com/models/open_router)

 [Z.ai: GLM 4.5V

Closed Source Model](https://modelslab.com/models/open_router/z-ai-glm-4.5v)

[AC](https://modelslab.com/models/open_router/anthropic-claude-3.7-sonnet)[Open Router](https://modelslab.com/models/open_router)

 [Anthropic: Claude 3.7 Sonnet

Closed Source Model](https://modelslab.com/models/open_router/anthropic-claude-3.7-sonnet)

[M(](https://modelslab.com/models/together_ai/mistralai-Mistral-7B-Instruct-v0.1)[Together AI](https://modelslab.com/models/together_ai)

 [Mistral (7B) Instruct v0.1

Closed Source Model](https://modelslab.com/models/together_ai/mistralai-Mistral-7B-Instruct-v0.1)

[QC](https://modelslab.com/models/together_ai/Qwen-Qwen3-Coder-480B-A35B-Instruct-FP8)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3 Coder 480B A35B Instruct Fp8

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3-Coder-480B-A35B-Instruct-FP8)

[Q7](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-7B-Instruct-Turbo)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen2.5 7B Instruct Turbo

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-7B-Instruct-Turbo)

[OG](https://modelslab.com/models/open_router/openai-gpt-5.1-chat)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-5.1 Chat

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-5.1-chat)

[T2](https://modelslab.com/models/scb10x/scb10x-scb10x-llama3-1-typhoon2-70b-instruct)[ModelsLab](https://modelslab.com/models/scb10x)

 [Typhoon 2 70B Instruct

Closed Source Model](https://modelslab.com/models/scb10x/scb10x-scb10x-llama3-1-typhoon2-70b-instruct)

[MW](https://modelslab.com/models/open_router/mancer-weaver)[Open Router](https://modelslab.com/models/open_router)

 [Mancer: Weaver (alpha)

Closed Source Model](https://modelslab.com/models/open_router/mancer-weaver)

[XG](https://modelslab.com/models/open_router/x-ai-grok-3-mini-beta)[Open Router](https://modelslab.com/models/open_router)

 [xAI: Grok 3 Mini Beta

Closed Source Model](https://modelslab.com/models/open_router/x-ai-grok-3-mini-beta)

[L4](https://modelslab.com/models/together_ai/meta-llama-Llama-4-Scout-17B-16E)[Together AI](https://modelslab.com/models/together_ai)

 [Llama 4 Scout (17Bx16E)

Closed Source Model](https://modelslab.com/models/together_ai/meta-llama-Llama-4-Scout-17B-16E)

[Q1](https://modelslab.com/models/together_ai/Qwen-Qwen3-1.7B-Base)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3 1.7B Base

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3-1.7B-Base)

[QV](https://modelslab.com/models/qwen/Qwen-Qwen2.5-VL-72B-Instruct)[ModelsLab](https://modelslab.com/models/qwen)

 [Qwen2.5-VL (72B) Instruct

Closed Source Model](https://modelslab.com/models/qwen/Qwen-Qwen2.5-VL-72B-Instruct)

About Typhoon 2.1 12B
---

Typhoon 2.1 12B is a Thai–English instruction-tuned model with 12B parameters, 128K context, and function-calling support.

### Technical Specifications

Model IDscb10x-scb10x-typhoon-2-1-gemma3-12bCategoryLLM ModelsTaskText GenerationPrice$0.240000 per million tokensAddedJuly 22, 2025

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate Typhoon 2.1 12B into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "scb10x-scb10x-typhoon-2-1-gemma3-12b",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

View the [full API documentation](https://modelslab.com/models/meta/scb10x-scb10x-typhoon-2-1-gemma3-12b/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Typhoon 2.1 12B API costs $0.240000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Learn more about Typhoon 2.1 12B](https://modelslab.com/typhoon-21-12b) [Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Meta](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

Typhoon 2.1 12B FAQ
---

### What is Typhoon 2.1 12B?

Typhoon 2.1 12B is a Thai–English instruction-tuned model with 12B parameters, 128K context, and function-calling support.

### How do I use the Typhoon 2.1 12B API?

You can integrate Typhoon 2.1 12B into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "scb10x-scb10x-typhoon-2-1-gemma3-12b" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Typhoon 2.1 12B cost?

Typhoon 2.1 12B costs $0.240000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Typhoon 2.1 12B model ID?

The model ID for Typhoon 2.1 12B is "scb10x-scb10x-typhoon-2-1-gemma3-12b". Use this ID in your API requests to specify this model.

### Does Typhoon 2.1 12B have a free tier?

Yes, ModelsLab offers a free tier that lets you try Typhoon 2.1 12B and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-04-15*