---
title: LiquidAI: LFM3 1.7B API | Text Generation | ModelsLab
description: Build with LiquidAI: LFM3 1.7B API by Liquid. Text generation, chat, code, and reasoning. Plans from $21/month.
url: https://modelslab.com/models/liquid/liquid-lfm-3-1.7b.md
canonical: https://modelslab.com/models/liquid/liquid-lfm-3-1.7b
type: product
component: Playground/LLM/Index
generated_at: 2026-11-10T13:02:29.720245Z
---

LiquidAI: LFM3-1.7B
---

 [LLMs.txt](https://modelslab.com/models/liquid/liquid-lfm-3-1.7b/llms.txt) [.md](https://modelslab.com/models/liquid/liquid-lfm-3-1.7b.md)

LiquidAI: LFM3-1.7B
---

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

text files

Send

### LiquidAI: LFM3-1.7B

liquid liquid-lfm-3-1.7b

Copy model ID

PricingInput $0.08 / 1M tokens

Output $0.20 / 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 Tokens4000

Top P0.9

Frequency Penalty0

Presence Penalty0

Thinkinglow

lowmediumhigh

Deeper thinking spends more of the Max Tokens budget before the answer starts.

Model Info

Support

Looking for something different?
---

Models that trade off differently against the one you are viewing

### Better quality

Newer flagship models that generally produce stronger results.

[OpenAI](https://modelslab.com/models/openai)

 [GPT 5.2](https://modelslab.com/models/openai/gpt-5.2)

[OpenAI](https://modelslab.com/models/openai)

 [GPT 5.1](https://modelslab.com/models/openai/gpt5.1)

[OpenAI](https://modelslab.com/models/openai)

 [GPT-5.1-Codex-Max](https://modelslab.com/models/openai/gpt-5.1-codex-max)

### Lower cost per run

Open-source models we host, unlimited on the $149/month plan.

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

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

[OpenAI](https://modelslab.com/models/openai)

 [gpt-oss-20b](https://modelslab.com/models/openai/gpt-oss-20b)Closed Source Model

[DeepSeek](https://modelslab.com/models/open_router)

 [DeepSeek: DeepSeek V4 Flash 0423](https://modelslab.com/models/deepseek/deepseek-deepseek-v4-flash)Closed Source Model

[Qwen](https://modelslab.com/models/open_router)

 [Qwen3.5 9B FP8](https://modelslab.com/models/Qwen/Qwen-Qwen3.5-9B)Closed Source Model

[Qwen](https://modelslab.com/models/open_router)

 [Qwen3 30B A3b](https://modelslab.com/models/Qwen/Qwen-Qwen3-30B-A3B)Closed Source Model

[Google](https://modelslab.com/models/google_deepmind)

 [Gemma 3N E4B Instruct](https://modelslab.com/models/google/google-gemma-3n-E4B-it)Closed Source Model

Related Models
---

Discover similar models you might be interested in

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

[#### Qwen/Qwen2.5-VL (72B) Instruct

Qwen-Qwen2.5-VL-72B-Instruct

From $4.97/M tokens](https://modelslab.com/models/Qwen/Qwen-Qwen2.5-VL-72B-Instruct)

[#### Qwen/Qwen2.5 72B Instruct Turbo

Qwen-Qwen2.5-72B-Instruct-Turbo

From $1.20/M tokens](https://modelslab.com/models/qwen/Qwen-Qwen2.5-72B-Instruct-Turbo)

[#### BytePlus/Seed 1.8

seed-1.8

From $3.00/M tokens](https://modelslab.com/models/byteplus/seed-1.8)

[#### StepFun/StepFun: Step 3.7 Flash

stepfun-step-3.7-flash

From $0.68/M tokens](https://modelslab.com/models/stepfun/stepfun-step-3.7-flash)

[#### Aion Labs/AionLabs: Aion-3.0-Mini

aion-labs-aion-3.0-mini

From $1.05/M tokens](https://modelslab.com/models/aion-labs/aion-labs-aion-3.0-mini)

[#### ByteDance Seed/ByteDance Seed: Seed-2.0-Code

bytedance-seed-seed-2.0-code

From $1.75/M tokens](https://modelslab.com/models/bytedance-seed/bytedance-seed-seed-2.0-code)

[#### Meta/Meta: Llama 3.2 3B Instruct

meta-llama-llama-3.2-3b-instruct

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

[#### Arcee AI/Arcee AI Spotlight

arcee\_ai-arcee-spotlight

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

[#### NVIDIA/NVIDIA: Nemotron 3 Ultra

nvidia-nemotron-3-ultra-550b-a55b

From $1.50/M tokens](https://modelslab.com/models/nvidia/nvidia-nemotron-3-ultra-550b-a55b)

[#### Anthropic/Anthropic: Claude Fable 5.1

anthropic-claude-fable-5.1

From $30.00/M tokens](https://modelslab.com/models/anthropic/anthropic-claude-fable-5.1)

[#### Google/Gemini 2.5 Flash Image Preview 

gemini-2.5-flash-image-preview

From $1.40/M tokens](https://modelslab.com/models/google/gemini-2.5-flash-image-preview)

[#### Alibaba Cloud/Qwen: Qwen3.5-27B

qwen-qwen3.5-27b

From $1.35/M tokens](https://modelslab.com/models/alibaba_cloud/qwen-qwen3.5-27b)

[#### Xiaomi/Xiaomi: MiMo-V2.6-Pro

xiaomi-mimo-v2.6-pro

From $0.65/M tokens](https://modelslab.com/models/xiaomi/xiaomi-mimo-v2.6-pro)

[#### xAI/xAI: Grok Latest

x-ai-grok-latest

From $4.00/M tokens](https://modelslab.com/models/x-ai/x-ai-grok-latest)

[#### Anthropic/Anthropic: Claude Fable 5.2

anthropic-claude-fable-5.2

From $24.00/M tokens](https://modelslab.com/models/anthropic/anthropic-claude-fable-5.2)

[#### OpenAI/OpenAI: GPT-6.1 Terra Pro (batch)

openai-gpt-6.1-terra-pro-batch

From $1.50/M tokens](https://modelslab.com/models/openai/openai-gpt-6.1-terra-pro-batch)

[#### Xiaomi/Xiaomi: MiMo-V2.6-Pro-UltraSpeed

xiaomi-mimo-v2.6-pro-ultraspeed

From $6.53/M tokens](https://modelslab.com/models/xiaomi/xiaomi-mimo-v2.6-pro-ultraspeed)

[#### Google/Google: Gemini 3.8 Flash (batch)

google-gemini-3.8-flash-batch

From $1.13/M tokens](https://modelslab.com/models/google/google-gemini-3.8-flash-batch)

About LiquidAI: LFM3-1.7B
---

A compact 1.7B-parameter text model with a 256K-token context, post-trained for agents, tool calling, and structured outputs. It reasons before it answers. Prompts and outputs may be retained and used...

### Technical Specifications

Model IDliquid-lfm-3-1.7b

CategoryLLM Models

TaskText Generation

Price$0.14 per million tokens

AddedNovember 7, 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 LiquidAI: LFM3-1.7B 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": "liquid-lfm-3-1.7b",
        "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>
```

### Pricing

LiquidAI: LFM3-1.7B API costs $0.14 per million tokens. Plans start at $21/month, and open-source models are unlimited on the $149/month plan. [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

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

LiquidAI: LFM3-1.7B FAQ
---

### What is LiquidAI: LFM3-1.7B?

A compact 1.7B-parameter text model with a 256K-token context, post-trained for agents, tool calling, and structured outputs. It reasons before it answers. Prompts and outputs may be retained and used...

### How do I use the LiquidAI: LFM3-1.7B API?

You can integrate LiquidAI: LFM3-1.7B into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "liquid-lfm-3-1.7b" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does LiquidAI: LFM3-1.7B cost?

LiquidAI: LFM3-1.7B costs $0.14 per million tokens. ModelsLab plans start at $21/month (Basic), and the $149/month Open Source plan includes unlimited generation on open-source models.

### What is the LiquidAI: LFM3-1.7B model ID?

The model ID for LiquidAI: LFM3-1.7B is "liquid-lfm-3-1.7b". Use this ID in your API requests to specify this model.

### Do I need a paid plan to use LiquidAI: LFM3-1.7B?

Yes. ModelsLab is subscription-based with no free tier — plans start at $21/month (Basic, 3,250 API calls). The $149/month Open Source Unlimited plan includes unlimited generation across open-source models; premium third-party models are billed per call from your wallet.

---

*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-11-10*