---
title: Free Models Router API | Text Generation | ModelsLab
description: Open-weight language models with configurable reasoning, native tool use, and efficient MoE architecture—optimized for production-grade reasoning.
url: https://modelslab.com/models/openrouter/openrouter-free.md
canonical: https://modelslab.com/models/openrouter/openrouter-free.md
type: product
component: Playground/LLM/Index
generated_at: 2026-06-21T02:23:24.360776Z
---

Free Models Router
---

 [LLMs.txt](https://modelslab.com/models/open_router/openrouter-free/llms.txt) [.md](https://modelslab.com/models/openrouter/openrouter-free.md)

Free Models Router
---

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

### Free Models Router

openrouter openrouter-free

Copy model ID

PricingInput $0.00 / 1M tokens

Output $0.00 / 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)

[#### marin/Marin 8B Instruct

marin-community-marin-8b-instruct

From $0.22/M tokens](https://modelslab.com/models/marin/marin-community-marin-8b-instruct)

[#### open\_router/Amazon: Nova Pro 1.0

amazon-nova-pro-v1

From $2.00/M tokens](https://modelslab.com/models/open_router/amazon-nova-pro-v1)

[#### open\_router/DeepSeek: R1 Distill Llama 70B

deepseek-deepseek-r1-distill-llama-70b

From $0.80/M tokens](https://modelslab.com/models/open_router/deepseek-deepseek-r1-distill-llama-70b)

[#### open\_router/Qwen: Qwen3 Max Thinking

qwen-qwen3-max-thinking

From $2.34/M tokens](https://modelslab.com/models/open_router/qwen-qwen3-max-thinking)

[#### together\_ai/Arize AI Qwen 2 1.5B Instruct

arize-ai-qwen-2-1.5b-instruct

From $0.10/M tokens](https://modelslab.com/models/together_ai/arize-ai-qwen-2-1.5b-instruct)

[#### open\_router/Z.ai: GLM 5.2

z-ai-glm-5.2

From $2.65/M tokens](https://modelslab.com/models/open_router/z-ai-glm-5.2)

[#### open\_router/Qwen: Qwen3.5 397B A17B

qwen-qwen3.5-397b-a17b

From $1.42/M tokens](https://modelslab.com/models/open_router/qwen-qwen3.5-397b-a17b)

[#### open\_router/Meta: Llama 3.2 1B Instruct

meta-llama-llama-3.2-1b-instruct

From $0.11/M tokens](https://modelslab.com/models/open_router/meta-llama-llama-3.2-1b-instruct)

[#### open\_router/ByteDance: UI-TARS 7B 

bytedance-ui-tars-1.5-7b

From $0.15/M tokens](https://modelslab.com/models/open_router/bytedance-ui-tars-1.5-7b)

[#### open\_router/Amazon: Nova Lite 1.0

amazon-nova-lite-v1

From $0.15/M tokens](https://modelslab.com/models/open_router/amazon-nova-lite-v1)

[#### open\_router/Anthropic: Claude Opus 4.5

anthropic-claude-opus-4.5

From $15.00/M tokens](https://modelslab.com/models/open_router/anthropic-claude-opus-4.5)

[#### scb10x/Typhoon 2 70B Instruct

scb10x-scb10x-llama3-1-typhoon2-70b-instruct

From $1.06/M tokens](https://modelslab.com/models/scb10x/scb10x-scb10x-llama3-1-typhoon2-70b-instruct)

[#### open\_router/Qwen: Qwen3 30B A3B Instruct 2507

qwen-qwen3-30b-a3b-instruct-2507

From $0.12/M tokens](https://modelslab.com/models/open_router/qwen-qwen3-30b-a3b-instruct-2507)

[#### open\_router/Mistral: Ministral 3 14B 2512

mistralai-ministral-14b-2512

From $0.20/M tokens](https://modelslab.com/models/open_router/mistralai-ministral-14b-2512)

[#### open\_router/Google: Gemini 3.1 Flash Lite Preview

google-gemini-3.1-flash-lite-preview

From $0.88/M tokens](https://modelslab.com/models/open_router/google-gemini-3.1-flash-lite-preview)

[#### arcee\_ai/Arcee AI Spotlight

arcee\_ai-arcee-spotlight

From $0.22/M tokens](https://modelslab.com/models/arcee_ai/arcee_ai-arcee-spotlight)

[#### open\_router/Tencent: Hy3 preview

tencent-hy3-preview

From $0.14/M tokens](https://modelslab.com/models/open_router/tencent-hy3-preview)

[#### open\_router/Writer: Palmyra X5

writer-palmyra-x5

From $3.30/M tokens](https://modelslab.com/models/open_router/writer-palmyra-x5)

Open Source Alternatives
---

Explore open-source models that offer similar capabilities with full transparency and flexibility

 [View all open source models](https://modelslab.com/models?feature=llm&provider=open-source-models)

[MU

Popular](https://modelslab.com/models/modelslab/uncensored-chat)[ModelsLab](https://modelslab.com/models/modelslab)

 [Modelslab: Uncensored Chat

Open Source Model](https://modelslab.com/models/modelslab/uncensored-chat)

About Free Models Router
---

The simplest way to get free inference. openrouter/free is a router that selects free models at random from the models available on OpenRouter. The router smartly filters for models that support features needed for your request such as image understanding, tool calling, structured outputs and more.

### Technical Specifications

Model IDopenrouter-free

CategoryLLM Models

TaskText Generation

AddedFebruary 20, 2026

### 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 Free Models Router 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": "openrouter-free",
        "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>
```

### Use Cases

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

[Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Openrouter](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

Free Models Router FAQ
---

### What is Free Models Router?

The simplest way to get free inference. openrouter/free is a router that selects free models at random from the models available on OpenRouter. The router smartly filters for models that support features needed for your request such as image understanding, tool calling, structured outputs and more.

### How do I use the Free Models Router API?

You can integrate Free Models Router into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "openrouter-free" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### What is the Free Models Router model ID?

The model ID for Free Models Router is "openrouter-free". Use this ID in your API requests to specify this model.

### Does Free Models Router have a free tier?

Yes, ModelsLab offers a free tier that lets you try Free Models Router 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-06-21*