Introducing FreeModel — One Endpoint for Every AI Model
One OpenAI-compatible API for 40 models, from 1M free tokens a month on 8 fast models to every model on paid plans. Streaming and tool calling on every plan.
Every developer building with AI hits the same wall. You start with one provider, wire up their SDK, and ship. Then a better model launches somewhere else — different SDK, different auth, different response shape, different billing dashboard. Six months later you are maintaining four integrations and reconciling four invoices.
FreeModel exists to end that. One endpoint, one API key, one bill, and access to 40 models including flagship reasoning models. If your code already talks to OpenAI, it already talks to us.
Two lines to switch
There is no FreeModel SDK to learn, because you do not need one. Point any official OpenAI client at our base URL:
from openai import OpenAI
client = OpenAI(
api_key="fm_your_key_here",
base_url="https://freemodel.in/v1", # ← the only change
)
response = client.chat.completions.create(
model="claude-opus-4.8",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
Same in Node:
import OpenAI from "openai";
const client = new OpenAI({
apiKey: "fm_your_key_here",
baseURL: "https://freemodel.in/v1",
});
const response = await client.chat.completions.create({
model: "claude-opus-4.8",
messages: [{ role: "user", content: "Hello!" }],
});
Request shapes, response shapes, streaming chunks, tool call payloads, and error envelopes all match the OpenAI specification. Your retry logic, your error handling, your token accounting — none of it changes.
What you actually get
Capabilities are not sold separately
Paid plans differ in token volume only and all reach the full catalog of 40 models. The free tier includes GPT-6.2 Astra, GPT-6 Luna, Grok 4.6, Grok 4.7, Claude Haiku 5.5, GLM-5.3 Flash, Qwen 3.8 Omni Flash and DeepSeek V4.1 Flash 1017. Whatever a model supports, you get on any plan that reaches it:
| Capability | What it means |
|---|---|
| Streaming | Server-sent events, keep-alive pings, up to 15 min per request (1 h on /v1/messages) |
| Tool calling | Full round trips, parallel calls, streamed argument deltas |
| Vision | Base64 or URL image input on vision-capable models |
| Reasoning | Chain-of-thought returned in a separate field, never mixed into your answer |
| JSON mode | Structured output via response_format |
Real streaming, built for agents
Long agentic coding sessions need a stream that is not dropped as idle in the middle of a refactor.
Our streaming connections stay open up to 15 minutes on /v1/chat/completions and /v1/responses and up to an hour on /v1/messages, with a keep-alive ping every 8 seconds so intermediaries do not time out an idle channel. If the upstream provider fails mid-stream, you get a clean error frame followed by [DONE] — not a truncated response your parser chokes on.
Capability discovery that tools understand
GET /v1/models returns capability metadata in the format agent tooling expects:
{
"id": "claude-opus-4.8",
"context_length": 1000000,
"architecture": {
"modality": "text+image->text",
"input_modalities": ["text", "image"],
"output_modalities": ["text"]
},
"supported_parameters": ["tools", "tool_choice", "reasoning", "max_tokens", "temperature"],
"capabilities": ["reasoning", "vision", "tools", "streaming"]
}
This matters more than it sounds. Tools like Kilo Code read architecture.input_modalities before deciding whether they may attach a screenshot. Without it, they refuse to send images even to a model that handles them perfectly.
Pricing that rewards volume
Start free. Upgrade when the numbers justify it.
| Plan | Tokens / month | Price | Per 1M tokens |
|---|---|---|---|
| Free | 1M | $0 | — |
| Starter | 30M | $1.20 | $0.040 |
| Basic | 100M | $3.50 | $0.035 |
| Pro | 200M | $5.75 | $0.0288 |
| Scale | 500M | $11.50 | $0.023 |
| Ultra | 1B | $19.99 | $0.020 |
Tokens cover prompt and completion combined. Your monthly allowance is spent first; once it is used up, requests pause with a clear 402 until it refills or you upgrade — there is never an overage charge.
Run out and you get a clear 402 before the request reaches a model. No surprise invoices, no silent truncation mid-response.
Payments that work where you are
Many AI APIs only take card payments. We accept UPI (India) and USDT on BNB Smart Chain (BEP-20) worldwide.
Both are verified automatically: pay the exact amount shown at checkout and your balance or plan updates within a minute. No card needed.
Works with the tools you already use
Any client that accepts a custom OpenAI-compatible endpoint works. Setup guides exist for these:
- Kilo Code — VS Code agent
- Cline — VS Code agent
- Cursor — AI-first editor
- opencode — terminal agent
- Claude Code — Anthropic's CLI agent
- OpenClaw — browser-based agent
We accept the API key as either Authorization: Bearer or x-api-key, so Anthropic-style clients connect without a translation layer.
Transparency, by default
Every request is logged with its exact token count, latency, cost, and which budget paid for it. Not estimates — the real numbers the provider reported.
You can see, per API key and per model:
- Request count and error rate
- Prompt, completion, and total tokens
- Exact cost in USD, to six decimal places
- How many tokens each request used
Scoped API keys mean a key can be limited to models:read or inference — useful when a browser-side tool needs a key you would rather not give full access.
Why we built it this way
Three decisions shaped the product, and they are worth stating plainly because they are the reasons to choose us over a thinner proxy.
Compatibility over invention. We could have designed a nicer API. Nobody wants to learn one. Matching the OpenAI shape exactly means every SDK, every tool, every Stack Overflow answer, and every tutorial already applies.
Capability metadata is not optional. A model list without capabilities forces every tool to guess. Guessing means refusing to send images to vision models, or sending tools to models that cannot use them. We return architecture, supported_parameters, and capabilities on every model because that is what makes agent tooling work rather than half-work.
Never sell features separately. Streaming and tool calling work on the free tier, on its own set of fast models. Paid plans add the premium models and more tokens — not unlocked switches.
What we are not
Worth being direct about the boundaries.
We are not a model trainer. We do not build or fine-tune models. We route to providers and handle the plumbing — auth, billing, capability discovery, streaming stability, error normalisation.
We are not a hosting platform. There is no deploy step, no runtime, no containers. You call an endpoint.
We are not free forever at scale. 1M tokens a month on the free models genuinely is free with no card. Past that, and for the premium models, you pay — because upstream inference costs real money and a provider that pretends otherwise eventually disappears.
Start now
curl https://freemodel.in/v1/chat/completions \
-H "Authorization: Bearer fm_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-opus-4.8",
"messages": [{"role": "user", "content": "Hello!"}]
}'
Create a free account — 1M tokens a month on 8 free models after a one-time Telegram verification, no card required. The Claude Opus example above needs a paid plan; on a free key use claude-haiku-5.5 or gpt-6-luna. Then read the quickstart or jump straight to connecting your coding agent.
Grab a free API key — 1M tokens on 8 free models after a one-time Telegram verification, no card. Every model from $1.20.