freeaiapi.aiSign Up

GPT API key — OpenAI models, up to 30% cheaper

Get free GPT API key

Call GPT models with the standard OpenAI SDK. Same request format, same streaming, one prepaid balance shared with every other model on the platform.

Models
68
From
$0.035 /M input
Below official
up to 30%
Prices updated
2026-11-26

GPT API pricing

Live prices next to the official list price

OpenAI: gpt-3.5-turbo-1106

−30% vs official

gpt-3.5-turbo-1106 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.70/M input tokens$1.40/M output tokens

gpt-4 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$21.00/M input tokens$42.00/M output tokens$10.50/M cached input

OpenAI: gpt-4-1106-preview

−30% vs official

gpt-4-1106-preview is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$7.00/M input tokens$21.00/M output tokens

OpenAI: gpt-4-turbo

−30% vs official

gpt-4-turbo is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$7.00/M input tokens$21.00/M output tokens

gpt-4-turbo-2024-04-09 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$7.00/M input tokens$21.00/M output tokens

OpenAI: gpt-4.1

−30% vs official

gpt-4.1 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$1.40/M input tokens$5.60/M output tokens$0.70/M cached input

OpenAI: gpt-4.1-2025-04-14

−30% vs official

gpt-4.1-2025-04-14 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$1.40/M input tokens$5.60/M output tokens$0.35/M cached input

OpenAI: gpt-4.1-mini

−30% vs official

gpt-4.1-mini is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.28/M input tokens$1.12/M output tokens$0.07/M cached input

gpt-4.1-mini-2025-04-14 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.28/M input tokens$1.12/M output tokens$0.07/M cached input

OpenAI: gpt-4.1-nano

−30% vs official

gpt-4.1-nano is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.07/M input tokens$0.28/M output tokens$0.018/M cached input

gpt-4.1-nano-2025-04-14 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.07/M input tokens$0.28/M output tokens$0.018/M cached input

OpenAI: gpt-4o

−30% vs official

gpt-4o is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$1.75/M input tokens$7.00/M output tokens$0.875/M cached input

OpenAI: gpt-4o-2024-05-13

−30% vs official

gpt-4o-2024-05-13 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$3.50/M input tokens$10.50/M output tokens

OpenAI: gpt-4o-2024-08-06

−30% vs official

gpt-4o-2024-08-06 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$1.75/M input tokens$7.00/M output tokens$0.875/M cached input

OpenAI: gpt-4o-2024-11-20

−30% vs official

gpt-4o-2024-11-20 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$1.75/M input tokens$7.00/M output tokens$0.875/M cached input

gpt-4o-audio-preview-2024-12-17 is an audio and speech model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$1.75/M input tokens$7.00/M output tokens

OpenAI: gpt-4o-mini

−30% vs official

gpt-4o-mini is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.105/M input tokens$0.42/M output tokens$0.052/M cached input

gpt-4o-mini-2024-07-18 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.105/M input tokens$0.42/M output tokens$0.052/M cached input

gpt-4o-mini-transcribe is an audio and speech model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$1.05/M input tokens$4.20/M output tokens

OpenAI: gpt-4o-mini-tts

Audio−30% vs official

gpt-4o-mini-tts is an audio and speech model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.21/request

gpt-4o-transcribe is an audio and speech model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$1.75/M input tokens$7.00/M output tokens

OpenAI: gpt-5

−30% vs official

gpt-5 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.875/M input tokens$7.00/M output tokens$0.088/M cached input

OpenAI: gpt-5-2025-08-07

−30% vs official

gpt-5-2025-08-07 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.875/M input tokens$7.00/M output tokens$0.088/M cached input

OpenAI: gpt-5-chat-latest

−30% vs official

gpt-5-chat-latest is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.875/M input tokens$7.00/M output tokens$0.088/M cached input

OpenAI: gpt-5-mini

−30% vs official

gpt-5-mini is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.175/M input tokens$1.40/M output tokens$0.017/M cached input

gpt-5-mini-2025-08-07 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.175/M input tokens$1.40/M output tokens$0.017/M cached input

OpenAI: gpt-5-nano

−30% vs official

gpt-5-nano is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.035/M input tokens$0.28/M output tokens$0.0035/M cached input

