Esc
  • Jump to
  • The board
  • All launchesSort and filter by week or category
  • Open statsEvery number, in public
  • Maker storiesApps that stopped hiding
  • Submit a launch
  • AICategory
  • AnalyticsCategory
  • API & BackendCategory
  • Audio & VoiceCategory
  • AutomationCategory
  • CommunityCategory
↑↓ to move↵ to openPress / anywhere
Sign in

6 Best LLM APIs for Developers & Indie AI Apps in 2026

Frontier and high-speed inference APIs compared by per-million-token pricing, prompt caching multipliers, batch discounts, and model breadth.

AI & ProductivityUpdated 6 tools ranked

Shipping an AI-powered SaaS feature in 2026 rarely means committing every prompt to a single flagship model. Frontier reasoning models now sit alongside sub-dollar workhorse tiers, prompt caching cuts repeated system-prompt input costs by 90% to 97.5%, and asynchronous batch endpoints slash token bills in half for background jobs. At the same time, unified gateways like OpenRouter and ultra-fast open-weight inference clouds like Groq and Together AI let builders mix frontier coding models with penny-per-million-token open models behind an OpenAI-compatible SDK. Here are six LLM APIs with verified live token schedules.

All per-million-token rates, caching multipliers, batch discounts, and tool fees were checked directly on each provider's official API pricing or model documentation page on 27 Nov 2026.

Quick comparison: at a glance

  1. 1Anthropic Claude APIFrontier coding and reasoning models with aggressive prompt caching, 1M context windows, and 50% Batch API savings.VisitAnthropic Claude API
  2. 2OpenAI APIBroadest suite of reasoning, realtime voice, and image models with Batch, Flex, Fast, and Ultrafast execution tiers.VisitOpenAI API
  3. 3Google Gemini APIGenerous free developer tier, fast Flash models, native Google Search grounding, and multimodal video/audio support.VisitGoogle Gemini API
  4. 4OpenRouterOne OpenAI-compatible API routing across 600+ models and 80+ providers with automatic failover and BYOK support.VisitOpenRouter
  5. 5Together AIServerless, batch, dedicated GPU inference, and LoRA fine-tuning across top open-weight LLMs and media models.VisitTogether AI
  6. 6GroqPurpose-built LPU inference cloud delivering 450 to 1,000 tokens per second for real-time agents and voice UX.VisitGroq
1

Anthropic Claude API

Best for Coding & Agentic Reliability

Frontier coding and reasoning models with aggressive prompt caching, 1M context windows, and 50% Batch API savings.

Visit Anthropic Claude API

Anthropic's Claude platform is the go-to primary API for code generation, tool-heavy agents, and nuanced writing workflows. Its current lineup spans Claude Haiku 5.5 ($0.10/$0.50 per MTok up to 100K tokens), Claude Sonnet 5.5 ($2/$10 per MTok), Claude Opus 5.5 ($4/$20 per MTok), and Claude Fable 5.2 ($8/$40 per MTok), with 1M-token context included at standard rates on Sonnet, Opus, and Fable. Prompt caching cuts repeated context reads down to $0.10/MTok on Sonnet 5.5 and $0.20/MTok on Opus 5.5, while Batch processing halves all token charges.

Best for
AI coding assistants, autonomous multi-step agents, and document analysis apps with large shared system prompts.
Pricing
Pay-as-you-go per 1M tokens: Claude Haiku 5.5 $0.10 input / $0.50 output (<=100K tokens; $0.50 / $2.50 >100K); Claude Sonnet 5.5 $2.00 / $10.00 (cache hit $0.10); Claude Opus 5.5 $4.00 / $20.00 (cache hit $0.20); Claude Fable 5.2 $8.00 / $40.00; Batch API 50% off; Web search $10/1K searches; US-only residency 1.1x multiplier; Managed Agents $0.08/session-hr

Price checked · source

