Free GPT-4o-mini API

Updated 7/2/2026

Free GPT-4o mini API access through GitHub Models and Vercel AI Gateway. Compare no-credit-card quotas, 128K context, vision support, and copy-paste examples.

About the Model

GPT-4o mini is OpenAI's fast, low-cost multimodal model for chat, extraction, classification, and lightweight vision tasks. It is a strong default when you need fast responses and a large 128K context window.

Why choose it?

  • Fast and inexpensive: better for high-volume workloads than heavier reasoning models.
  • Multimodal: supports text and image inputs.
  • OpenAI-compatible paths: both GitHub Models and Vercel AI Gateway can be called with familiar chat completions code.

Free access options

  • GitHub Models: free, rate-limited access with a GitHub token. No credit card required.
  • Vercel AI Gateway: recurring monthly credits through one gateway key. No credit card required to start.

Use GPT-4o mini when you need a dependable free API for prototypes, assistants, summaries, and classification. For deeper reasoning, compare DeepSeek R1 or Claude Sonnet pages in this directory.

Try it in your browser

Pick a model, paste your own free key, and run. Your key is sent once to call the provider and never stored on our servers.

Pick a model, paste your own free key, and run. Your key is sent once to call the provider and never stored on our servers.

How to call GPT-4o-mini

curl https://models.github.ai/inference/chat/completions \
  -H "Authorization: Bearer $GITHUB_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-4o-mini","messages":[{"role":"user","content":"Summarize this free API directory in one sentence."}]}'

Provider Details

The following platforms provide free access to GPT-4o-mini through free tiers, trial credits, or daily quotas.

ProviderContext WindowFree QuotaRequires CCRatingAction
GitHub Models128KRate LimitNo
加载评分…
Details

Frequently Asked Questions

Community Feedback

Comments are tied to your GitHub account — sign in to join the discussion.

Know another free provider for GPT-4o-mini?
Help the community by sharing other ways to access this model for free.