gpt-5-nano-2025-08-07 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.035/M input tokens$0.28/M output tokens$0.0035/M cached input

OpenAI: gpt-5-pro

−30% vs official

gpt-5-pro is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$10.50/M input tokens$84.00/M output tokens

OpenAI: gpt-5.1

−30% vs official

gpt-5.1 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.875/M input tokens$7.00/M output tokens$0.088/M cached input

OpenAI: gpt-5.1-2025-11-13

−30% vs official

gpt-5.1-2025-11-13 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.875/M input tokens$7.00/M output tokens$0.088/M cached input

OpenAI: gpt-5.1-chat-latest

−30% vs official

gpt-5.1-chat-latest is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.875/M input tokens$7.00/M output tokens$0.088/M cached input

gpt-5.1-codex-mini is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.175/M input tokens$1.40/M output tokens$0.017/M cached input

OpenAI: gpt-5.2

−30% vs official

gpt-5.2 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$1.23/M input tokens$9.80/M output tokens$0.123/M cached input

OpenAI: gpt-5.2-chat-latest

−30% vs official

gpt-5.2-chat-latest is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$1.23/M input tokens$9.80/M output tokens$0.123/M cached input

gpt-5.2-codex is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$1.23/M input tokens$9.80/M output tokens$0.123/M cached input

OpenAI: gpt-5.2-pro

−30% vs official

gpt-5.2-pro is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$14.70/M input tokens$117.60/M output tokens

OpenAI: gpt-5.3-codex

−30% vs official

gpt-5.3-codex is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$1.23/M input tokens$9.80/M output tokens$0.123/M cached input

OpenAI: gpt-5.4

−30% vs official

gpt-5.4 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$1.75/M input tokens$10.50/M output tokens$0.175/M cached input

OpenAI: gpt-5.4-mini

−30% vs official

gpt-5.4-mini is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.525/M input tokens$3.15/M output tokens$0.053/M cached input

gpt-5.4-mini-2026-03-17 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.525/M input tokens$3.15/M output tokens$0.053/M cached input

OpenAI: gpt-5.4-nano

−30% vs official

gpt-5.4-nano is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.14/M input tokens$0.875/M output tokens$0.014/M cached input

gpt-5.4-nano-2026-03-17 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.14/M input tokens$0.875/M output tokens$0.014/M cached input

OpenAI: gpt-5.4-pro

−30% vs official

gpt-5.4-pro is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$21.00/M input tokens$126.00/M output tokens

gpt-5.4-pro-2026-03-05 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$21.00/M input tokens$126.00/M output tokens

OpenAI: gpt-5.5

−30% vs official

GPT-5.5 is a general-purpose OpenAI model for chat, coding and analysis — a dependable choice when you want broad capability at a mid-range price.

by openai$3.50/M input tokens$21.00/M output tokens$0.35/M cached input

OpenAI: gpt-5.6-luna

−30% vs official

GPT-5.6 Luna is the economy tier of the GPT-5.6 line, built for cheap, high-throughput tasks in the spirit of the earlier GPT-5 nano.

by openai$0.14/M input tokens$0.84/M output tokens$0.014/M cached input

OpenAI: gpt-5.6-sol

−30% vs official

GPT-5.6 Sol is the top model of the GPT-5.6 line, matching the capability tier of the original full-size GPT-5 for demanding reasoning and coding work.

by openai$3.50/M input tokens$21.00/M output tokens$0.35/M cached input

OpenAI: gpt-5.6-terra

−30% vs official

GPT-5.6 Terra sits in the middle of the GPT-5.6 line, balancing capability and cost in the same way the earlier GPT-5 mini tier did.

by openai$1.40/M input tokens$8.40/M output tokens$0.14/M cached input

OpenAI: gpt-6-astra

−30% vs official

GPT-6 Astra is OpenAI's most capable model, built for the toughest jobs from start to finish — deep reasoning, software work, operating computers, research and very long documents. Reasoning effort is adjustable, so you can trade cost for depth per request.

by openai$7.00/M input tokens$35.00/M output tokens$0.70/M cached input

OpenAI: gpt-6-luna

−30% vs official

GPT-6 Luna is the lightweight, low-cost member of the GPT-6 series. It keeps a long context window and adjustable reasoning while putting speed first, which suits high-volume pipelines.