Key capabilities

  • 1M-token context window at standard per-token pricing on Sonnet 5.5, Opus 5.5, and Fable 5.2
  • 5-minute and 1-hour prompt caching with cache hits as low as 0.025x-0.05x on flagship models
  • Server-side web fetch (free beyond tokens), web search ($10/1K), bash, and code execution (1,550 free hrs/mo)
  • 50% Batch API discount and optional Fast mode (2x price for up to 2.5x output speed)
Pros
  • Strong instruction following and structured tool calling across complex multi-turn agent loops
  • Flat 1M context window pricing on Sonnet/Opus/Fable avoids steep long-context surcharges
  • Generous 1,550 free container hours/month for the built-in code execution tool
Cons
  • No permanent free API tier beyond initial new-user testing credits
  • Claude 4.7+ tokenizer produces ~30% more tokens for identical text, affecting effective per-word cost
  • Haiku 5.5 jumps 5x in price on prompts exceeding 100,000 tokens
2

OpenAI API

Best Multimodal & Speed Tier Flexibility

Broadest suite of reasoning, realtime voice, and image models with Batch, Flex, Fast, and Ultrafast execution tiers.

Visit OpenAI API

OpenAI's developer platform pairs its flagship GPT-6.2 family with native realtime audio, live voice sessions, image generation, and managed container sandboxes inside the Responses API. Standard rates place gpt-6.2-sol at $2.00/$10.00 per MTok (with $0.10 cached input) and gpt-6.2-astra at $8.00/$40.00 per MTok, while cost-sensitive tasks can tap gpt-6-luna or background completion windows (30%-40% off). For ultra-low-latency UX, Fast (2x) and Ultrafast (3x promotional rate through Feb 2027) let you trade margin for speed per request.

Best for
Apps combining frontier text reasoning with realtime WebRTC voice, image generation, or hosted tool/file-search pipelines.
Pricing
Pay-as-you-go per 1M tokens (Standard): gpt-6.2-sol $2.00 input / $10.00 output ($0.10 cached); gpt-6.2-astra $8.00 / $40.00 ($0.40 cached); gpt-6-astra $10.00 / $50.00; Flex tier gpt-6.1-terra $0.50 / $2.50 and gpt-6-luna $0.05 / $0.25; Batch API 50% off; Fast 2x / Ultrafast 3x (6x from Mar 2027); Web search $10/1K calls; File search $0.10/GB/day + $2.50/1K calls

Price checked · source

Key capabilities

  • Five execution tiers (Background, Flex, Standard, Fast, Ultrafast) plus 50% off Batch API
  • Native multimodal lineup covering GPT-Image-2.6, GPT-Live voice ($0.05/min), and Realtime API
  • Hosted Responses API tools for web search, file search (1 GB free), and shell containers
  • 30-minute and 12-hour prompt caching with 90%-95% read discounts
Pros
  • Most complete single-vendor suite for text, voice, vision, and image generation
  • Every major third-party AI SDK and eval framework targets OpenAI's schema first
  • Background 2h/8h completion discounts (30%-40% off) simplify async pipeline savings
Cons
  • Rate card complexity across short/long context, regional 10% uplifts, and changing Ultrafast multipliers
  • Fine-tuning is closed to new users on legacy models listed in the public table
  • No permanent free API usage tier for production deployments
3

Google Gemini API

Best Free Tier & High-Volume Flash Value

Generous free developer tier, fast Flash models, native Google Search grounding, and multimodal video/audio support.

Visit Google Gemini API

Google's Gemini Developer API via AI Studio gives indie builders the easiest $0 starting ramp in the market: Flash models such as gemini-3.5-flash-lite, gemini-3.8-flash, and gemini-4-hydrogen run free of charge for prototyping (noting Google uses free-tier content to improve products). Upgrading to the Paid tier guarantees your prompts are not used for training while keeping rates aggressive ($0.30/$2.50 per MTok on gemini-3.5-flash-lite and $1.50/$7.50 on gemini-4-hydrogen), and adds 5,000 free monthly Google Search grounding requests plus 50% Batch and Flex discounts.

