Mai haɓakawa

Ƙara da Free.ai — daya Bearer token, 400+ AI kayan aiki.

Chat, image, video, music, voice, OCR, translate — all on a single OpenAI-compatible endpoint. Generous free pool, transparent markup, partner pricing at scale.

10,000 free tokens a kan shiga. Cards ba a buƙata a fara.

QDialogButtonBox

URL daya na kula da kowace siffar tattaunawa. URL daya ga kowace sifar hoton. Zaɓi sifar da wata kalma daya. Babu shafawa na SDK na kowace mai samarwa.

QShortcut

@ info: status

99 harsuna daga cikin akwatin

Tattaunawa, fassara, TTS, STT - kowace hanyar da ta fi girma tana rufe harsuna 99 ba tare da wani tsari na musamman ba. Ka wuce lambar harshe kuma yana aiki.

@ action

API guda, harsuna biyar. Ka saka maɓallinka na sk-free-... cikin kuma ka bi.

curl https://api.free.ai/v1/chat/ \
  -H "Authorization: Bearer sk-free-YOUR-KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen2.5-7b",
    "messages": [{"role":"user","content":"Hello!"}]
  }'
import requests

r = requests.post(
    "https://api.free.ai/v1/chat/",
    headers={"Authorization": "Bearer sk-free-YOUR-KEY"},
    json={
        "model": "qwen2.5-7b",
        "messages": [{"role": "user", "content": "Hello!"}],
    },
)
print(r.json()["choices"][0]["message"]["content"])
const r = await fetch("https://api.free.ai/v1/chat/", {
  method: "POST",
  headers: {
    "Authorization": "Bearer sk-free-YOUR-KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    model: "qwen2.5-7b",
    messages: [{role: "user", content: "Hello!"}],
  }),
});
const data = await r.json();
console.log(data.choices[0].message.content);
package main

import (
  "bytes"; "fmt"; "io"; "net/http"
)

func main() {
  body := []byte(`{"model":"qwen2.5-7b","messages":[{"role":"user","content":"Hello!"}]}`)
  req, _ := http.NewRequest("POST", "https://api.free.ai/v1/chat/", bytes.NewBuffer(body))
  req.Header.Set("Authorization", "Bearer sk-free-YOUR-KEY")
  req.Header.Set("Content-Type", "application/json")
  resp, _ := http.DefaultClient.Do(req)
  defer resp.Body.Close()
  out, _ := io.ReadAll(resp.Body)
  fmt.Println(string(out))
}
require "net/http"
require "json"

uri = URI("https://api.free.ai/v1/chat/")
req = Net::HTTP::Post.new(uri, {
  "Authorization" => "Bearer sk-free-YOUR-KEY",
  "Content-Type"  => "application/json",
})
req.body = {
  model: "qwen2.5-7b",
  messages: [{role: "user", content: "Hello!"}],
}.to_json

res = Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |h| h.request(req) }
puts JSON.parse(res.body)["choices"][0]["message"]["content"]

Pricing — discounts kick in automatically

$1 = 750,000 tokens. Self-hosted models bill at raw cost. Premium model markup drops with 30-day spend.

QFileDialog
30,000 / day
Web kawai — ya ƙunsa da nau'ikan da ake da su kansu
Pay-as-you-go
1.50×
< $500 / 30 kwanaki
QPrintPreviewDialog
1.30×
≥ $500 / 30 kwanaki
KCharselect unicode block name
1.15×
≥ $2,000 / watan

Full pricing breakdown →

Abin da zaka iya gina

Ka haɗa @handle ɗinka kamar mai magana

@ action: inmenu

Shirya @yourhandle

Webhooks

Shirya wani kira-bayani mai hannu ga ayyuka masu tafiyar da lokaci mai tsawo (jin bidiyo, canza rubutun bangare, samar da alaƙa-da-rabon, gargaɗi-na-ƙasa-aiki). HMAC-SHA256 ya sanya hannu cikin X-Free-Signature.

