Melaya · Build and run AI agents across your business tools, browser, desktop apps and Android phone. Seven connected products on one governed platform: Agents, Assistant, Device Control, Browser Control, Computer Control, MCP Server, and Marketing. Bring your own AI and keep human approval on every consequential action.

Melaya Blog

Open-Weight AI Models: What They Are and How to Use Them

What open-weight AI models are, what their licenses allow, what they cost to run, and how to connect them to real tools with human approval in your workflows.

Open-Weight AI Models: What They Are and How to Use Them

An open-weight model is an AI model whose trained weights you can download, run on hardware you choose, and modify. For a business, that means the model stops being a service you rent and becomes a component you operate. The model alone only produces text, though. To do real work it needs tools, permissions, memory and a review step, and that layer is what Melaya provides. Melaya is bring-your-own-model: it works with any cloud or local model, including Claude, GPT, Gemini, DeepSeek, Mistral, Qwen, Ollama and LM Studio, so you can pick an open-weight model for cost or privacy and still give it hands.

TL;DR

  • Open-weight means the weights are downloadable under a license. It doesn't mean open source: training data and code usually stay private.
  • The license decides what you can ship. Apache 2.0 and MIT are broad; custom community licenses often restrict serving the model to third parties.
  • Self-hosting is cheap per token at steady volume, but you take on security, updates and hardware.
  • Tool use is where open models fail in production: broken JSON, wrong tool choice, prompt injection. Scope permissions and keep a human approval on consequential actions.
  • Keep the tool layer separate from the model so you can swap models without rebuilding workflows.

Open weight, open source and closed: the actual differences

With a closed model such as GPT, Claude or Gemini, you send requests to an API and the weights stay with the vendor. With an open-weight model, you download the learned parameters under a defined license and run them yourself or through a host. An API can serve either kind, so the categories aren't opposites.

Open source is a stricter label. The Open Source Initiative definition requires source code, training data or information about it, and weights. Open-weight releases usually keep training data and training code private. Llama, for instance, is open-weight and not OSI open source, and its license requires companies above 700 million monthly active users to request a separate license from Meta.

Practically, a model repository holds weight files, a config, a tokenizer, a LICENSE and often a usage policy. The AWS guide notes that gpt-oss-20b's weights are three .safetensors files totaling 13.8 GB. The weights cost nothing to download. Running them costs hardware.

Read the license before you build on it

The license, not the download button, decides whether a model can be used commercially, what you can build on it and what you must disclose. A separate acceptable-use policy can prohibit categories of use even under a permissive license.

The spread is wide. Apache 2.0 and MIT releases such as Qwen3, gpt-oss, Gemma 4, DeepSeek R1 and Phi-4 allow serving, fine-tuning, selling and redistribution with notice. Bespoke licenses add conditions. A comparison of five custom license families found that four restrict serving the model to third parties, while internal use is exempt in all four. Mistral Large 4, for example, needs a separate commercial license for any Model-as-a-Service business.