by openai$0.07/M input tokens$0.35/M output tokens$0.007/M cached input

OpenAI: gpt-6-sol

−30% vs official

GPT-6 Sol is the mid-range model of OpenAI's GPT-6 series, focused on agents and complex coding, with a long context window and adjustable reasoning — strong capability without flagship pricing.

by openai$1.40/M input tokens$7.00/M output tokens$0.14/M cached input

OpenAI: gpt-6.1-sol

−30% vs official

GPT-6.1 Sol is an upgraded mid-tier reasoning model in the GPT-6 family. It comes close to Astra on agentic coding, computer operation and professional tasks at a much lower price.

by openai$1.40/M input tokens$7.00/M output tokens$0.07/M cached input

OpenAI: gpt-6.1-terra

−30% vs official

GPT-6.1 Terra is a cost-effective multimodal model for agent automation, computer-use interfaces, image understanding and code generation.

by openai$0.70/M input tokens$3.50/M output tokens$0.035/M cached input

OpenAI: gpt-6.2-astra

−30% vs official

gpt-6.2-astra is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$5.60/M input tokens$28.00/M output tokens$0.28/M cached input

OpenAI: gpt-6.2-sol

−30% vs official

gpt-6.2-sol is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$1.40/M input tokens$7.00/M output tokens$0.07/M cached input

gpt-audio-2025-08-28 is an audio and speech model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$1.75/M input tokens$3.50/M output tokens

OpenAI: gpt-chat-latest

−30% vs official

gpt-chat-latest is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$3.50/M input tokens$21.00/M output tokens

OpenAI: gpt-oss-120b

−30% vs official

gpt-oss-120b is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.77/M input tokens$3.08/M output tokens

OpenAI: o1

−30% vs official

o1 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$10.50/M input tokens$42.00/M output tokens$5.25/M cached input

OpenAI: o1-2024-12-17

−30% vs official

o1-2024-12-17 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$10.50/M input tokens$42.00/M output tokens$5.25/M cached input

OpenAI: o3

−30% vs official

o3 is an OpenAI reasoning model that works through a problem before answering, suited to maths, science, multi-step logic and hard coding questions.

by openai$1.40/M input tokens$5.60/M output tokens$0.35/M cached input

OpenAI: o3-2025-04-16

−30% vs official

o3-2025-04-16 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$1.40/M input tokens$5.60/M output tokens$0.35/M cached input

OpenAI: o3-mini

−30% vs official

o3-mini is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.77/M input tokens$3.08/M output tokens$0.385/M cached input

OpenAI: o3-mini-2025-01-31

−30% vs official

o3-mini-2025-01-31 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.77/M input tokens$3.08/M output tokens$0.385/M cached input

o3-pro is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$14.00/M input tokens$56.00/M output tokens

OpenAI: o4-mini

−30% vs official

o4-mini is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.77/M input tokens$3.08/M output tokens$0.193/M cached input

OpenAI: o4-mini-2025-04-16

−30% vs official

o4-mini-2025-04-16 is a text and chat model from OpenAI, available through one freeaiapi.ai API key and billed from your prepaid balance.

by openai$0.77/M input tokens$3.08/M output tokens$0.193/M cached input

Call GPT models with the OpenAI SDK

Change the base URL and key — nothing else

curl https://api.freeaiapi.ai/v1/chat/completions \
  -H "Authorization: Bearer $FREEAIAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-3.5-turbo-1106",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

GPT API FAQ

Is this the official OpenAI API?

No. freeaiapi.ai is an independent API gateway. You get one OpenAI-compatible key that routes to OpenAI and other models, billed from a prepaid balance.

Do I need a credit card to start?

No. Sign up, connect Telegram and join our channel to unlock $1 trial credit. Create an API key and make your first request. Add funds when you want to keep going.

Does it work with the OpenAI SDK?

Yes. Point any OpenAI SDK or OpenAI-compatible tool at https://api.freeaiapi.ai/v1 and use your freeaiapi.ai key. No code changes beyond the base URL and key.

Other model APIs

Get your free GPT API key

No card required. One key for every model, up to 30% below official pricing.

Get free API key

Not affiliated with OpenAI. GPT is a trademark of OpenAI.