@ action →

Tambayoyi Masu Faɗi

Yi rajista kyauta a /registration/ — za ka samu 10,000 tokens a tabbatarwa. Buɗe /account/?tab=api kuma latsa Yi. Maɓallu sune Bearer tokens na siffar sk-free-... kuma ka fara aiki da sauri. Babu shiri, babu jerin masu jira.

$1 ya saya 750,000 tokens. Self-hosted models bill the raw token count; external models add a 50% retail markup at deduction. A lokacin da ka kashe $500 a cikin wani 30-day window the markup drops to 30%; a $2,000+ kana zama abokin tarayya kuma markup ya fadi zuwa 15%. Daily free pool: 5,000 tokens for confirmed accounts (web, not API).

Ana kula da tambayoyin API ta hanyar adadin da ka saya da kuma iyaka na kowane maɓalli na wata (a matsayin diff zuwa kira 1,000; ka ƙara shi a cikin /account/?tab=api). Babu wani maɓalli na sakan a sama — idan maɓallinka yana da alamun kuma kana ƙasa da iyakar wata, to, tambayoyin za su yi aiki.

Na'am. Ka wuce stream:true a kan /v1/chat/ domin karɓar abubuwan da aka aiko daga Mai Sarrafa. Tsarin waya yana nuna tsarin OpenAI na fitar da ruwa don haka SDK na mai amfani da ke nan suna aiki ba tare da canzawa ba.

Yes — the chat endpoint accepts a tools array per the OpenAI tool-calling schema. Models that support native tool use (Qwen 2.5 family + most premium models) will return tool_calls; models without native support fall back to a JSON-mode prompt.

Standard JSON: {error:{message, type, code}}. HTTP 402 means out of credits (response includes shortfall + an upgrade URL). HTTP 429 means daily pool exhausted on a non-API call. HTTP 400 covers validation errors with a human-readable message.

Muna wallafa freeai-code akan npm + PyPI don Coder IDE wrapper. Don API na asali, OpenAI SDKs aiki — point base_url a https://api.freeai/v1 kuma ka wuce maɓallinka na sk-free-.... Kamar haka ga Vercel AI SDK, LangChain, llamaindex, da dai sauransu.

Yi daidaita URL na maɓallin ƙarshe a cikin /asusun/?tab=mai ƙera. Muna sanya hannu kan kowane nau'in amfani da HMAC-SHA256 — an sanya hannu a cikin X-Free-Signature header. Webhook events fire for: long-running job completion, share-link generation, low-credit alerts, and team invite acceptance.

We multiply the upstream cost in tokens by your tier's multiplier (1.50× retail, 1.30× bulk, 1.15× partner). Self-hosted models have no markup — you pay the raw token count. The deduction line on every response shows the exact token cost so there's no guesswork.

Free models run on our self-hosted GPU fleet (Qwen 2.5, FLUX, Whisper, Kokoro, etc.) and are covered by your daily pool. Paid models route to leading external providers — those require purchased credits and cannot be paid for from the daily pool. Both share the same /v1/chat/ endpoint; pass model:premium/ to opt into a paid model.

Ya - duk wani nau'in da aka yi da kansa a kan Free.ai yana da ma'ana mai budewa a ƙarƙashin lasisi masu yarda (Apache 2.0, MIT). Nau'in ID ɗin da muke amfani da shi ya haɗu da nau'in HuggingFace na upstream, kuma gpu_api repo ɗinmu shine jama'a. Idan kana so ka yi amfani da mu a kan kayan aikinka, ka yi magana da mu game da shigar da girgije na sirri.

Coming soon. BYOK lets you supply your own external-provider API key so calls bill against your account upstream — you skip our markup entirely on those models. Until then, the bulk + partner tiers shave the markup down for high-volume customers.

Ya so Free.ai? Ka gaya wa abokanka!

QPrintPreviewDialog