Skip to content
fedi.software

API providers

Where to get API access to models: number of models, starting credit, payment methods and the lowest prices.

Updated

OpenRouter

Freemium

One account and one API key for models from Anthropic, OpenAI, Google and open-weight families, with each request routed to a provider that serves the model. Handy when you want to switch models without signing up again.

Models
381
From
$0.00 / 1M input tokens
Free plan
:free · 20 requests/min · 50 requests/day · 1,000/day after $10 of credits
OpenAI-compatible API
yes
Payment
Card, Crypto

Anthropic API

Paid

Anthropic's own API for the Claude models, billed per token and managed in the Claude Console. The direct route for apps and agents built on Claude.

Models
13
From
$1.00 / 1M input tokens
OpenAI-compatible API
yes
Payment
Card, Bank transfer

OpenAI API

Paid

Direct access to OpenAI's GPT models, along with its image, speech and embedding models, paid per token. The starting point for apps built on OpenAI technology.

Models
65
From
$0.02 / 1M input tokens
OpenAI-compatible API
yes
Payment
Card

Google AI Studio

Freemium

Google's web studio for trying Gemini and Gemma models and creating Gemini API keys. Some models have a free tier with rate limits; paid use runs through Google Cloud billing.

Models
46
From
$0.10 / 1M input tokens
Free plan
Gemini Flash, Flash-Lite, Gemma
OpenAI-compatible API
yes
Payment
Google Cloud billing

Groq

Freemium

Open-weight models served on Groq's own LPU chips, reachable through an OpenAI-compatible API. A free plan with rate limits makes it easy to test fast responses.

Models
5
From
$0.08 / 1M input tokens
Free plan
30 requests/min · 1,000 requests/day · gpt-oss-20b
OpenAI-compatible API
yes
Payment
Card, Bank transfer

Together AI

Paid

Cloud platform for open-weight models that combines a serverless inference API with fine-tuning and GPU clusters, aimed at teams running open models at scale.

Models
53
From
$0.05 / 1M input tokens
OpenAI-compatible API
yes
Payment
Card, Bank transfer

Fireworks AI

Paid

Inference platform for open-weight models: a serverless API, fine-tuning and dedicated deployments for production apps, with a small credit to start.

Models
17
From
$0.05 / 1M input tokens
Free credit
$1
OpenAI-compatible API
yes

DeepInfra

Paid

Pay-per-token access to open-weight models hosted by DeepInfra, through an OpenAI-compatible API — a low-cost way to call open models without running servers.

Models
101
From
$0.02 / 1M input tokens
OpenAI-compatible API
yes
Payment
Card, Invoice

Mistral AI Studio

Freemium

Mistral AI's developer platform, formerly La Plateforme, with the API for Mistral models. A free mode works without a payment card.

Models
33
From
$0.04 / 1M input tokens
Free plan
Free API tier, no card

DeepSeek API

Paid

DeepSeek's first-party API for its own models, using the OpenAI-compatible request format, so existing client libraries work with a changed base address.

Models
9
From
$0.15 / 1M input tokens
OpenAI-compatible API
yes

xAI API

Paid

xAI's developer API for the Grok models, for apps that want to build on Grok directly rather than through the chat app.

Models
17
From
$1.00 / 1M input tokens
OpenAI-compatible API
yes
Payment
Card, Bank transfer, Invoice

Cerebras Inference

Paid

Open-weight models running on Cerebras wafer-scale chips, offered as an inference API built for very quick responses. New accounts get trial credit.

Models
5
From
$0.35 / 1M input tokens
Free credit
$5 trial, 30 days
OpenAI-compatible API
yes
Payment
Card

Cloudflare Workers AI

Freemium

Runs models on Cloudflare's GPU network, called from Workers or a REST API, with a daily free allowance measured in Neurons. A natural fit for apps already on Cloudflare.

Models
24
From
$0.02 / 1M input tokens
Free plan
10,000 Neurons/day
OpenAI-compatible API
yes

Hugging Face Inference Providers

Freemium

A single Hugging Face account and token to call models of the Hub through partner inference providers, with a small monthly credit for free experiments.

Models
69
From
$0.05 / 1M input tokens
Free credit
$0.10/month (PRO: $2/month)
OpenAI-compatible API
yes

What an API provider is

To use a model in your own app, script or agent you need API access: a key, a price per token and a limit on requests. This page lists the providers that sell it. Some are vendors offering their own models — Anthropic, OpenAI, Google, Mistral, DeepSeek, xAI. Others are platforms that serve many models, including open-weight ones: OpenRouter, Together AI, Fireworks, DeepInfra, Groq, Cerebras, Cloudflare Workers AI and Hugging Face.

What each card tells you

  • the number of models the provider serves, counted from our daily price data;
  • "From": the lowest input price per million tokens among its models — the entry price, not the price of its strongest model;
  • a free plan or starting credit, when the provider offers one;
  • payment methods, listed only when the provider's own page confirms them;
  • whether the API is OpenAI-compatible, which lets many existing tools connect by changing the address and the key.

Each card links to the provider's pricing or rate-limit page and shows the date we checked it.

Vendor or aggregator?

An aggregator such as OpenRouter gives you one account and one key for models of many vendors, which is convenient when you want to switch or compare. A vendor's own API usually receives new models and features first and may offer discounts such as prompt caching. Many teams use both: a vendor API for their main model and an aggregator for experiments.

Caveats

Free plans and limits change often, sometimes monthly. The prices behind "From" are refreshed daily from models.dev and LiteLLM, but the provider's own page is the final word. For a model-by-model view of who sells what, open any leaderboard and click a row: the details list providers from the cheapest.