For most teams using a model internally to run their own processes, the practical checklist is short:

  1. Commercial use is explicitly granted (silence isn't permission).
  2. Usage thresholds, by monthly active users or revenue, are well above your scale.
  3. Hosting for customers is allowed, if you ever plan to offer the model's output as a service.
  4. Fine-tuning and derivative rights cover what you intend to do.
  5. Acceptable-use rules don't exclude your use case. Gemma, for example, restricts sensitive personal information and automated decisions affecting individuals' rights.
  6. Attribution and notice requirements are something you can meet.

Read the license file itself. Model-card labels and press summaries are looser than the legal text. One habit pays off later: put model IDs behind aliases in your configuration, so a license change becomes a config change instead of a rebuild. That is how Melaya is built to work, since the model is a setting and the tools, memory and schedules stay put.

Cost, performance and what you take on

Open-weight models can offer lower cost at sustained scale, more control over deployment and portability across providers. The same PwC guidance says you take on more direct responsibility for due diligence, security and lifecycle management, while closed models offer faster deployment and managed operations.

The numbers are concrete. An arXiv benchmark of four open models on consumer Blackwell GPUs measured self-hosted inference at $0.001 to $0.04 per million tokens in electricity, with hardware breaking even in under four months at 30 million tokens a day. Hosted prices tell a similar story: OpenRouter reported a four-week token-weighted average of $0.28 input and $1.62 output per million tokens for open-weight models, against $1.27 and $6.36 for closed ones as of 31 October 2026. Those prices move constantly, so check the live table before you budget.

The same report gives the trade: the best open-weight model scored 46.3 on the Artificial Analysis Intelligence Index, against 57.6 for the best closed one. For classification, extraction, drafting, routing and most workflow steps, that gap rarely matters. For the hardest reasoning, you may want a closed model on that one step. A shared tool layer lets you mix both in one workflow.

Open and closed model costs and scores

Hardware sizing

Size drives everything. Together AI's rough guide maps under 32B parameters to a low tier, 70 to 250B to a medium tier and 300B or more to a high tier. OpenAI's gpt-oss-120b and gpt-oss-20b are Apache 2.0, downloadable from Hugging Face and runnable on vLLM, Ollama and llama.cpp. At the far end, Meta's Muse Spark Open has a BF16 checkpoint of about 1.65 TB that serves on eight GPUs, with a quantized build near 537 GB on a four-GPU node. A 20B model is a workstation project. A frontier-scale open model is a data-center project.

For runtimes, quantization and hardware choices in detail, see our guide to local AI models. If you're weighing where to run the stack, this self-hosting guide covers deployment practicalities for teams.

Privacy depends on where the model runs

The weights being open doesn't make your data private. Privacy follows the place of inference. Run the model on your own machines and prompts never leave them. Run it on a managed platform and the platform's terms govern: on Amazon Bedrock, for instance, model providers have no access to the accounts where models run, so they can't see prompts or responses.

If personal data is in play, assess it before procurement. A data protection impact assessment walkthrough shows how that review is structured. For architecture options, our private AI deployment and self-hosted AI agents pages lay out the stack and controls.

Where open models break in real work

A model that chats well can still fail at work. S5 Labs reports that the real bottlenecks for tool-using agents are JSON breakage, tool misuse, cascading failures and prompt injection, and that a guard model doesn't replace scoped permissions, sandboxing or approval boundaries. Its advice is to test structured output, tool selection and recovery from failed actions before widening permissions.

That translates into a rollout routine you can follow:

  1. Pick one narrow workflow, for example triaging inbound email and creating a CRM task.
  2. Run the candidate model on 50 to 100 real examples and read the outputs by hand. Together AI's guidance is that manual review is still needed to see real failure modes.
  3. Start with read-only permissions. Add write access one system at a time.
  4. Put every consequential action behind approval: publishing, sending, paying, writing to connected apps.
  5. Keep the traces. When a run goes wrong, you need to replay it.

Melaya's Agent Builder is built around steps 3 to 5. Permissions are granular, every consequential action (publishing, sending, paying, writing to connected apps) runs behind human approval, and runs are traceable and replayable. Agents don't publish, send or pay unsupervised. If you use a small open model that sometimes mangles a tool call, the approval step catches the bad action before it lands, and the trace shows you which step failed.

Keep the tool layer separate from the model

Models change faster than workflows should. A router or gateway pattern handles this: one OpenAI-compatible API across hosted and self-managed models, so switching models means changing the model name, with credentials, limits and failover moved into configuration. Deloitte describes gateways as the layer that selects models, authenticates users and enforces policies, and notes enterprises increasingly run open-weight models on their own infrastructure for cost savings.

The tools need the same independence. If your browser automation, device control and CRM writes are wired to one vendor's model, a switch to a local Qwen or a cheaper DeepSeek means rebuilding them. Melaya keeps those tools on the platform side: Browser Control for websites, Mobile Agents for Android apps (Android only, not iOS), Computer Control for desktop software through the Melaya desktop app, and native integrations such as Odoo. The MCP Server brings the same tools to clients like ChatGPT, Claude, Cursor and Codex. Our guide to browser automation with any AI model shows the pattern with a local model.

Perspective

Open-weight models answer the question of who owns the model. They don't answer who controls what the model does. Those are separate problems, and teams that solve only the first end up with a capable model and no safe way to let it act.

Our view is that your AI is the brain and Melaya is the controlled pair of hands. You bring the model: a cloud model or a local one through Ollama or LM Studio. We provide the execution layer: tools, memory, schedules, triggers, multi-agent pipelines, granular permissions, human approval and execution traces, with independent security audits behind the platform.

The practical payoff is that the model becomes replaceable. When a license changes, a new Qwen or Mistral release lands, or a price drops, you change the model setting and keep the workflow. That is what we mean by provider-independent automation.

Melaya Team

Run open-weight models with tools and approvals

Melaya's Agent Builder connects any provider, router or local model to tools, memory, schedules, approvals and triggers in one visual workflow. Plans are published on the pricing page: Sandbox is $0 per month, Outpost is $20 per month, Forge is $49 per month or $469 per year, and Bastion is $129 per month or $1,239 per year. Citadel starts from $490 per month. Single-product plans for Browser Agents, Mobile Agents and Melaya Assistant are $9.99 per month each, and Melaya Marketing is $14.99 per month.

Melaya Agents (AI Agent Builder)

To build your first agent on a model of your choice, start with Melaya Agents. Larger teams can read the enterprise AI agent platform page, or the four-step enterprise agent guide.

FAQ

Are open-weight models free to use commercially?

The weights are free to download, but the license sets the terms. Apache 2.0 and MIT releases allow broad commercial use. Custom licenses can add revenue or user thresholds, attribution duties or limits on serving the model to others. Read the license file before you ship.

Can open-weight models do the same work as GPT or Claude?

For many workflow steps such as extraction, classification, drafting and routing, yes. Closed models still lead on the hardest reasoning: OpenRouter's October 2026 figures show 57.6 for the best closed model against 46.3 for the best open-weight one on the Artificial Analysis index. Evaluate on your own examples.

Can I use a local model with Melaya?

Yes. Melaya is bring-your-own-model and works with any cloud or local model, including Ollama and LM Studio, as well as Claude, GPT, Gemini, DeepSeek, Mistral and Qwen. Melaya doesn't sell or require its own model for agents.

Do agents act without a human in the loop?

No. In Melaya, every consequential action, meaning publishing, sending, paying or writing to connected apps, runs behind human approval. Execution traces let you review what happened afterward.

Sources

Recommended

Frequently asked questions

Are open-weight models free to use commercially?

The weights are free to download, but the license sets the terms. Apache 2.0 and MIT releases allow broad commercial use. Custom licenses can add revenue or user thresholds, attribution duties or limits on serving the model to others. Read the license file before you ship.

Can open-weight models do the same work as GPT or Claude?

For many workflow steps such as extraction, classification, drafting and routing, yes. Closed models still lead on the hardest reasoning: OpenRouter's October 2026 figures show 57.6 for the best closed model against 46.3 for the best open-weight one on the Artificial Analysis index. Evaluate on your own examples.

Can I use a local model with Melaya?

Yes. Melaya is bring-your-own-model and works with any cloud or local model, including Ollama and LM Studio, as well as Claude, GPT, Gemini, DeepSeek, Mistral and Qwen. Melaya doesn't sell or require its own model for agents.

Do agents act without a human in the loop?

No. In Melaya, every consequential action, meaning publishing, sending, paying or writing to connected apps, runs behind human approval. Execution traces let you review what happened afterward.