designwithfocus

Development tools & DevOps

Open-Weight LLM APIs: Best Platforms Compared

By Design With Focus Team 8 min read
A terminal window showing a short model request and a token count

Short answer

Together, Groq, and Cloudflare Workers AI are the best platforms to access open-weight LLMs via API when the pricing page prints a token rate for a named model. Together lists Qwen3.5 9B at $0.17 per million input tokens. Groq lists Qwen3.8-27B at $0.80 per million input tokens. Cloudflare lists Llama 3.2 1B at $0.027 per million input tokens. Fireworks, DeepInfra, OpenRouter, and Hugging Face cover more routes.

Last verified against the sources listed below.

Key takeaways

  • Together's chat table lists Qwen3.5 9B at $0.17 per million input tokens and $0.25 per million output tokens.
  • Groq lists Qwen3.8-27B at $0.80 input and $4.00 output per million tokens. Llama 3.1 8B is contact sales.
  • Cloudflare lists Llama 3.2 1B Instruct at $0.027 per million input tokens and $0.201 per million output tokens.
  • Fireworks lists Qwen 3.8 Max at $2.00 per million input tokens and $6.00 per million output tokens.
  • DeepInfra lists Llama 3.3 70B Instruct Turbo at $0.10 per million input tokens and $0.32 per million output tokens.
  • Hugging Face Pro is $9 per month and includes $2 of inference credits. Token rates are passed through.

The best platforms to access open weight llms via api sell a token rate, or a pass-through rate, for models the vendor lists as open.

This guide uses each vendor’s pricing or model page, checked in December 2026. Calling a model is still software development.

Quick comparison

This table puts a printed starting rate next to the open models each page actually names.

Tool Best for Starting price Free plan or trial Standout feature
Together A chat table with Qwen, Llama, and Mixtral Qwen3.5 9B $0.17/M input One listed model is free Llama, Qwen, and Mixtral listed
Groq A printed Qwen rate and open-weight GPT-OSS Qwen3.8-27B $0.80/M input Not printed on the model docs GPT-OSS called open-weight
Cloudflare Workers AI Llama rates plus a daily Neuron allotment Llama 3.2 1B $0.027/M input 10,000 Neurons/day Qwen models on the same table
Fireworks Qwen rates and a GPU-hour option From $0.05/M input Prepaid credits, no free plan printed Open models named in the copy
DeepInfra A printed Llama 3.3 rate Llama 3.3 70B Turbo $0.10/M input Not printed on the pricing page Open-weight called out on the page
OpenRouter One catalog across providers Amazon Ergo $0.90/M input A $0 model is listed Ergo called open-weight
Hugging Face Inference Pass-through provider rates Pro $9/month, $2 credits Free users buy credits Llama 3.3 70B page has providers

Together

Together sells serverless inference and lists Llama, Qwen, and Mixtral on the pricing page, under an open-source heading.

Best for: a team that wants one table with those model families and a per-million-token rate.

  • The chat table is priced per 1 million tokens
  • Qwen3.5 9B and Qwen3.8 Flash are on that table
  • Llama 4 Maverick and Mixtral 8x7B Instruct v0.1 are named on the page
  • Ternary Bonsai 27B is marked free for input and output

Pricing: as of December 2026, Together’s pricing page lists Qwen3.5 9B at $0.17 per million input tokens and $0.25 per million output tokens. Qwen3.8 Flash is $0.15 input and $0.47 output on the same table.

Pros

  • Llama, Qwen, and Mixtral are named on the pricing page
  • One chat model is marked free

Cons

  • Fine-tuning rates on the same page are a different meter
  • Dedicated capacity is a separate calculator, not the chat rate

Groq

Groq’s model docs print speed, a token price, and a developer-plan rate limit for production models.

Best for: a team that wants a printed Qwen price and an explicit open-weight label.

  • The docs call GPT-OSS 120B an open-weight model
  • Llama 3.1 8B and Llama 3.3 70B are contact sales
  • Qwen3.8-27B has a printed input and output rate

Pricing: as of December 2026, Groq’s supported models page lists Qwen3.8-27B at $0.80 per million input tokens and $4.00 per million output tokens. GPT-OSS 20B is $0.17 input and $0.36 output. GPT-OSS 120B is $0.33 input and $0.71 output. Llama 3.1 8B and Llama 3.3 70B say contact sales.

Pros

  • The open-weight wording is on the model page
  • Input and output are separate numbers

Cons

  • The two Llama chat models have no public token price
  • The page does not print a free tier

Cloudflare Workers AI

Cloudflare prices Workers AI in Neurons and prints a token price for each model, including Llama and Qwen.

Best for: a Worker that should call Llama or Qwen without a second vendor account.

  • Plans include 10,000 Neurons per day at no charge
  • Workers Paid bills usage above that per 1,000 Neurons
  • The token column matches the Neuron column
  • Qwen and Llama rows share the price table

Pricing: as of December 2026, Cloudflare’s Workers AI pricing lists $0.011 per 1,000 Neurons above the daily allotment. @cf/meta/llama-3.2-1b-instruct is $0.027 per million input tokens and $0.201 per million output tokens. @cf/qwen/qwen3-30b-a3b-fp8 is $0.051 input and $0.335 output.

Pros

  • A daily Neuron allotment is printed
  • Llama and Qwen token rates are on the same page

Cons

  • The paid rate starts only after the daily allotment
  • Model ids are specific. A different Llama size has a different rate

Fireworks

Fireworks bills serverless calls on input, cached input, and output. The page tells you to send routine work to open models.

