Skip to content
Dreamtune
Sign in
Catalog
ModelsToolsCompute
PricingDocsAffiliate programBlog
Home/Blog/Tools
Tools

Flux Search API: pricing, use cases and tools on Dreamtune

Flux Search and Lineage explained: $4 per 1,000 searches, document extraction pricing, practical use cases, and access through Dreamtune's API, SDK, CLI and MCP.

By DreamtuneOctober 16, 20265 min read

In this article

What is Flux Search?How much does Flux Search cost?How much does Flux Lineage cost?When to use Search and when to use LineageWhere are the Flux tools available in Dreamtune?Call Flux Search through the Dreamtune APIUse Flux Lineage with the TypeScript SDKWhat should an agent keep from the response?
Back to all articles

Flux Search and Flux Lineage are available through Dreamtune's tools catalog. Search discovers pages on the web. Lineage selects passages from a page or document that answer your question, with source positions and context for names and dates.

This guide explains what each tool does, Flux's published costs, and how to call both through Dreamtune's API and TypeScript SDK. Pricing was checked against Flux's live English pricing page on October 16, 2026.

What is Flux Search?

Flux is a search and retrieval API for AI agents, language-model applications and retrieval-augmented generation, or RAG. Its two core tools solve different parts of gathering evidence.

Flux Search accepts a query and returns ranked web results with titles, URLs and snippets. You can ask it to apply Lineage to some or all results. The enrich option controls how many pages it reads for supporting passages; enrich: 0 requests search results without that page-reading step.

Flux Lineage accepts document text or a URL. It selects passages relevant to your questions and returns both the original passage and enriched text. That enriched text can resolve a pronoun to a person's name or a relative date to an explicit date, based on the source. The response retains source spans and annotations so your application can inspect the supporting material.

These descriptions follow the official Flux API reference. A returned passage supports checking an answer; it does not establish that every statement on the underlying page is correct.

How much does Flux Search cost?

Flux's published pricing lists $4 per 1,000 searches, equivalent to $0.004 per search.

At that published rate, 100 searches cost $0.40 and 10,000 searches cost $40. These are search-only calculations, not estimates of an entire agent workflow. Model inference and other tools have their own costs.

Search responses include the billed search count, the number of results returned, how many results received Lineage enrichment, and the actual reported cost. Use that receipt to measure a real workflow rather than inferring cost from the number of links in its answer.

How much does Flux Lineage cost?

The live English pricing page lists $0.10 per million input tokens for Lineage, with output tokens free as checked on October 16, 2026.

For example, processing 50,000 input tokens for one question costs $0.005 at that rate. Five questions over that same document represent five passes, or 250,000 billed input tokens, costing $0.025. Flux documents that each question is a separate pass over its document.

Published prices can change. Flux's per-request usage.cost_usd_ticks field is the integer cost authority, with usage.cost_usd supplying the corresponding decimal display value. Dreamtune converts that verified cost to its USD micro-unit ledger, rounding up at that boundary, and applies the workspace's configured usage fee. The completed Dreamtune run shows its actual cost, fee and total. Provider pricing is separate from any wallet top-up fee.

When to use Search and when to use Lineage

Use Search when your agent needs to discover sources: product research, documentation discovery, company research, or finding recent reporting. Set a result count appropriate to the task and inspect publication dates when freshness matters.

Use Lineage when you already have the document or page: extracting evidence from an article, selecting relevant documentation, or preparing focused context for a model. It is especially useful when short snippets would lose the identity behind “she” or the date behind “last Tuesday.”

Use both when the task needs discovery followed by evidence extraction. Keep the question with the passage, retain the source URL and span, and let the reader inspect the original material. Measure source relevance and citation support on your own tasks before drawing accuracy or cost-saving conclusions.

Where are the Flux tools available in Dreamtune?

Find Flux Search and Flux Lineage by searching for “Flux” in the public catalog or the workspace Tools page. Each listing opens the Playground with the corresponding tool selected.

Developers use provider fluxsearch and endpoint /api/v1/search or /api/v1/lineage. Both use Dreamtune's existing tool-run API, SDK, CLI and MCP tools. A Dreamtune platform key needs the appropriate tool scopes, and execution requires available workspace credit. Dreamtune holds the upstream credential; you do not include a Flux key in the request body.

Call Flux Search through the Dreamtune API

Submit a tool run to POST https://dreamtune-api.fly.dev/v1/developer/tool-runs with your Dreamtune bearer key and a unique Idempotency-Key header. This is the JSON body:

{
  "provider": "fluxsearch",
  "endpoint": "/api/v1/search",
  "input": {
    "body": {
      "query": "Flux Search API documentation",
      "max_results": 3,
      "enrich": 1
    }
  }
}