Best for
Bootstrapped builders testing for free in AI Studio and production apps needing multimodal video/audio or Google Search grounding.
Pricing
Free tier $0 on Flash/Hydrogen models (content used to improve products); Paid tier per 1M tokens (no training on data): gemini-3.5-flash-lite $0.30 input / $2.50 output; gemini-3.8-flash $0.75 / $3.75 through Dec 31, 2026 ($1.50 / $7.50 Jan 2027); gemini-4-hydrogen $1.50 / $7.50; gemini-4-carbon & argon $2.00 / $10.00 through Nov 30 ($4.00 / $20.00 Dec 1); gemini-4-neon $3.00 / $15.00; Batch & Flex 50% off; Grounding 5,000 free/mo then $14/1K

Price checked · source

Key capabilities

  • Permanent $0 Free tier on Flash and Hydrogen models for quick validation and low-traffic tools
  • Native 1M-token context and multimodal input/output spanning text, audio, image, and video
  • 5,000 free Google Search and Google Maps grounding requests per month on Paid tier
  • 50% Batch and Flex discounts plus implicit/explicit context caching
Pros
  • Lowest friction path from zero-cost prototype to production without switching SDKs
  • 5,000 free Search grounding queries monthly saves $50+/mo compared to paid web-search tools elsewhere
  • Strong price-performance on gemini-3.5-flash-lite and gemini-4-hydrogen
Cons
  • Free tier inputs and outputs are used to improve Google products, making Paid mandatory for customer data
  • Scheduled promotional price step-ups on Dec 1, 2026 (Carbon/Argon) and Jan 1, 2027 (3.8 Flash) require budget tracking
  • Top reasoning models (Carbon, Argon, Neon) are unavailable on the Free tier
4

OpenRouter

Best Multi-Model Gateway & Fallback Router

One OpenAI-compatible API routing across 600+ models and 80+ providers with automatic failover and BYOK support.

Visit OpenRouter

OpenRouter solves vendor lock-in and uptime headaches by unifying Claude, GPT, Gemini, DeepSeek, Qwen, and Llama endpoints behind one OpenAI-compatible URL. Inference itself is billed at each underlying provider's list price with zero per-token markup; instead, OpenRouter charges a 5.5% platform fee when purchasing credits on Standard (8% on Business), or lets you route up to $25,000/month through your own provider API keys (BYOK) for free. Automatic provider fallback and Zero Completion Insurance mean failed or empty responses never drain your balance.

Best for
Indie apps offering users a model switcher, SaaS products needing automatic cross-provider failover, and unified cost tracking.
Pricing
Free $0 (25+ free models across 4 providers, 20 req/min and 50 req/day, rising to 1,000/day after $10 credit purchase); Standard pay-as-you-go (600+ models, 5.5% fee on credit top-ups, list-price tokens, $25K/mo free BYOK then 5%); Business pay-as-you-go (8% fee on credit top-ups, EU/US in-region routing, 1,000 workspaces); Enterprise custom

Price checked · source

Key capabilities

  • 600+ models from 80+ inference providers behind a single OpenAI-compatible API
  • Automatic fallback routing and Zero Completion Insurance for errored/empty runs
  • Bring Your Own Key (BYOK) free up to $25,000/month of inference volume
  • Zero Data Retention routing on every plan plus EU/US geo-pinned endpoints on Business
Pros
  • Swap models or add redundancy across Anthropic, OpenAI, and open-weight hosts with one line of config
  • 25+ free models with up to 1,000 requests/day once you hold $10 in credits
  • Per-key credit caps and 5 workspaces (1,000 on Business) isolate dev, staging, and prod spend
Cons
  • 5.5% credit-purchase fee (8% on Business) adds overhead compared to billing providers directly past $25K BYOK
  • Passing through multiple upstream providers can introduce slight routing latency variance unless pinned
  • SSO/SAML and invoicing require Enterprise contracts
5

Together AI

Best Open-Weight Model & Fine-Tuning Cloud

Serverless, batch, dedicated GPU inference, and LoRA fine-tuning across top open-weight LLMs and media models.

Visit Together AI