Best for: a team that wants a Qwen rate plus a dedicated GPU-hour option.

  • Serverless draws down prepaid credits and does not require a commitment
  • Standard rates split input, cached input, and output
  • Qwen 3.8 Max is on the highlighted table
  • Dedicated deployments start from a GPU-hour price

Pricing: as of December 2026, Fireworks’ pricing page says pay per token from $0.05 per million input tokens. Qwen 3.8 Max is $2.00 input, $0.25 cached input, and $6.00 output per million tokens on the standard rate. Dedicated deployments start at $8.00 per GPU-hour.

Pros

  • Cached input is its own column
  • The page names open models in the routing copy

Cons

  • The highlighted table is not the full catalog
  • A free plan is not printed. Credits are prepaid

DeepInfra

DeepInfra prices language models per token and says new open-weight models often go live on release day. The page lists Llama and Qwen families.

Best for: a team that wants a printed Llama 3.3 rate on a per-million-token table.

  • The table header is dollars per million input tokens and per million output tokens
  • Llama 3.3 70B Instruct Turbo is on that table with a 128k context
  • Qwen names, including Qwen3.8-27B, are linked from the page

Pricing: as of December 2026, DeepInfra’s pricing page lists Llama-3.3-70B-Instruct-Turbo at $0.10 per million input tokens and $0.32 per million output tokens. Other families on the same page have their own rates.

Pros

  • The open-weight wording is on the pricing page
  • The Llama row prints both input and output

Cons

  • A free allowance is not printed on the pricing page
  • Other rows on the same page include a cached price

OpenRouter

OpenRouter’s models page lists many providers with a per-million-token price. One card calls Amazon Ergo an open-weight model.

Best for: a team that wants one catalog and a printed rate for a model the page labels open-weight.

  • Amazon Ergo is described as an open-weight model
  • Qwen cards sit on the same models page
  • At least one card is $0 for input and output

Pricing: as of December 2026, OpenRouter’s models page lists Amazon Ergo at $0.90 per million input tokens and $2.70 per million output tokens. Qwen-Audio-3.1-TTS Flash is listed at $0.23 per million input tokens and $1.87 per million output tokens.

Pros

  • The open-weight label is on the model card
  • A $0 model is visible in the catalog

Cons

  • Rates change by model, so the catalog is the price list
  • A platform subscription fee is not what this models page prints

Hugging Face Inference

Hugging Face Inference Providers route calls to other hosts and pass through their rates. The Llama 3.3 70B Instruct model page includes an Inference Providers section.

Best for: a team that already has a Hugging Face account and will accept provider rates.

  • The billing page says there is no added fee on top of the provider
  • Free users have no included credits and must purchase them
  • Pro, Team, and Enterprise include monthly compute credits

Pricing: as of December 2026, Hugging Face pricing lists Pro at $9 per month, including $2 of inference credits monthly. The inference billing page lists Pro credits at $2.00 and Team or Enterprise credits at $2.00 per seat. It does not print a token rate for a named model.

Pros

  • The pass-through rule is written on the billing page
  • Llama 3.3 70B Instruct is a real model page with providers

Cons

  • Free accounts do not include inference credits
  • You still have to open the provider’s rate for the model you call

How to choose an open-weight API

Match the model id, the token direction, and any free cap before you compare logos.

  • Require Llama, Mixtral, or Qwen on the page, or an open-weight statement.
  • Quote input and output separately.
  • Read cached input and priority columns when they exist.
  • Treat a free model or a daily Neuron allotment as a cap.
  • Keep images out of the token budget. An image compressor shrinks a file in the browser and does not call a model.
  • If the model job is still unclear, read what machine learning covers before you pick a host.

How we picked these tools

This shortlist was built by reading official docs, pricing pages, and product pages.

Each price above is a figure that page printed in December 2026. A model is called open-weight only when the page says so, or when it lists Llama, Mixtral, or Qwen.

Frequently asked questions

When is a model called open-weight here?

Only when the page you are reading says the weights are open, or when it lists Llama, Mixtral, or Qwen as available. Together's pricing page lists Llama, Qwen, and Mixtral and calls out open-source models. Groq's model docs call GPT-OSS 120B an open-weight model and also list Llama and Qwen. A vendor that only prints a closed model name is not treated as an open-weight host in this guide.

Why do two pages show different prices for similar names?

The model id and the meter both change the bill. Cloudflare prices Llama 3.2 1B Instruct at $0.027 per million input tokens. Groq lists Llama 3.1 8B and Llama 3.3 70B as contact sales, while Qwen3.8-27B has a printed rate. DeepInfra prints Llama 3.3 70B Instruct Turbo at $0.10 per million input tokens. Match the full model name before you compare a cent.

Is there a free way to call one of these APIs?

A few pages print a zero. Together's chat table marks Ternary Bonsai 27B as free for input and output. Cloudflare includes 10,000 Neurons per day before the paid rate. Hugging Face free users get no included inference credits and must buy credits. Groq's model docs do not print a free allowance. A zero on one model is not a zero on every model.

Does Hugging Face add a fee on top of the provider?

The inference pricing page says Hugging Face charges the same rates as the provider, with no additional fee. Pro is $9 per month and includes $2 of inference credits each month. Team or Enterprise organizations get $2 per seat in monthly credits. The credits also apply to other Hugging Face compute, not only inference. The page does not print a token price for a named model.

Should the app send every call to the cheapest model?

The cheapest printed input rate is not the whole bill. Output tokens, cached input, and priority modes change it. Fireworks bills input, cached input, and output, and its highlighted table prices Qwen 3.8 Max output at $6.00 per million tokens. Cloudflare's Llama 3.2 1B output rate is $0.201 per million tokens. Price one real prompt, with input and output, before you pick a default model.

Sources