The run returns its state, identifier and completed output when available. Read or refresh that saved run to check its result. Reuse an idempotency key only for the identical operation; a fresh key represents a new potentially billable search.

Use Flux Lineage with the TypeScript SDK

Use the existing @dreamtune/sdk client. Keep your platform key in your application's server-side secret configuration.

import { DreamtuneClient } from "@dreamtune/sdk";

const client = new DreamtuneClient({
  apiKey: process.env.DREAMTUNE_API_KEY!,
  baseUrl: "https://dreamtune-api.fly.dev",
});

const run = await client.createToolRun({
  provider: "fluxsearch",
  endpoint: "/api/v1/lineage",
  input: {
    body: {
      url: "https://fluxsearch.io/en/pricing",
      queries: ["How much does Flux Search cost?"],
    },
  },
  idempotencyKey: crypto.randomUUID(),
});

For discovery, call client.listTools({ q: "fluxsearch" }). The CLI exposes the same catalog through dreamtune tools list --q fluxsearch, and Dreamtune's MCP list_tools accepts that query too. See the Dreamtune documentation for authentication and tool-run methods.

What should an agent keep from the response?

Keep the source URLs, original passages, enriched passages and span information that the task needs. Preserve Flux's enrichment status: a successful search can contain fewer enriched pages than requested, and its usage fields describe that shortfall. Avoid presenting an unenriched snippet as a verified quotation.

Track completed cost, latency, useful sources and citation support across representative tasks. That gives you a practical basis for choosing between a quick search, a focused document extraction and a longer research workflow.

Browse Flux tools on Dreamtune, or read our guide to building reliable tool-calling applications.

Dreamtune

Writing about the models, tools and compute behind AI applications.

Explore the docs

Keep reading

Abliterated (uncensored)GLM 5.3GLM 5.3 FlashQwen3.8 Flash NextDeepSeek V4.1 FlashFour models. One Dreamtune workspace.Abliterated (uncensored). Now on Dreamtune.
Model newsOctober 20, 2026

Abliterated (uncensored) models are now on Dreamtune

Explore four abliterated models from the GLM, Qwen and DeepSeek families. What uncensored means, how to find the collection and how to try it in Playground.

Read article ↗
Give your agent a way to refuel.$Your crypto walletDreamtune creditsTools + computeFund the wallet. Finish the task.
DevelopersOctober 18, 2026

Crypto top-up API for AI agents: fund tools and compute

How an AI agent can request crypto payment instructions, fund Dreamtune credits and continue using models, tools and GPUs. API workflow, MCP tools and wallet controls.

Read article ↗
Model releaseDeepSeekV4.1 Flash 1017Coding · Reasoning · VisionNow on Dreamtune
Model newsOctober 18, 2026

DeepSeek V4.1 Flash 1017 is out: what changed, pricing and API access

DeepSeek V4.1 Flash 1017 is now on Dreamtune. Explore the October 17 update, official benchmark results, current model pricing and how to try it.

Read article ↗
Your agent. More capabilities.{ }Your agentDreamtuneModelsToolsGPUsOne connection. More capabilities.
GuidesOctober 18, 2026

Give your AI agent superpowers with Dreamtune

Connect an existing agent to supported AI models, web search, creative tools and GPU compute through Dreamtune. A practical guide to MCP, access and billing.

Read article ↗
A better agent workflow.Define the taskAdd evidenceMeasure resultsDefine the task. Equip the agent. Check the result.
GuidesOctober 18, 2026

How to make your AI agent better at real work

A practical workflow for improving AI agent results: define the task, supply current evidence, choose useful tools and measure quality, time and cost.

Read article ↗
Choose a model for the job.OpenAIAnthropicDeepSeekQualityTimeCostCompare models on your own tasks.
ModelsOctober 15, 2026

How to choose an AI model without chasing every release

A practical way to compare AI models using your own tasks, response times, failure cases and cost per useful result.

Read article ↗
From request to result.Inspect inputsRun the toolCheck the resultInspect inputs. Run the tool. Verify the result.
ToolsOctober 15, 2026

Your AI can call tools. Now make it reliable.

Build more reliable tool-calling apps with clear tool boundaries, validated inputs, safe retries and results you can trace.

Read article ↗
Plan the job before the GPU.GPUChoose → Run → StopMemory, runtime and a clear stopping point.
ComputeOctober 15, 2026

Before you rent a GPU, write down the job

Plan a GPU workload around memory, setup time, output storage and shutdown, then compare the cost of a finished job.

Read article ↗
DREAMTUNE / BUILD WHAT'S NEXT
CatalogMarketplacePricingDocsBlogWorkspacePrivacyTermsyash@dreamtunelabs.com