The cheapest AI tools with API access (2026)

If you want to build AI into your own app or script, you don't need an expensive plan. This list starts with options that cost nothing (models you run yourself) and moves on to pay-as-you-go APIs, where you only pay for what you use. API prices change often and are charged per token, character or image, so always check the provider's current price page.

Prices checked November 24, 2026. Open each tool's page for every plan, price sources and dates.

  1. Ollama

    Ollama · Open Models

    Run open models locally for free with a built-in API; optional cloud models are billed per token.

    Free planfrom $20/mo
  2. LM Studio

    Element Labs · Open Models

    Free desktop app that can run a local server other apps use like an AI API.

    Free
  3. Whisper

    OpenAI · Open Models

    Free, open-source speech-to-text you can run yourself.

    Free
  4. Hugging Face

    Hugging Face · Open Models

    Huge library of open models; basic use is free.

    Free
  5. DeepSeek

    DeepSeek · AI Assistants & Chatbots

    Pay-as-you-go API known for low prices; free web chat.

    Free
  6. FLUX

    Black Forest Labs · Open Models

    Pay-as-you-go image API with no subscription; Black Forest Labs sells credits at $0.01 each.

    Free
  7. Murf AI

    Murf · Voice & Music

    Text-to-speech API priced per character, with free trial credit.

    Free planfrom $29/mo
  8. Stable Diffusion

    Stability AI · Open Models

    Open image models you can run on your own hardware at no licence cost for personal use.

    Free

More lists

Compare AI tools side by side →