read first

Where can you use open-weight AI for free? Five API services

Try a free API before buying a GPU

Try publicly released models through OpenCode, OpenRouter, Groq, NVIDIA and Mistral to assess them for your work.

Requirements and key details
  • Temporary offers, daily free quotas and developer trials have different terms.
  • Fix the model ID and account plan, and keep auto-recharge off.
  • Start with code and documents that are safe to share.

Try the answers before downloading the model

With a free open-weight model API1, you can send questions or code to a publicly released model and receive answers generated on the provider's servers. Before preparing a large GPU2 or downloading model files, you can review public code or summarize a short document. This guide helps you choose a service and understand its free-access terms.

For example, OpenCode offers access to the MIT-licensed DeepSeek V4.1 Flash, while Groq hosts GPT-OSS, whose weights use Apache 2.0. Downloaded weights are governed by their model license; using an API also brings the service's usage and data policies into scope.

A laptop with code and a compact computer sit beside task windows and controls.
Comparing answers to the same code helps you choose a model for your task.

Choose by the type of free access

Start with OpenCode for a coding-tool workflow, or OpenRouter to try multiple models through one API format. Groq publishes request and token3 limits per model, NVIDIA offers developer free endpoints for new Nemotron models, and Mistral enables limited API use in account Free mode.

Free access and setup guides by service
ServiceFree accessSetup guide
OpenCodeTemporary DeepSeek V4.1 Flash Free offerConnect the coding tool
OpenRouter:free models and free-router quotasFree-model API
GroqPer-model request and token limits on Free PlanCall GPT-OSS
NVIDIA API CatalogDevelopment and testing on listed Free EndpointsTry Nemotron
Mistral StudioLimited Free mode without a credit cardConnect Small 4

As of October 16, 2026. Check the service's model list and your account limits when availability or free-access policies change.

Hugging Face Inference4 Providers currently includes no monthly credits for ordinary Free accounts, so it is excluded from this free API list. Downloading publicly released model files remains a separate option.

Token limits can run out before request limits

OpenRouter permits up to 20 free-model requests per minute. Accounts with less than $10 in total purchases have a daily limit of 50 requests; accounts that have purchased at least $10 get 1,000 per day. Start with the default free allowance rather than purchasing credits just to raise it.

Groq's public Free Plan table lists both GPT-OSS models at 30 requests per minute, 1,000 per day, 8,000 tokens per minute and 200,000 tokens per day. A single long document can exceed the minute token limit even while requests remain. Check your actual per-model limits in the account's Limits page and adjust input length and request spacing.

An agent can exchange multiple requests while reading files, checking results and revising one task. Start with one short code review and inspect call counts and token usage in the usage history. If you receive 429, stop automatic repetition and follow the response's retry guidance.

Turn off automatic switching for a free-only test

Pin the model ID to a free entry and check whether your application switches models after an error. To compare open-weight models on OpenRouter, specify the chosen model's :free ID. The free router selects a model for each request, so use an individual ID when comparing the same open-weight model consistently. Choose deepseek-v4.1-flash-free on OpenCode. Leaving paid models out of fallback lists helps prevent a failed free request from triggering an unexpected paid call.

Keep account auto-recharge off as well. Coding tools such as OpenCode can use another model for auxiliary tasks such as session titles. Inspect model IDs and costs in the full usage history; use the direct API examples in each guide to isolate a single request.

A monitor connected to a compact computer on a wooden desk shows code and a conversation panel.
Fix the model and endpoint, then test the connection with one short request.

Start with an example that fits the data policy

Begin with a public example stripped of secrets and personal data. OpenCode's free DeepSeek provider states zero retention and no training use, while NVIDIA free endpoints are for development and testing and may log session information for security and product improvement. NVIDIA instructs users not to submit personal or confidential information.

Inputs and outputs in Mistral Free mode may be used for training. Check Anonymous improvement data under Admin → Privacy and disable it before use if you do not want that training use. On OpenRouter, terms vary with the provider actually handling the request, so also read the data policy on the model page.

Decide on local hosting after testing your task

For comparison, send the same code and question, then record whether each model identifies the issue and whether its proposed fix passes your tests. The Python examples in these guides print the answer after receiving it in full, so compare total response time. Measuring time to the first token requires a separate streaming configuration. Free API response times also include server queues and network latency. Compare your GPU's speed separately by running the same model locally.

If you work with public material occasionally, first see whether the free allowance is enough. If quotas repeatedly interrupt a growing workload, or the material must stay on your machine, follow the local LLM agent starter guide. Once you choose a model, use the hardware finder and speed comparison to explore local configurations.

A desk with a compact computer and keyboard holds a sequence of cards and a tool tray.
Once you know your recurring workload, decide whether to keep using an API or run locally.

Terminology notes

  1. API — A defined interface that lets other code call a program’s functions.

    Back to the text
  2. GPU — A processor designed to handle many calculations in parallel. It performs model computations during AI inference.

    Back to the text
  3. Token — A unit into which a model divides input or output for processing.

    Back to the text
  4. Inference — The process of using a trained model to compute an output for an input. Here, local inference means running the model on the user’s device.

    Back to the text

Frequently asked questions

What should you check first in this article?
Try publicly released models through OpenCode, OpenRouter, Groq, NVIDIA and Mistral to assess them for your work.
When is it better not to choose this?
OpenRouter permits up to 20 free-model requests per minute. Accounts with less than $10 in total purchases have a daily limit of 50 requests; accounts that have purchased at least $10 get 1,000 per day. Start with the default free allowance rather than purchasing credits just to raise it.
Where can you check the conditions and sources?
For example, OpenCode offers access to the MIT-licensed DeepSeek V4.1 Flash, while Groq hosts GPT-OSS, whose weights use Apache 2.0. Downloaded weights are governed by their model license; using an API also brings the service's usage and data policies into scope.