Together AI gives developers one of the broadest catalogs of serverless open-weight models, including DeepSeek V4.1 Flash ($0.30/$1.20 per MTok), Qwen3.8 Flash ($0.15/$0.47), GLM-5.3-Flash ($0.15/$0.50), gpt-oss-120B ($0.15/$0.60), and free Ternary Bonsai 27B, alongside image, video, speech, and reranking APIs. Unlike pure inference wrappers, Together lets you graduate seamlessly from pay-per-token serverless endpoints to Provisioned Throughput, dedicated H100/H200/B200 hardware (from $5.49/hr dedicated), or managed LoRA fine-tuning starting at $0.34 per million tokens.

Best for
Teams building on DeepSeek, Qwen, GLM, or Llama open weights who also want fine-tuning, media models, or dedicated GPU paths.
Pricing
Serverless per 1M tokens: Ternary Bonsai 27B $0 (free); Qwen3.8 Flash $0.15 / $0.47; gpt-oss-120B $0.15 / $0.60; GLM-5.3-Flash $0.15 / $0.50; DeepSeek V4.1 Flash $0.30 / $1.20; GLM-5.3 $1.40 / $4.40; Kimi K3.1 Pro $2.00 / $10.00; Batch API & cached input discounts available; Dedicated GPUs from $5.49/hr (H100); LoRA fine-tuning from $0.34/1M tokens ($4 min)

Price checked · source

Key capabilities

  • Extensive serverless open-weight catalog covering chat, vision, image, video, Whisper ASR, TTS, and reranking
  • Batch API and prompt-cached input pricing on major serverless models
  • Seamless upgrade path from serverless tokens to Provisioned Throughput or dedicated H100/H200/B200 GPUs
  • Built-in LoRA and full fine-tuning (SFT and DPO) starting at $4 minimum per job
Pros
  • Dramatically lower per-token costs on open models compared to closed frontier APIs
  • Includes US geo-pinned serverless endpoints for a modest uplift when data residency matters
  • Covers non-LLM modalities like Whisper ($0.0015/min) and FLUX image generation under one account
Cons
  • Top closed frontier models (Claude, GPT-6.2, Gemini) are not hosted directly
  • Fast or US geo-pinned variants carry higher per-token rates than standard global endpoints
  • Dedicated single-tenant GPU instances start at $5.49/hr (~$4,000/mo continuous)
6

Groq

Best Ultra-Low-Latency Inference

Purpose-built LPU inference cloud delivering 450 to 1,000 tokens per second for real-time agents and voice UX.

Visit Groq

When perceived latency determines whether a user feels like they are talking to a real-time assistant or waiting on a spinner, Groq's custom LPU hardware stands apart. Its self-serve Developer tier delivers GPT-OSS 20B at roughly 1,000 tokens per second for $0.075/$0.30 per million tokens and GPT-OSS 120B at 500 tokens per second for $0.15/$0.60 per million tokens, alongside Qwen3.8-27B at 450 tokens per second and Whisper Large V3 Turbo speech-to-text at $0.04 per audio hour. Note that several popular Llama and enterprise models on Groq are gated behind Contact Sales.

Best for
Voice agents, autocomplete, real-time classification, and interactive UIs where sub-second completion speed is mandatory.
Pricing
Free evaluation tier and pay-as-you-go Developer plan (per 1M tokens): openai/gpt-oss-20b (~1,000 tok/s) $0.075 input / $0.30 output (250K TPM, 1K RPM); openai/gpt-oss-120b (~500 tok/s) $0.15 / $0.60 (250K TPM, 1K RPM); qwen/qwen3.8-27b (~450 tok/s) $0.80 / $4.00; Whisper Large V3 Turbo $0.04/hr (V3 $0.111/hr); Llama 3.1/3.3 & Enterprise models custom via Contact Sales

Price checked · source

Key capabilities

  • 450 to 1,000 tokens/second output speeds on custom LPU infrastructure
  • OpenAI-compatible REST endpoints with Responses API, tool calling, and structured outputs
  • Ultra-cheap Whisper Large V3 Turbo audio transcription at $0.04 per audio hour
  • Built-in Prompt Guard 2 safety classifiers ($0.03-$0.04/1M tokens) and Browser Search tools
