/chat/completions

An open standard for chat completion APIs

Why Standardize?

Interoperability

Switch between AI providers without changing your code

Developer Experience

One API schema, multiple AI models and providers

Innovation

Enable ecosystem growth with predictable interfaces

Quick Start

curl https://api.your-provider.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $API_KEY" \
  -d '{
    "model": "your-model",
    "messages": [
      {
        "role": "user", 
        "content": "Hello, world!"
      }
    ]
  }'

Compatible Providers

OpenAI

✓ Native

Anthropic

~ Compatible

Azure OpenAI

✓ Native

Together AI

✓ Native