Ollama Cloud Free Tier Modellerini Keşfetmek
Ollama’da cloud free tier (ücretsiz bulut) modellerini bulmak için tarayıcıya ihtiyacınız yok. Bunu tamamen komut satırından otomatik hale getirebilirsiniz.
Mantık basit: Önce arama sayfalarını çekiyoruz, sonra model isimlerini çıkarıp “cloud” içeren tag’leri filtreliyoruz. Bu tag’ler genelde cloud (ve çoğu zaman free tier) desteğini gösterir.
curl "https://ollama.com/search?c=cloud" -o ollama_cloud.txt
curl "https://ollama.com/search?c=cloud&page=2" -o ollama_cloud2.txt
grep -ohP '(?<=<span x-test-search-response-title>).*?(?=</span>)' ollama_cloud.txt ollama_cloud2.txt \
| while IFS= read -r model; do
echo "== $model =="
curl -s "https://ollama.com/library/$model/tags" \
| grep -oP "$model:[^\"<]*cloud[^\"<]*" \
| sed 's/["><].*//' \
| sort -u \
| while IFS= read -r tag; do
echo "Running $tag"
ollama run "$tag" "hello" > "logs/${tag}.txt" 2>&1
status=$?
echo "Exit code: $status"
if [ "$status" -eq 1 ]; then
ollama rm "$tag"
fi
done
done