Pros
  • Noticeably snappier time-to-complete than standard GPU clouds for voice and multi-step chains
  • Sub-dime GPT-OSS 20B and $0.15/$0.60 GPT-OSS 120B rates keep unit economics tiny
  • 250K tokens-per-minute self-serve Developer limits handle substantial early SaaS concurrency
Cons
  • Much smaller self-serve model catalog than OpenRouter or Together AI
  • Production Llama 3.1 8B, Llama 3.3 70B, and several new models require Enterprise Contact Sales
  • 131K context window across self-serve production text models is smaller than 1M-context frontier APIs

07

How to Control LLM API Margins in Production SaaS

Route requests by task complexity instead of sending every user click to a flagship reasoning model. Classification, extraction, moderation, and query rewriting run reliably on lightweight models like Claude Haiku 5.5 ($0.10/$0.50 per MTok), Gemini 3.5 Flash-Lite ($0.30/$2.50 per MTok), or GPT-OSS 20B on Groq ($0.075/$0.30 per MTok), saving frontier models for multi-step coding, synthesis, and customer-facing reasoning.

Enable prompt caching and asynchronous batching as soon as your prompt templates stabilize. Anthropic's cache reads drop to 0.025x-0.1x of base input rates (with 5-minute writes at 1.25x), OpenAI discounts cached inputs by up to 95% on GPT-6.2 models, and Anthropic, OpenAI, and Google Gemini all offer a 50% Batch API discount for offline document processing, evals, and nightly summaries.

Watch hidden ancillary costs beyond text tokens: built-in web search tools on Claude API and OpenAI API both charge $10 per 1,000 searches on top of retrieved content tokens (while Gemini includes 5,000 free Google Search grounding requests per month before charging $14 per 1,000), and data-residency pinning on Claude or OpenAI applies a 1.1x regional uplift.

Finally, consider adding a fallback or routing layer early so a single provider outage or rate-limit wall never breaks your app. OpenRouter gives you 600+ models across 80+ providers behind one API key (or lets you bring your own provider keys fee-free up to $25,000/month), while OpenAI-compatible open-weight hosts like Together AI and Groq make switching providers a two-line base-URL change.

08

Frequently asked questions

Should I integrate Anthropic or OpenAI directly, or start with OpenRouter?

If your product centers on one frontier model family and uses provider-specific features like Anthropic's Managed Agents or OpenAI's Realtime WebRTC voice API, integrate directly to avoid OpenRouter's 5.5%-8% credit-purchase fee. If your app lets users switch models or needs instant fallback across providers, OpenRouter's unified endpoint and $25K/month free BYOK allowance are hard to beat.

Which LLM API has the best free tier for prototyping in 2026?

Google Gemini API offers the strongest permanent free tier on its Flash and Hydrogen models inside AI Studio, though Google uses free-tier data to improve products until you switch to Paid. OpenRouter also provides 25+ free open models (expanding to 1,000 requests/day after a $10 credit top-up).

How much money does prompt caching actually save?

For RAG apps, coding agents, or chatbots that send a long system prompt and tool schema on every turn, prompt caching cuts repeated input costs by 90% to 97.5%. On Claude Sonnet 5.5, base input tokens cost $2.00 per million while cache hits cost $0.10 per million; on OpenAI gpt-6.2-sol, cached inputs drop from $2.00 to $0.10 per million.

When should I use Groq or Together AI instead of frontier models?

Use Groq when latency matters most (such as voice pipelines, autocomplete, or fast routing), and use Together AI when you want low-cost open-weight models like DeepSeek or Qwen, LoRA fine-tuning, or media APIs at a fraction of frontier token prices.

Share

in

Launching something?

Submit it to Hauntboard. Free listings show the Hauntboard badge and get human review in about 72 hours. Launching on Hauntboard doesn't affect these rankings.

Launch free →

Explore more curated rankings

All rankings →

On the board

All →

Still hiding your app?

Put it on the board. Reviewed by a person, free to launch.

Launch free
Submit a launch