We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.

LLM API for chat, agents and structured output

Use one chat completions endpoint for every large language model. Streaming, tool calling, JSON schema outputs, vision and reasoning work the same way across providers, so you can pick the best price or quality per task without rewriting code.

  • Chatbots and support assistants
  • Agents that call your tools and APIs
  • Extracting structured JSON from documents
  • Summaries, translation and classification at scale

One API. Every model.

5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign in

Session cost $0.00

LLM API · 452 models

ModelPrice
Recursive: Flint (free)recursive/flint-v1.0:freeFree
XingChen: Xing4.0 29B A4B (free)xingchen-agi/xing4.0-29b-a4b:freeFree
NVIDIA: Nemotron 3.5 Super VL (free)nvidia/nemotron-3.5-super-vl:freeFree
Dots Studio: Dots3-Note Preview (free)dots-studio/dots-3-note-preview:freeFree
LiquidAI: LFM2.5-2.6B (free)liquid/lfm-2.5-2.6b:freeFree
NVIDIA: Nemotron 3.5 Lightning (free)nvidia/nemotron-3.5-lightning:freeFree
Thinking Machines: Inkling Small (free)thinkingmachines/inkling-small:freeFree
Poolside: Laguna S 2.1 (free)poolside/laguna-s-2.1:freeFree
Thinking Machines: Inkling (free)thinkingmachines/inkling:freeFree
Poolside: Laguna XS 2.1 (free)poolside/laguna-xs-2.1:freeFree
Cohere: North Mini Code (free)cohere/north-mini-code:freeFree
NVIDIA: Nemotron 3.5 Content Safety (free)nvidia/nemotron-3.5-content-safety:freeFree
NVIDIA: Nemotron 3 Ultra (free)nvidia/nemotron-3-ultra-550b-a55b:freeFree
NVIDIA: Nemotron 3 Nano Omni (free)nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:freeFree
Google: Gemma 4 26B A4B (free)google/gemma-4-26b-a4b-it:freeFree
Google: Gemma 4 31B (free)google/gemma-4-31b-it:freeFree
NVIDIA: Nemotron 3 Super (free)nvidia/nemotron-3-super-120b-a12b:freeFree
Free Models Routeropenrouter/freeFree
ScaleDown: Summarizescaledown/summarize$0.14 / 1M tokens
ScaleDown: Extractscaledown/extract$0.14 / 1M tokens
Mistral: Mistral Nemomistralai/mistral-nemo$0.10 / 1M tokens$0.11 / 1M tokens
inclusionAI: Ling 3.0 Flashinclusionai/ling-3.0-flash$0.07 / 1M tokens$0.22 / 1M tokens
Google: Gemma 3 4Bgoogle/gemma-3-4b-it$0.14 / 1M tokens$0.18 / 1M tokens
Sao10K: Llama 3 8B Lunarissao10k/l3-lunaris-8b$0.14 / 1M tokens$0.18 / 1M tokens
OpenAI: gpt-oss-20bopenai/gpt-oss-20b$0.06 / 1M tokens$0.32 / 1M tokens
Nex AGI: Nex-N2.5-Mininex-agi/nex-n2.5-mini$0.09 / 1M tokens$0.35 / 1M tokens
IBM: Granite 4.0 Microibm-granite/granite-4.0-h-micro$0.06 / 1M tokens$0.39 / 1M tokens
Mistral: Mistral Small 3mistralai/mistral-small-24b-instruct-2501$0.18 / 1M tokens$0.28 / 1M tokens
Meta: Llama 3.1 8B Instructmeta-llama/llama-3.1-8b-instruct$0.18 / 1M tokens$0.28 / 1M tokens
OpenAI: gpt-oss-20b (batch)openai/gpt-oss-20b:batch$0.08 / 1M tokens$0.39 / 1M tokens
Mistral: Ministral 3 8B 2512 (batch)mistralai/ministral-8b-2512:batch$0.26 / 1M tokens$0.26 / 1M tokens
Qwen: Qwen3.7 Flashqwen/qwen3.7-flash$0.11 / 1M tokens$0.45 / 1M tokens
OpenAI: gpt-oss-120b (batch)openai/gpt-oss-120b:batch$0.10 / 1M tokens$0.48 / 1M tokens
Amazon: Nova Micro 1.0amazon/nova-micro-v1$0.12 / 1M tokens$0.49 / 1M tokens
DeepSeek: DeepSeek V4 Flash 0731deepseek/deepseek-v4-flash-0731$0.16 / 1M tokens$0.47 / 1M tokens
Inference.net: Schematron V2 Turboinference-net/schematron-v2-turbo$0.11 / 1M tokens$0.52 / 1M tokens
Poolside: Laguna XS 2.1poolside/laguna-xs-2.1$0.21 / 1M tokens$0.42 / 1M tokens
Cohere: Command R7B (12-2024)cohere/command-r7b-12-2024$0.13 / 1M tokens$0.52 / 1M tokens
Inception: Mercury 2.5inception/mercury-2.5$0.14 / 1M tokens$0.52 / 1M tokens
MythoMax 13Bgryphe/mythomax-l2-13b$0.28 / 1M tokens$0.39 / 1M tokens
Showing 40 of 452 models →

How to call the LLM API API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "qwen/qwen3.6-27b".

How do I choose an LLM?

Start with a fast, low-cost model for routing and extraction, and reserve frontier models for complex reasoning. The table below is sorted by price so you can compare quickly.

Can I switch models without code changes?

Yes. Model ids use the provider/model format (for example openai/gpt-5-mini); change the model string in the same request.

How do I keep LLM costs down?

Cap max_tokens, reuse long system prompts with prompt caching, and send simple tasks to a small model. Each model page shows the cost of a typical request.

Does streaming cost more?

No. Streamed and non-streamed responses are billed the same way, by input and output tokens.

Which models support tool calling and JSON output?

Each model page lists its supported parameters. Look for tools and structured outputs, or filter the catalog by capability.

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api14.com/api/v1",
  apiKey: process.env.API14_API_KEY,
});

const result = await client.chat.completions.create({
  "model": "qwen/qwen3.6-27b",
  "messages": [
    {
      "role": "user",
      "content": "Explain vector databases in two sentences."
    }
  ]
});
console.log(result.choices[0].message.content);

Popular AI API services