# o1

> OpenAI o1 is a reasoning model trained with reinforcement learning to handle complex tasks. It thinks before it answers, producing a long internal chain of thought before responding, and is well suited to math, science, coding, and multi-step analytical reasoning. Supports a 200,000-token input context with 100,000 output tokens, accepts text and image inputs, and exposes streaming, function calling, and structured outputs. Priced at $15 / $60 per 1M input/output tokens ($7.50 cached input).


**ID**: `openai/o1`  
**Creator**: OpenAI  
**Category**: text  
**Context**: 200K tokens  
**Pricing**: $15.00 / $60.00 per 1M · billed by your provider (BYOK)  
**Released**: 2024-12-05  
**Web page**: https://anyrouter.dev/model/openai/o1

**Input modalities**: text, image  
**Output modalities**: text  

**Tokenizer**: GPT

**Capabilities**: chat, reasoning, coding, streaming, function-calling, vision

## Usage

**Endpoint**: `POST https://anyrouter.dev/api/v1/chat/completions`

```bash
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "openai/o1",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'
```

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| openai-byok | $15.00/M (list) | $60.00/M (list) |
| openrouter-byok | $15.00/M (list) | $60.00/M (list) |
| router-byok | $15.00/M (list) | $60.00/M (list) |
| vercel-byok | $15.00/M (list) | $60.00/M (list) |

BYOK routes are billed by your own provider key — AnyRouter charges $0. Rates marked (list) are the provider's published list price.

## Benchmarks

- **GPQA Diamond**: 0.7
- **HLE**: 0.1
- **τ²-Bench Telecom**: 0.6
- **SciCode**: 0.4
