Spiral gives your agent every tool with one account. Browse the tools →

Amp · LLMReleased 2026-10-27

How to Use LFM3-1.7B in Amp

LFM3-1.7B suits focused text tasks, tool calling, and structured output with a 256K-token context window. Liquid AI advises against using it for agentic coding or complex multistep reasoning.

Prompts to try with LFM3-1.7B in Amp

Copy an example into Amp, or ask in your own words.

Use LFM3-1.7B to read the latest test log in this project and extract each failing test name, error message, and reported location as JSON. Preserve the original error text and do not infer causes.

LFM3-1.7BAmp
Try asking
  • Use LFM3-1.7B to classify the issue descriptions in this project's issue export as bug, feature request, documentation, or uncertain. Return one label and one supporting quote per issue.

  • Use LFM3-1.7B to extract configuration names, stated defaults, and descriptions from the project's README. Return JSON and use null wherever the README gives no value.

  • Use LFM3-1.7B with temperature 0.1 and top-k 50 to label the supplied changelog entries as added, changed, fixed, removed, or uncertain. Preserve each entry's original wording.

  • Use LFM3-1.7B to extract timestamps, error codes, and service names from the project's sample logs. Return one JSON record per log entry and leave unstated values null.

How to set up LFM3-1.7B in Amp

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    No header and no client ID or secret: Amp registers itself with Spiral.

    amp mcp add spiral https://api.spiral.ai/mcp
  2. Sign in

    Start amp. Amp opens Spiral's sign-in page in your browser: sign in, pick the organization and click Authorize. No API key.

  3. Check it
    amp mcp doctor

Use the Spiral skill

  1. Send Amp this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run LFM3-1.7B

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "openrouter",
        "model": "liquid/lfm-3-1.7b",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: Amp finds LFM3-1.7B on Spiral, shows the price and runs it.

LFM3-1.7B providers and prices

Spiral runs LFM3-1.7B through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
LiquidAI: LFM3-1.7B
liquid/lfm-3-1.7b

Settings you can ask for

Ask Amp for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Min p0 to 1
Top ka whole number from 0
Top p0 to 1
Logprobson or off
Max tokens1 to 8192

The most output tokens to generate. On a reasoning model the reasoning tokens count toward it: a cap too low for the effort can end with no answer (finish_reason length).

Temperature0 to 2
Top logprobs0 to 20
Presence penalty-2 to 2
Frequency penalty-2 to 2
Repetition penalty0 to 2

Every API field of LiquidAI: LFM3-1.7B is on its tool page: open its card above.

What can you do with LFM3-1.7B in Amp?

Turn project logs and issue descriptions into structured records with LFM3-1.7B. Keep each request focused on extraction or labeling, since Liquid AI advises against agentic coding.

Support request triage

Ask LFM3-1.7B to label each request using your queue definitions and quote the words that justify the label.

Structured record extraction

Turn order messages or intake notes into JSON with LFM3-1.7B. Specify the required fields and use null for missing information.

Answers from supplied reference text

Give LFM3-1.7B relevant help-center excerpts and ask for a short answer with supporting passages and any information still missing.

Tool selection for routine lookups

Ask LFM3-1.7B to select a lookup tool for an order or inventory question, then explain the returned result.

Issue labeling

Have LFM3-1.7B classify issue descriptions against a fixed taxonomy, returning an uncertainty label when the text does not establish a category.

Multilingual message routing

Use LFM3-1.7B to label intent in messages written in its supported languages, keeping the original wording beside each classification for review.

Log detail extraction

Ask LFM3-1.7B to extract timestamps, error codes, and affected services from log text into records without inferring a root cause.

Questions about LFM3-1.7B in Amp

Can Amp use LFM3-1.7B?

Yes. Add Spiral to Amp as an MCP server, and Amp can find and run LFM3-1.7B like any built-in tool.

How much does LFM3-1.7B cost in Amp?

Up to $0.001069 per run at the default inputs. $0.104 per 1M input tokens, $0.26 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Amp plan is separate.

Do I need an OpenRouter account to use LFM3-1.7B in Amp?

No. Spiral runs LFM3-1.7B on its own OpenRouter account. You sign in to Spiral once and never paste a key.

How long does it take to set up LFM3-1.7B in Amp?

About two minutes: add the server, then sign in, then check it.

Does Amp wait while LFM3-1.7B runs?

LFM3-1.7B runs in the background. Amp starts the run, checks on it and gives you the text, json when it's ready.

What is LFM3-1.7B best suited to?

Use it for focused tasks such as extracting records, labeling requests, producing structured output, and selecting tools. Give it a clear task and a specific result to return.

How much text can LFM3-1.7B handle?

Its context window holds 256K tokens across input and output combined. Leave room for the response when supplying long text.

Which languages does LFM3-1.7B support?

Liquid AI lists English, Arabic, Chinese, French, German, Italian, Japanese, Korean, Portuguese, Spanish, Vietnamese, Thai, Indonesian, Hindi, Russian, and Polish. Test your own terminology and examples before using it for a language-specific workflow.

Is LFM3-1.7B suitable for autonomous coding?

Liquid AI advises against agentic coding and complex multistep reasoning. In a coding assistant, keep requests bounded, such as extracting details from logs or classifying issues against supplied rules.

Which sampling settings should I start with?

Liquid AI's generation example uses temperature 0.1 and top-k 50. Start there for focused text tasks, then compare results against examples you have already checked.

Get started

Start using LFM3-1.7B in Amp

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Amp:

Set up Amp

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options