All Models

Browse available models, pricing, and capabilities.

Alibaba/qwen3-vl:235b

Alibaba/qwen3-vl:235b

Context

128k

Provider

Alibaba

Input
$1.00/1M $0.80/1M
Output
$3.00/1M $2.60/1M

anthropic/claude-sonnet-4.6

anthropic/claude-sonnet-4.6

Context

1000k

Provider

Anthropic

Input
$3.00/1M $0.80/1M
Output
$15.00/1M $3.00/1M

anthropic/claude-opus-4.6

anthropic/claude-opus-4.6

Context

1000k

Provider

Anthropic

Input
$5.00/1M $1.50/1M
Output
$25.00/1M $6.00/1M

Qwen 3.5

Alibaba/qwen3.5

Context

128k

Provider

Alibaba

Input
$0.40/1M $0.30/1M
Output
$0.60/1M $0.50/1M

openai/gpt-5.2-codex

openai/gpt-5.2-codex

Context

400k

Provider

OpenAI

Input
$1.75/1M $0.50/1M
Output
$14.00/1M $3.00/1M

openai/gpt-4o

openai/gpt-4o

Context

128k

Provider

OpenAI

Input
$2.50/1M $0.30/1M
Output
$10.00/1M $0.90/1M

openai/gpt-5

openai/gpt-5

Context

400k

Provider

OpenAI

Input
$1.25/1M $0.25/1M
Output
$10.00/1M $2.00/1M

Don't see the model you need?

How to Use Our API

Our API is fully OpenAI-compatible. Use your favorite OpenAI SDK or make direct HTTP requests. Get your API key from your dashboard.

Python / OpenAI SDK
# Install: pip install openai
from openai import OpenAI

client = OpenAI(
    api_key="your-api-key-here",
    base_url="https://freeaiapikey.com/v1"
)

response = client.chat.completions.create(
    model="gpt-4",  # Use any model ID from above
    messages=[
        {"role": "user", "content": "Hello!"}
    ],
    stream=True  # Optional: enable streaming
)

for chunk in response:
    print(chunk.choices[0].delta.content, end="")
cURL / HTTP
curl https://freeaiapikey.com/v1/chat/completions \
  -H "Authorization: Bearer your-api-key-here" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ],
    "stream": false
  }'

# List all available models:
curl https://freeaiapikey.com/v1/models \
  -H "Authorization: Bearer your-api-key-here"

OpenAI Compatible

Drop-in replacement for OpenAI. Works with any OpenAI SDK or tool.

Streaming Support

Full SSE streaming support for real-time responses.

Bearer Auth

Secure API key authentication via Authorization header.