Long sessions compound
As a task continues, every new step can carry a larger and more expensive working history.
Built for expensive, long-running AI work
Longweis Relay helps you keep the premium model and workflow you trust while reducing the model compute required to carry long, continuous and history-rich work to completion.
macOS 13 or later · Apple silicon · Open registration · $10 Relay credit for a new account · optional application adds $50 after matching
Best fit: a Mac developer with one repeatable, non-sensitive OpenAI-compatible or agent-runtime workflow to compare before and after Relay.
Optional $50 application bonusUpper ranges, not guarantees. Actual results depend on the task, model and length of the working history.
The problem Relay is built for
A quick prompt is easy to budget. A real project keeps growing: more turns, more history and more expensive model compute just to stay oriented. Relay is designed for that compounding cost.
As a task continues, every new step can carry a larger and more expensive working history.
History-rich work can repeatedly consume premium capacity even when only a small part matters now.
A cheaper model may lower the bill, but it can also give up the capability you selected the premium model for.
Keep your chosen premium connection. Add a measured optimization layer. Turn on prepared memory when the work needs persistent history.
Trust before traffic
You should not have to trust a savings claim or an unfamiliar API blindly. Relay makes the local, hosted, and provider boundaries explicit—and recommends proving value on a non-sensitive task first.
Relay does not send your premium-provider API key to Longweis. The Mac app uses it locally when your selected premium model is needed.
OpenAI-compatible tools talk to a device-only local endpoint and key. Task content still travels over TLS to Relay and the model services required to process it.
Compute Optimization works without a memory import. Memory Retrieval is optional and sends only the files or folders you explicitly select.
The Mac app is Developer ID signed and Apple notarized. Every release publishes the exact SHA-256 checksum so you can verify the download yourself.
A safer first test
The useful metric is total cost per successful task—not a token percentage in isolation.
Start with a repeatable, non-sensitive task. Do not use secrets, regulated records, or irreplaceable production data during open testing.
Record the direct result first, then run the same task through Relay with the same premium model and acceptance criteria.
Compare success, quality, retries, total tokens, your provider charge, and the Relay charge. Stop using Relay if the combined result is not better for that workflow.
Read the full plain-language boundaries in the open-testing policy.
Your existing connection
General API keeps your provider key in macOS Keychain and includes Compute Optimization, account usage, balance, and open-testing pricing.
Select the provider and exact model you already use. Its key stays in macOS Keychain.
The result you can measure
Choose the level that fits the work. Both modes are included, and both report measured Relay usage. Percentages are workload-dependent upper ranges, not guarantees.
For everyday OpenAI-compatible tasks that do not need a prepared memory collection.
Prepare selected local material for long, continuous, history-rich work without repeatedly loading the whole archive.
Open-testing pricing. Relay charges only its own measured model usage. Your premium provider bills your premium-model usage separately. Initial memory preparation has no separate setup charge. Each newly registered account receives a one-time $10 Relay service credit. An optional valid application using the registered email adds another one-time $50 after account matching.
Illustrative combined-cost example
Example only: illustrative premium-model text pricing of $4 per 1M input tokens and $20 per 1M output tokens. The equations combine the remaining premium-model portion with the published Relay rate.
$4 × 50% + $0.20 × 50% = $2.10$20 × 50% + $0.80 × 50% = $10.40Input: about 47.5% lower · Output: about 48% lower$4 × 10% + $0.30 × 90% = $0.67$20 × 10% + $1.20 × 90% = $3.08Input: about 83.3% lower · Output: about 84.6% lowerThis is an upper-range illustration, not a promise or quote. Actual combined cost depends on the selected premium model, its current price, the task, the usable history, and measured Relay usage. Media-generation requests do not go through Relay optimization.
From download to first request
Your premium-provider key stays in macOS Keychain on this Mac.
Download the signed and notarized Mac app, open the DMG, and drag Longweis Relay to Applications.
Register with Email or Google—no application, invitation, or activation code required. A new account receives $10 of Relay service credit once.
Choose the premium provider and model you already use, then add its API key locally.
Point OpenClaw or any OpenAI-compatible runtime at Relay’s local endpoint and select relay-auto.
The API your tools see
Start the Local API in the Mac app, copy its local API key, then use these settings in an OpenAI-compatible client. Relay keeps running after the settings window closes; “Start at login” makes it return automatically after you sign in to the Mac.
base_url = "http://127.0.0.1:18777/v1"
model = "relay-auto"
api_key = "copy from the Relay app"Compatibility, verified by real runs
Relay exposes a local OpenAI-compatible API, but protocol compatibility alone is not treated as proof. The runtimes below were exercised against Relay with real prompts, tools, files, multiple turns, or concurrent work.
Short and long tasks, multi-turn work, tool use, concurrency, and recovery paths tested through Relay.
Long prompts, tool calls, four-way concurrency, and cross-turn continuity passed. Parallel workers use isolated state directories.
Basic calls, real file edits, cross-turn goal retention, and three-way concurrent work passed without rate-limit failures.
Real function-tool execution and three-way concurrent tool turns passed with correct arguments and final results.
Compatibility reflects the tested versions and scenarios above; it is not a guarantee for every release, plugin, provider, model, or workload. New integrations are added only after repeatable tests.
Verified release
Download, register with Email or Google, and start—no application or invitation required.
4c806d0af2cd721293c0d045abf0c955266732c2733839e99126ca612a7ff6a9shasum -a 256 Longweis-Relay-macOS-vP0.69-arm64.dmgOpen testing process
Registration is open. The application below is optional and only needed if you want the additional $50 service-credit bonus.
Install the signed and notarized Mac app on an Apple-silicon Mac running macOS 13 or later.
Create an account with Email or Google and receive a one-time $10 Relay service credit. No application or invitation is required.
Submit the optional application with the same registered email. After we match the valid application to your account, we add one additional $50 Relay service credit.
Optional application bonus
You do not need this form to download, register, or use Relay. Submit it with the same email as your Relay account. After we match a valid application to the account, we add a one-time $50 Relay service credit.
Beta credits pay for Relay service, are not cash, and have no cash value and do not cover your own premium-provider charges. The optional application bonus is granted once after email matching.
Before you start
No. Download Relay and register with Email or Google to start. There is no invitation or activation-code step.
It pays for Relay’s measured model usage. In General API mode, your premium-model provider continues to bill your own account separately. When the Relay balance runs low, you can add $10, $25, $50, or $100 through Square.
Submit the optional application using the same email as your Relay account. After we match a valid application to the registered account, we add a one-time $50 Relay service credit. It is service credit, not cash, has no cash value, and does not cover your premium-provider charges.
No. The displayed percentages are workload-dependent upper ranges. Short or high-risk tasks may stay mostly on the premium model, while long, continuous, history-rich work has more room to save.
Your premium-provider API key stays in macOS Keychain and is not sent to Longweis. The task content needed to answer a request is sent over TLS to Relay and the model services needed to process it. If you enable Memory Retrieval, only the material you select is prepared and sent.
No. Relay and the model services needed for a request receive the plaintext required to process it. Use a non-sensitive task first, and do not put secrets or regulated data into open testing.
Image, video, and audio generation requests do not go through Relay optimization in the current release. They continue through your existing model and runtime.
This release supports Apple-silicon Macs running macOS 13 or later. Windows and Linux desktop clients are still being expanded.