Skip to content
AI Models

Last Updated: April 2026


Table of Contents

  1. Hugging Face Inference Providers
  2. OpenCode Free Models
  3. Other Free Tiers
  4. Recommendations by Use Case
  5. Model Comparison Tables

Free AI Models Overview

Hugging Face Inference Providers

OpenCode natively supports Hugging Face Inference Providers - giving you access to open models from 17+ providers.

Quick Setup

Hugging Face Setup

```bash

1. Create token at huggingface.co/settings/tokens

(needs "Make calls to Inference Providers" permission)

2. Run auth login

opencode auth login

3. Select Hugging Face when prompted

Enter your token: hf_

4. Select a model

/models

### Best Coding Models

|| Model                 | Best For          | Provider    | Context | Notes |
| :--- | :---- | :------- | :------- | :------ | :---- |
|| **Qwen2.5-Coder-32B** | Code reasoning    | Featherless | 131K    | Good for complex code tasks |

### Other Notable Models

**For Reasoning:**

- DeepSeek-R1 - Chain-of-thought reasoning, great for complex logic
- Kimi-K2.5 - Fast, good for general tasks
- GLM-4.7 - Free tier available

**For General Use:**

- Llama 3.1 8B - Fast, cheapest
- Qwen2.5 7B - Good balance
- Gemma 4 31B - Google's best

**Resources:**

- [HF Supported Models](https://huggingface.co/inference/models)
- [HF Inference Providers](https://huggingface.co/docs/inference-providers/en/index)

---

## OpenCode Free Models {#opencode-free-models}

OpenCode offers some built-in free models developed by [Zen Labs](https://zenlabs.ai/):

| Model                 | Best For       | Notes                |
| :--- | :--- | :--- |
| **Big Pickle**        | General coding | OpenCode's free tier - developed by Zen |
| **GLM 4.7 Free**      | General tasks  | Limited              |
| **MiniMax M2.5 Free** | General tasks  | Limited              |

### About Big Pickle

**Big Pickle** is a free LLM developed by [Zen Labs](https://zenlabs.ai/), the team behind OpenCode. It's available directly in OpenCode and optimized for coding tasks.

<div class="youtube-video-wrapper">
  <iframe src="https://www.youtube.com/embed/tuW0IKNZ2UI" allowfullscreen></iframe>
</div>

### How to Access

```bash
opencode

# In terminal:
/models

# Select from available free models

Other Free Tiers

Free Tier Comparison

Provider Free Credits Best Models Sign Up
Google AI Studio 15 RPM, 250K TPM Gemini 2.5 Pro/Flash aistudio.google.com
GitHub Models 50-150 req/day o3-mini, GPT-4.1 github.com/models
NVIDIA NIM 1,000 credits DeepSeek R1, Llama build.nvidia.com
Hugging Face Monthly credits 300+ models huggingface.co
Groq Limited Llama, Qwen console.groq.com
xAI $25 credits Grok 4 x.ai

Best Free Option

  • Gemini 2.5 Pro (best free model)
  • Gemini 2.5 Flash (fastest)
  • 1M token context
  • Sign up at aistudio.google.com

GitHub Models

  • GPT-4.1 (excellent coding)
  • o3-mini (reasoning)
  • Direct integration with OpenCode via /connect

Resources:


Recommendations by Use Case

Best for Coding Tasks

  1. Qwen2.5-Coder-32B (HF) - Code reasoning
  2. GPT-4.1 (GitHub Models) - General coding
  3. Gemini 2.5 Pro (Google AI Studio) - Long context

Best for Reasoning

  1. DeepSeek-R1 (HF Hyperbolic) - Chain-of-thought
  2. o3-mini (GitHub Models) - Reasoning
  3. Gemini 2.5 Pro (Google) - Long context

Best for Speed

  1. Groq - Fastest inference (1000+ t/s)
  2. Qwen3-Coder-Next - 128 t/s

Best for Free Tier (No Credit Card)

  1. Big Pickle (OpenCode built-in)
  2. GLM-4.7 Flash (HF)
  3. Gemini 2.5 Flash (Google)

Model Comparison Tables

Coding Models Comparison

Model Provider Context Speed Notes Best For
Qwen2.5-Coder-32B Featherless 131K Medium Good code reasoning Code reasoning
DeepSeek-R1 Hyperbolic 131K Medium Chain-of-thought Complex reasoning
GPT-4.1 GitHub 32K Fast Free tier General coding

Free Models Comparison

Model Source Notes
Big Pickle OpenCode Works out of box
GLM 4.7 Flash Hugging Face Slower
Gemini 2.5 Flash Google Generous free tier
Gemma 4 31B Hugging Face Google's best open model

TODO: Review Schedule

  • Review monthly - check for new models
  • Check free tier limits changed
  • Update recommendations based on benchmarks

Resources


This is a living document. Revisit and update regularly.